This blog contains some important fundae for linux users, which may look very trivial, but are very useful.

vncserver on display/desktop 0

Edit /etc/X11/xorg.conf (for Xorg server) or /etc/X11/XF86Config for the old XFree server.

1) Search for Section "Screen"
  • Add the following three lines in this section
  • Option "SecurityTypes" "VncAuth"
    Option "UserPasswdVerifier" "VncAuth"
    Option "PasswordFile" "/home/yourusername/.vnc/passwd"
  • Change yourusername to your user name
2) Search for Section "Module"
  • Add following line to this section
  • Load "vnc"
3) Goto your home directory (cd /home/yourusername)
  • run vncpasswd command (vncpasswd)
4) Restart X (press ctrl-alt-backspace)

No comments: