VNC Under Fedora Core 5

Discussion in 'Installation/Configuration' started by asyadiqin, Aug 13, 2006.

  1. asyadiqin

    asyadiqin New Member

    Have anyone successfully configured VNC under FC5? I need help configuring VNC on my server. I can't seem to find any HOWTOs or guides on how to configure the VNC server.

    Where I can I download the VNC clients for Windows and Mac? Any tips, pointers, assistance, etc.. is greatly appreciated.

    Regards,

    A. Syadiqin
     
  2. Destroyer

    Destroyer New Member

    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
     

Share This Page