View Full Version : fedora VNC server setup
hidepenny
4th May 2007, 12:04 PM
hi all,
i can't seem to get the vnc service to start up
i've got the following in the vnc config file and everytime i start it , it tells me failed
VNCSERVERS="1:hidepenny"
VNCSERVERARGS[1]="-geometry 800x600 -depth 16 -nohttpd"
hidepenny is my current username for loging in to fedora
i don't know what 1 means in front of hidepenny i am guessing it's the 1st instance?
is there anything wrong with the above config?
also how can i get vncviewer running? is that installed by default in fedora core 6? or do i have to download it separately?
Thanks
tw56
4th May 2007, 02:43 PM
Follow this tutorial and it will work.
http://fedoranews.org/tchung/vnc/
hidepenny
5th May 2007, 12:31 AM
Follow this tutorial and it will work.
http://fedoranews.org/tchung/vnc/
Thanks very much i've now got it started, but how do i connect to an VNC server in windows XP and vice versa?
i can't seem to be able to connect....
Thanks
Bluescreen
5th May 2007, 11:23 AM
were you able to connect? How did you get it working?
crab_com
5th May 2007, 01:17 PM
http://ultravnc.sourceforge.net/
http://www.realvnc.com/
download one of those ones for windows.
To access your Fedora machine via vnc (windows)
<enter your ip address>:1
in either ultra@vnc viewer or the real vnc viewer.
Also something to make sure of is that you have port 5901 forwarded on the iptables on fedora.
Then you should be able to login nicely.
hidepenny
6th May 2007, 02:02 AM
i downloaed the tight vnc version and it's completely stuffed up my linux box...had to rebuild it coz it required me to install XFree86 package and it just didn't work after and i couldn't even boot.
warning to everyone.
i'm now switching back to the basic vnc versioni ;)
hidepenny
6th May 2007, 03:02 AM
i can't install the rpm downloaded from real vnc it says Missing Dependency: libstdc++-libc6.2-2.so.3 is needed by package vnc
what should i do?
doesn't fedora come with its own vnc server? how do i run that?
marcrblevins
6th May 2007, 03:37 AM
I manually start my vnc in ssh and use TightVNC on my Windows boxes. I have 5901 & 5902 port open on the linux box.
I use :1 for regualar and :2 for root, if needed. In Tightvnc, I use 127.0.0.1:1 or 127.0.01:2 and tunneling.
[root@kiriyamablevins ~]# rpm -qa | grep vnc
vnc-server-4.1.2-9.fc6
[root@kiriyamablevins ~]# chkconfig --list | grep vnc
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@kiriyamablevins ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
#VNC Server
#su marc -c "vncserver -depth 24 -geometry 1280x1024"
#su marc -c "vncserver -depth 24 -geometry 1152x864"
#su marc -c "vncserver -depth 24 -geometry 1024x768"
#su marc -c "vncserver -depth 24 -geometry 800x600"
#su marc -c "vncserver -kill :1"
#su root -c "vncserver -depth 24 -geometry 1280x1024"
#su root -c "vncserver -depth 24 -geometry 1152x864"
#su root -c "vncserver -depth 24 -geometry 1024x768"
#su root -c "vncserver -depth 24 -geometry 800x600"
#su root -c "vncserver -kill :2"
[root@kiriyamablevins ~]#
hidepenny
8th May 2007, 12:48 PM
tahnks for all the suggestion, in fact i just realised that it's included in fedora core 6 all i had to do is to include it when installation and set password after. :P
tw56
8th May 2007, 01:38 PM
You can download the realvnc program for windows and connect to the fedora vnc server with it.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.