View Single Post
  #2  
Old 14th August 2006, 11:57
Destroyer Destroyer is offline
Junior Member
 
Join Date: Jul 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Basic VNC How to FC5

I have a working VNC setupon FC5:

Here is where to downlaod windows & Mac clients
http://www.realvnc.com/
No need for server side it is installed by default in FC5,

Logon to FC5 using the logon you wish to access via VNC
Edit /etc/sysconfig/vncservers and add these lines

VNCSERVERS="3:$username" (***change $username to your logon name***)
VNCSERVERARGS[3]="-geometry 1024x768 -depth 16"

If you wish to give more users the ability to connect via VNC add them like this

VNCSERVERS="2:$username 3:$username3 4:$username4"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 16"
VNCSERVERARGS[3]="-geometry 800x600 -depth 8"
VNCSERVERARGS[4]="-geometry 1024x768 -depth 16"

As you may have noticed you can adjust screen resolution perconnection here!
Note: the number assigned to thge desktop is relative to the connection port on the server so if you where $username3 you would set VNC client to connect on port 5903

Now in terminal under the users logon type # vncpasswd enter required Note: This password this is different to the FC5 password

Then goto the users home directory /home/leopard/.vnc and edit the xstartup script and uncomment these lines (remove hashes infront of the line)

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Then set the vncserver status o to start service at boot by this command

# chkconfig vncserver on

then restart vncserver with this command

# service vncserver restart

Make sure that your required ports are open and then you should be able to connect.

Note: dont forget your port number when connecting with vnc client
__________________
Hope this helps

Destroyer
http://www.lacomputers.com.au
Reply With Quote