View Full Version : Tiger VNC Server + Fedora 16 + KDE

23rd December 2011, 05:57 PM
After many tries and countless hours of enjoyment:

Setting up Fedora 16 / Tigervnc on a computer that can not run the default build: Please note there is NO security evolved with this "guide", my LAN is behind a firewall protected from the world...

Install the KDE spin
Yum update
Login as root
I installed webmin with the webmin repo, then the network group and the Postgres SQL server.

yum install tigervnc-server tigervnc-server-module
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
nano /etc/systemd/system/vncserver@:1.service

Edit the [Service] Section adding your user name and screen #

ExecStart=/usr/bin/vncserver :1 -geometry 1280x1024 -depth 16 -securitytypes=none -fp /usr/share/X11/fonts/misc
ExecStop=/usr/bin/vncserver -kill :1

Exit nano and save the file

systemctl eneable vncserver@:1.service

Check if you have fonts loaded
ls /usr/share/X11/fonts/misc
If there are no fonts or you get a directory error
yum install xorg-x11-font*
Check if you have fonts loaded
ls /usr/share/X11/fonts/misc
You should see fonts now

Setup your directory and password

Start the VNC server
systemctl start vncserver@:1.service

If you get
Dec 23 08:38:05 lbox vncserver[4563]: vncserver: geometry 1280X1024 is invalid

nano /etc/systemd/system/vncserver@:1.service
Edit the 1280X1024 and change the X to lower case x
Save the file and run
systemctl --system daemon-reload

If you get another fail message
grep vnc /var/log/messages

Install the client software and try to connect, if you don't get connected check the port settings
netstat -lnt | grep 590*

I started on 5902 from my Centos 6.1 install but now it is 5901 with this version
UPDATE: VNC listens on port 5900 plus the number of the display

My current Linux box is an Intel D856GLC mother board dated 2003 with an AGP video slot and built in graphics controller, the graphics controller is not supported by the default spin. The Gnome spin would start to load then tell me I had a drive failure, so I tried the Xfce spin with the same results and then the KDE spin, the KDE spin finished the install.

Sorry about the cross posting.... :blink:

I did a yum update and after the reboot vncserver would not start:

grep vnc /var/log/messages

Dec 25 09:44:54 lbox vncserver[833]: Warning: lbox:1 is taken because of /tmp/.X11-unix/X1

the fix:
rm -f /tmp/.X11-unix/X1