Originally posted by Demonbane
I'll show you something nifty, this does not require KDE to work either.
Grab the Linux binary release of vnc from
extract and copy vnc.so to /usr/X11R6/lib/modules/extensions/
create a vnc passwd file using vncpasswd
open up your X config file (/etc/X11/XF86config(-4) or xorg.conf)
Under Section "Module" add
Under Section "Screen" add
Option "passwordFile" "/root/.vnc/passwd"
(change the path to wherever your password file is)
if you don't want password authentication for whatever reason add this line instead:
Option "securityTypes" "none"
restart X, now you can directly control the X session using vnc
I got it workin thanx to you Demonbane! Previously VNC said "connection refused port 10021" or something and now im connected from home through CiscoVPN to college network and through VNC to my debian desktop, EXACTLY the same as it is supposed to be. Id like to only add to you post, that i had to allow in /etc/gdm/gdm.conf in [Security] AllowRemoteRoot=true to GDM let me in (KDM,XDM, whateverDM). But im lamer and im using usually root account.
Thanx two times!