Re: [F8] Setting up VNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel B. Thurman wrote:
John Summerfield wrote:
This is mine.
[summer@potoroo ~]$ cat /etc/sysconfig/vncservers | grep ^V
VNCSERVERS="66:root 3:summer"
VNCSERVERARGS[3]="-geometry 1280x1024"
VNCSERVERARGS[66]="-geometry 1280x1024"
[summer@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@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@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" ?
a) unimportant
b) A warning.
   Is this a problem?
Probably not.

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?

It's probable.


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

I've never used firestarter, I do use shorewall.

program does not conflict with the iptables firewall.  I have used
this program in FC4 and it worked like a charm.

Is there any public internet between client and server? If not, try with the firewall turned off.

Who are the other users on your LAN?




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux