Wednesday, September 24, 2008

configure VNC to disaply x:0 on Fedora Core 9

i had to enable VNC x:0 on my box at home...

this is how i did it...

Don't forget to create a backup for every file that you edit/change...


i have edited "xorg.conf"

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/home/Yaniv/.vnc/passwd"

EndSection
I have added the 3 last Options:

Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/home/Yaniv/.vnc/passwd"


i had to change the PasswordFile path to my password file...


also i had to create a new section

Section "Module"
Load "vnc"
EndSection



i did a reboot and every thing worked...

the result is i can VNC to my box and every thing i do can be seen on the monitor
this is called display 0

good luck
Yaniv Ferszt

No comments: