Personal tools
You are here: Home FAQ How to ... Connect to Linux remote desktop via VNC

Connect to Linux remote desktop via VNC

by Kuiyu Chang last modified Aug 25, 2008 04:42 PM

You can maintain a virtual graphical desktop session on one of our KRG servers, i.e. you can logout and login the next day to find the exact same desktop (need VPN for connecting to NTU machines from outside) from anywhere in the world, with VNC installed.

ssh to the linux server:

  1. modify ~/.vnc/xstartup to include startup programs like xterm and window managers

  2. Start VNC server instance:

    vnc4server
    
  3. enter your password

  4. Check which port number (590x) vnc4server is running at by typing:

    ps aux |grep vnc
    
  5. logout from Server

On your local PC (windows,linux)

  1. Run the vnc4viewer GUI

  2. Enter the hostname/ipaddress of the linux server, followed by the port number, e.g.

    liubei.dyndns.org:5901

  3. Enter the same password you set in step 3

  4. Run a window manager such as twm, fvwm, wmaker, if you did not specify it propery in step 1 on the linux server.

Search online for more info on VNC (Virtual Network Computing).

Document Actions
« January 2009 »
January
MoTuWeThFrSaSu
1234
567891011
12131415161718
19202122232425
262728293031