vicker313 tech blog

October 1, 2009

Setup VNC Server at Linux

Filed under: Linux — Tags: , — vicker313 @ 8:00 am

Steps to setup VNC Server at Linux:

  1. Install VNC Server (the name of the program might be different):
    1. Fedora (RPM): yum install vnc-server
    2. Ubuntu (DEB): sudo apt-get install vnc4server
  2. After install, start VNC Server(it will ask you to enter a password):
    vncserver :1
  3. Then stop VNC Server:
    vncserver -kill :1
  4. Edit ~/.vnc/xstartup (it will not appear if you didn’t start VNC Server once). Uncomment the following 2 lines  to enable the Windows X in VNC Server (the lines might be different):
    # exec /etc/X11/xinit/xinitrc
  5. Start again VNC Server:
    vncserver :1
  6. In another machine, use your favorite VNC Client Program to access VNC Server:
    Display is the number after the colon you set at VNC Server. For example:

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: