Irix Xvnc via inetd - anybody know how?
Richard Gillman
rgi "at" itss.nerc.ac.uk
Thu Jul 11 12:16:09 2002
I'm trying to get a VNC service running on an Irix 6.5 system. But I
keep getting
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server
on the client system, and on the Irix server, in the /var/adm/X1msgs
Xvnc log file,
Getting interface configuration (4): Operation not supported on
transport endpoint
11/07/02 09:58:40 Xvnc version 3.3.XvncRelease
11/07/02 09:58:40 Copyright (C) AT&T Laboratories Cambridge.
11/07/02 09:58:40 All Rights Reserved.
11/07/02 09:58:40 See http://www.uk.research.att.com/vnc for information
on VNC
11/07/02 09:58:40 Desktop name 'x11' (ravello:1)
11/07/02 09:58:40 Protocol version supported 3.3
11/07/02 09:58:43 Protocol version 3.3
Fatal server error:
XDMCP fatal error: Session declined No valid address
I've used Jeff Vincent's "Setting up VNC on Linux" as a guide.
What I've done: in /etc/inetd.conf, added
vnc-640x480x8 stream tcp nowait root /packages/vnc/3.3.3r2/bin/Xvnc
Xvnc -inetd -query localhost -once -geometry 640x480 -depth 8
vnc-800x600x8 stream tcp nowait root /packages/vnc/3.3.3r2/bin/Xvnc
Xvnc -inetd -query localhost -once -geometry 800x600 -depth 8
vnc-800x600x16 stream tcp nowait root /packages/vnc/3.3.3r2/bin/Xvnc
Xvnc -inetd -query localhost -once -geometry 800x600 -depth 16
(run as root so it has permissions to write to its log file) and
/etc/services,
vnc-640x480x8 5950/tcp # VNC
vnc-800x600x8 5951/tcp
vnc-800x600x16 5952/tcp
and restarted inetd.
All this works fine on Solaris.
I've checked /var/X11/xdm/xdm-config to see if there is a line
DisplayManager.requestPort: 0 to comment out, there isn't. Xaccess has
"* # any host".
I found a suggestion to modify Xservers, add the lines
1: local /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot
sgilightblue -cursorFG red -cursorBG white
2: local /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot
sgilightblue -cursorFG red -cursorBG white
..this just confused xdm, got error messages in SYSLOG when I restarted,
the error message in X1msgs didn't change.
So, has anyone had this "Session declined No valid address" problem, how
did you get over it? Is there anything else I can try.
I've seen this question asked before, but haven't seen any answers.
tia, Dick
--
Richard Gillman
iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339