[F8] Setting up VNC

Daniel B. Thurman dant at cdkkt.com
Thu Dec 13 16:26:32 UTC 2007


John Summerfield wrote:
>This is mine.
>[summer at potoroo ~]$ cat /etc/sysconfig/vncservers | grep ^V
>VNCSERVERS="66:root 3:summer"
>VNCSERVERARGS[3]="-geometry 1280x1024"
>VNCSERVERARGS[66]="-geometry 1280x1024"
>[summer at potoroo ~]$
>
>It works fine, I've done quite a bit logged in (from an SL5 system) as 
>root (using KDE), and I've just verified that logging in as 
>summer(twm) 
>works.
>
>To try with KDE:
>[root at potoroo ~]# cat .vnc/xstartup
>#!/bin/sh
>
># Uncomment the following two lines for normal desktop:
># unset SESSION_MANAGER
># exec /etc/X11/xinit/xinitrc
>
>[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
>[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
>xsetroot -solid grey
>vncconfig -iconic &
>xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
>exec startkde
>twm &
>[root at potoroo ~]#
>

I have, for xstartup:
================================================================
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
================================================================

I have for /etc/sysconfig/vncserver:
================================================================
VNCSERVERS="66:root 3:dant"
VNCSERVERARGS[3]="-geometry 1280x1024"
VNCSERVERARGS[66]="-geometry 1280x1024"
================================================================

My vnc logs  show:
================================================================
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 10300000, The X.Org Foundation


Thu Dec 13 08:04:47 2007
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5903
 vncext:      Listening for HTTP connections on port 5803
 vncext:      created VNC server for screen 0
Could not init font path element unix/:7100, removing from list!
Warning: Cannot convert string "nil2" to type FontStruct
================================================================

1) Why am I getting the unix/:7100 error and what is "nil2" ?
   Is this a problem?

2) When I try to connect using vncviewer on my windows box and
   use the entry: linux:5903:3, I get the error:
   Failed to connect to server: linux:3

3) Is it possible that I am being firewalled blocked or something?

One other thing.  Since I had a heckuva time trying to figure out
how to open the vnc ports using iptables, I opted to use the
firestarter package and open the vnc ports there.  I hope this
program does not conflict with the iptables firewall.  I have used
this program in FC4 and it worked like a charm.

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007 5:05 PM
 




More information about the fedora-list mailing list