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
« September 2010 »
September
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
27282930