Greetings,

Much to my dismay, I didn't find any real documentation or FAQ describing the procedure for setting up a vnc server on a Linux machine since using the vncserver command is only 1 step. After getting bits and pieces of info from the mailing list archive and other websites, I was able to get it working in Fedora 3, mostly using the message at http://www.realvnc.com/pipermail/vnc-list/2005-March/049889.html. I recently had my department's not-so-linux experienced sys admin (at Colorado State U) upgrade to Fedora 4. I thought I went through the same steps, but even starting vncserver manually isn't working. I've already spent several days on this, and I'm lucky I still have hair! Please help.

When I first tried to run vncserver, my log in .vnc said that it needed libstdc++-libc6.2-2.so.3, so I copied that and related files from my Fedora 3 backup directory. Other steps I did (from the message link above): 1) edit 'xdm-config' and comment out the line '!DisplayManager.requestPort: 0'
2) edit 'kdmrc' and enable XDMCP on port 177 (if kde is new enough)
         a) - '/etc/kde/kdm/kdmrc'
         b) If running Gnome as your desktop, start gdmconfig, select
Expert Mode, ensure that Enable XDMCP is checked. (You must be logged in
as root) Note that remote login for root must be enabled in the
"Security" tab here if you want it.
3) edit Xaccess and uncomment the line '*        #any host can get a
login window'
         a) in  /etc/X11/xdm/ (The line should actually start with an
         asterisk.
4) other stuff to automatically start vnc servers that I'll not mention here until I get a manual start working.

If I run
vncserver :1 -geometry 1260x1000 -depth 24
as root, and then type 'ps -ef | grep vnc' I get
root 2463 1 0 15:51 ? 00:00:00 Xvnc :1 -desktop jasonpc.colostate.edu:1 () -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1260x1000 -depth 24 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -pn
root      2465     1  0 15:51 ?        00:00:00 /bin/sh /root/.vnc/xstartup
Then, 'netstat -alt' gives
tcp 0 0 *:5801 *:* LISTEN tcp 0 0 *:5901 *:* LISTEN tcp 0 0 *:6001 *:* LISTEN among other things. However, when I try to connect via vncviewer to jasonpc:1 (on the same LAN), I get: unable to connect to host: A socket was attempted to an unreachable host. (10065).

Here's the log file (I didn't always get all the HAL failure and gnome/gtk warnings - I wonder if I screwed something up while tinkering):
Xvnc Free Edition 4.1.1 - built Apr 27 2005 02:35:07
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 60802000, The X.Org Foundation


Sun Aug 28 15:51:53 2005
vncext:      VNC extension running!
vncext:      Listening for VNC connections on port 5901
vncext:      Listening for HTTP connections on port 5801
vncext:      created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
SESSION_MANAGER=local/jasonpc.colostate.edu:/tmp/.ICE-unix/2469
AUDIT: Sun Aug 28 15:52:01 2005: 2463 Xvnc: client 4 rejected from local host
Window manager warning: Log level 32: could not find XKB extension.

** (gnome-volume-manager:2608): WARNING **: hal_initialize failed: Failed to connect to sock\
et /var/run/dbus/system_bus_socket: No such file or directory

** (eggcups:2613): CRITICAL **: couldn't connect to session bus: Unable to determine the add\
ress of the message bus

(gnome-panel:2597): GConf-WARNING **: Directory `\x80p\xf9 s/panel/applets/battstat_app\
let' was not being monitored by GConfClient 0x9ee4b98

bunch of GtkDeprecationWarnings <snip>

thanks,
Jason
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to