VNC and Red Hat 7.3 - problems

wargod

Member
Jan 2, 2000
36
0
0
I'm having a hell of a time getting VNC to run under Red Hat 7.3. I admit i'm a bit of a newbie but i've tried scouring the net for answers and have found no solution. Here's the errors I'm getting when I try to load it, as well as the logfile created. According to the logfile a socket connection cannot be created. If someone could help me i'd appreciate it.

When loading...
-----------------------------
xauth (argv):1: bad display name "imageserver:1" in "add"

But it seems to load after this message anyway...stating "new X display at imageserver:1"


Log file...
-----------------------------
21/05/02 14:04:24 Xvnc version 3.3.3r2+tight1.2.2
21/05/02 14:04:24 Copyright (C) AT&T Laboratories Cambridge.
21/05/02 14:04:24 All Rights Reserved.
21/05/02 14:04:24 See http://www.uk.research.att.com/vnc for information on VNC
21/05/02 14:04:24 Desktop name 'X' (imageserver:1)
21/05/02 14:04:24 Protocol version supported 3.3
21/05/02 14:04:24 Listening for VNC connections on TCP port 5901
21/05/02 14:04:24 Listening for HTTP connections on TCP port 5801
21/05/02 14:04:24 URL http://imageserver:5801
rm: cannot remove `.' or `..'
rm: cannot remove `.' or `..'
DCOPServer up and running.
Session management error: Could not open network socket
Session management error: Could not open network socket
Session management error: Could not open network socket
Server has no DPMS extension
Mutex destroy failure: Device or resource busy
There are already artsd objects registered, looking if they are active...

rm: cannot remove `.' or `..'
DCOPServer up and running.
Session management error: Could not open network socket
Session management error: Could not open network socket
Session management error: Could not open network socket
Server has no DPMS extension
Mutex destroy failure: Device or resource busy
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
If you are sure it is not already running, remove the relevant files:

/tmp/mcop-root/Arts_SoundServerV2
/tmp/mcop-root/Arts_SoundServer
/tmp/mcop-root/Arts_SimpleSoundServer
/tmp/mcop-root/Arts_PlayObjectFactory
/tmp/mcop-root/Arts_AudioManager

Session management error: Could not open network socket

Session management error: Could not open network socket
Mutex destroy failure: Device or resource busy
Session management error: Could not open network socket
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Session management error: Could not open network socket
Mutex destroy failure: Device or resource busy
Can't get own host name. Your system is severely misconfigured

QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/DigitalClock) Negative sizes (2,-4) are not p$
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/QLabel) Negative sizes (49,-4) are not possib$
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/DigitalClock) Negative sizes (2,-4) are not p$
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/QLabel) Negative sizes (49,-4) are not possib$
QObject::connect: No such slot KWrited::block_in(const char*,int)
QObject::connect: (sender name: 'unnamed')

QObject::connect: No such slot KWrited::block_in(const char*,int)
QObject::connect: (sender name: 'unnamed')
QObject::connect: (receiver name: 'unnamed')
ICE default IO error handler doing an exit(), pid = 2477, errno = 2
ICE default IO error handler doing an exit(), pid = 2475, errno = 0
ICE default IO error handler doing an exit(), pid = 2479, errno = 0
ICE default IO error handler doing an exit(), pid = 2482, errno = 0
ICE default IO error handler doing an exit(), pid = 2487, errno = 0
ICE default IO error handler doing an exit(), pid = 2489, errno = 0
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
KLauncher: Exiting on signal 1
sound server terminated
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
 

MCS

Platinum Member
Feb 3, 2000
2,519
0
76
Mine gives that message always too, but it still works. Have you tried connecting to the vncserver from the other PC yet?
 

wargod

Member
Jan 2, 2000
36
0
0
Well you are right, I tried it after for the hell of it and it does work but now i'm running into another problem. When I load the vncserver it kills web browsing....I can still access the network through a shell...so i'm assuming this is a problem with the kde desktop environment...since just logging out and back in fixes the problem..of course when you load vncserver again it bombs out...
 

Travail

Member
Apr 6, 2002
26
0
0
Would you post your ~/.vnc/xstartup ? That might be helpful.

Also, are you connecting to the system with the vncconnect/vncviewer program, or through a web browser aimed at the port?
 

wargod

Member
Jan 2, 2000
36
0
0
here's teh ~/.vnc/xstartup:
----------------------------------
#!/bin/sh

# Red Hat Linux VNC session startup script
exec /etc/X11/xinit/xinitrc

and the xinitrc:
----------------------------------
#!/bin/sh
# (c) 1999, 2000 Red Hat, Inc.

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
userxkbmap=$HOME/.Xkbmap

sysresources=/etc/X11/Xresources
sysmodmap=/etc/X11/Xmodmap
sysxkbmap=/etc/X11/Xkbmap

# merge in defaults
if [ -f "$sysresources" ]; then
xrdb -merge "$sysresources"
fi

if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi

# merge in keymaps
if [ -f "$sysxkbmap" ]; then
setxkbmap `cat "$sysxkbmap"`
XKB_IN_USE=yes
fi

if [ -f "$userxkbmap" ]; then
setxkbmap `cat "$userxkbmap"`
XKB_IN_USE=yes
fi

if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Con$
xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /et$
if [ -n "$xkbsymbols" ]; then
setxkbmap -symbols "$xkbsymbols"
if [ -n "$xkbsymbols" ]; then
setxkbmap -symbols "$xkbsymbols"
XKB_IN_USE=yes
fi
fi
fi

# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
if [ -f "$sysmodmap" ]; then
xmodmap "$sysmodmap"
fi

if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
fi

unset XKB_IN_USE
unset XKB_IN_USE

# The user may have their own clients they want to run. If they don't,
# fall back to system defaults.

# run all system xinitrc shell scripts.
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" ]; then
. "$i"
fi
done

if [ -f $HOME/.Xclients ]; then
exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
exec /etc/X11/xinit/Xclients
else
# failsafe settings. Although we should never get here
else
# failsafe settings. Although we should never get here
# (we provide fallbacks in Xclients as well) it can't hurt.
xclock -geometry 100x100-5+5 &
xterm -geometry 80x50-50+150 &
if [ -x /usr/bin/netscape -a -f /usr/share/doc/HTML/index.html ]; then
netscape /usr/share/doc/HTML/index.html &
fi
if [ -x /usr/X11R6/bin/fvwm2 ]; then
exec fvwm2
else
exec twm
fi
fi



I was using the vncviewer to access the computer, but even without launching a viewer the system still encounters problems. Any help is appreciated here.