I am running a centos7 server and i was wondering if there was a way to install some packages to run a window manager with a graphical interface when i ssh into the server.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
To run a graphical interface, you’ll want to connect over VNC with a client like TightVNC or RealVNC. First, lets get everything installed and set up on the server.
First we’ll install the GNOME desktop:
sudo yum groupinstall "GNOME Desktop"
Next we’ll install the VNC server:
sudo yum install tigervnc-server
The next step is to setup VNC to start at boot and create a user to login with. Copy the systemd service file:
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
Now create a new user:
adduser vncuser
Now edit /etc/systemd/system/vncserver@:1.service and replace <USER> with vncuser
Finally start the server:
su - vncuser
vncserver
exit
systemctl enable vncserver@:1.service
systemctl start vncserver@:1.service
You should now be able to connect to the server using a VNC client at your.ip.address:5901
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.