Welcome to the most active Linux Forum on the web.
Go Back > Blogs > paulsm4
User Name


Rate this Entry

Remote access to Linux desktop from Windows

Posted 08-01-2010 at 05:56 PM by paulsm4

I have a Centos 5.4 VPS - command-line only, no Linux desktop, no GUI.

No problem. I just set up VncServer, and I can now remote in to a complete, fully functional Linux desktop from Windows any time!

1. Install X VNC server and dependencies (root):
yum install vnc vnc-server
yum groupinstall xfce

2. Enable per-user login (user "mo"):
<= Creates $HOME/.vnc/* config files

3. Manual configuration:
(root) vi /etc/sysconfig/vncservers =>
VNCSERVERS="1:mo 2:curly 3:larry ..."
VNCSERVERARGS[1]="geometry 1024x768"

(user) vi $HOME/.vnc/xstartup =>
exec /usr/bin/xfce4-session &

4. (root/server) /sbin/service vncserver start

5. (user/client) VNCViewer, (user= mo)

xfce makes a good, lighter-weight alternative to KDE or Gnome. You can use xfce for a remote desktop INDEPENDENT of using KDE or Gnome for your standard desktop!
Posted in Uncategorized
Views 11062 Comments 1
« Prev     Main     Next »
Total Comments 1


  1. Old Comment
    I have a mint machine I dont have interenet access on.
    How would I get this all setup from a usb drive created on my internet connected windows 7 machine?

    I'm new at all this so I might also need some aid understanding terminal commands.

    Long story short, the mint machine used to be a nice windows server, Wizzards made it all easily compatible. But I lost my O/S drive so here I am starting over with Mint 9

    because this was a headless tower (no video out or keyboard/mouse), I dont have the accessories to run two machines simuntniously, so I need a remote desktop connection. Every time I need an answer to this, I have to unplug everything, plug everythng back into windows and reboot to get the answer on the internet, then reverse all cables and try the mint machine again. I"M GOING NUTS..

    Posted 12-09-2010 at 07:42 PM by dbird1983 dbird1983 is offline


All times are GMT -5. The time now is 11:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration