Well,
You can do the same thing sax2 used to do, but do it the hard way - edit, as root, the /etc/X11/xorg.conf file; make a backup first!!!:
In Section âServerLayoutâ, you must have the following:
InputDevice "Keyboard[2]" "ExtraKeyboard"
InputDevice "Mouse[3]" "ExtraPointer"
Option "VNC" "3 2"
(note the [2] and [3] might be need to be changed if they already exist.)
In Section âModuleâ, you must have:
Load "vnc"
You must have these entire sections added (alter the Keyboard[2] and Mouse [3] to match above.):
Section "InputDevice"
Identifier "Keyboard[2]"
Driver "rfbkeyb"
Option "InputFashion" "VNC"
EndSection
Section "InputDevice"
Identifier "Mouse[3]"
Driver "rfbmouse"
Option "InputFashion" "VNC"
EndSection
And have this added to Section âScreenâ:
Option "usevnc" "yes"
Option "rfbauth" "/root/.vnc/passwd"
Then, as root, you must set your VNC password by typing in a shell:
vncpasswd
If you donât want a password, then remove this line you just added to the xorg.conf:
Option "rfbauth" "/root/.vnc/passwd"
Lastly, you must restart the X server for the changes to take place. Oh yeah, make sure you have port 5900 open in your firewall.
I hope this is what you wanted,
g