LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to configure tight VNC on linux (Fedora Core 6) (https://www.linuxquestions.org/questions/fedora-35/how-to-configure-tight-vnc-on-linux-fedora-core-6-a-558200/)

rickymaloy 06-01-2007 01:48 AM

How to configure tight VNC on linux (Fedora Core 6)
 
Hallo all guyz, i was installed one linux using Fedora Core 6, then another one Fedora Core 6 and one also for Windows OS which is Windows XP. I want each in everyone can communicate to each other, i know that Fedora Core 6 have already a "tightVNC" installed but my problem. When i tried to access remotely from IP (linux to linux) there is an error appeared says: "unable to connect to host: No route to host (113). Please help us guyz....

Give us a guide on this problem guyz... thanks and i will greatly appreciate your help guyz...

wayno 06-02-2007 02:46 AM

Quote:

Originally Posted by rickymaloy
Hallo all guyz, i was installed one linux using Fedora Core 6, then another one Fedora Core 6 and one also for Windows OS which is Windows XP. I want each in everyone can communicate to each other, i know that Fedora Core 6 have already a "tightVNC" installed but my problem. When i tried to access remotely from IP (linux to linux) there is an error appeared says: "unable to connect to host: No route to host (113). Please help us guyz....

Give us a guide on this problem guyz... thanks and i will greatly appreciate your help guyz...

Although VNC is installed by default, it needs a little configuration before you can use it.

Firstly:
Code:

vncpasswd
and enter a password for the current user to access VNC.
Secondly:
Code:

cd /etc/sysconfig
nano vncservers

There is an example config for you but essentially to let user 'root' access VNC with a desktop of size 1024x768, you would need the following two lines in this file:
Code:

VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768"

Then issue the command
Code:

service vncserver restart
and you're good to go.

To connect to this, in your VNC client, you need to enter the address as <ip address>:1 - the :1 signifies desktop number 1, as you have configured in your vncservers config file. In this file, you could add extra lines like:
Code:

VNCSERVERS="2:some-user"
VNCSERVERARGS[2]="-geometry 1024x768"

This would allow some-user to connect to desktop 2 by connecting to <ip address>:2

Hope this helps.

rickymaloy 06-05-2007 08:59 PM

Thank you friend...

Baran 06-07-2007 12:45 PM

VNC settings using GUI
 
If you are using KDE, you can also make the settings easily from the control center.

Just go to Remote Desktop.

I don't exactly remember Gnome but I guess there is a package that enables making VNC setting through GUI.

Good luck!


All times are GMT -5. The time now is 02:26 PM.