Running GUI on VPS
I'm running a CentOS VPS and would like to have the ability to run a GUI on my VPS - so I can remote desktop to it and use it as if its a local PC.
How is this possible and does anyone have any experience of doing this?
Thanks
5 Replies
If you just need to run one application once in awhile, ssh -X enables X11 forwarding (see man page for caveats). You can then just start your application, wait awhile, and it'll appear on your local X server.
@hoopycat:
For a full desktop experience, you'll probably want to use something along the lines of vncserver, which will execute an X server and allow you to connect to it via VNC.
I used VNC for a couple of years. It works, but seems a bit laggy and latent. I switched to NoMachine's NX, using freenx on Ubuntu for the server and the free NoMachine client locally . It has a quite noticeably snappier response time.
James
Does anyone have any guides on carry out this task?
I've had looked but struggled to find any which relate to CentOS 6.
Also, remember that you'll need to install some sort of desktop environment Otherwise, you'll just get a dithered grey screen with a big × cursor and maybe – maybe – an xterm. Among the "Big Three" (GNOME, KDE, and XFCE), I'd recommend XFCE. There's one XFCE machine here at the ranch, and it looks like it would comfortably fit in 512 MB. My freshly-rebooted netbook with gnome+metacity would not.
(Note: it's my wife's computer, and she closed all applications/browsers before heading out of town for the weekend… all bets are off once you start Chrome. She also didn't apt-get upgrade… or empty the dishwasher, orCLANG --- where the heck did that frying pan come from)