problem for reverse vnc on RH8.0 linux...

William Hooper whooper@freeshell.org
Fri Apr 18 16:47:01 2003


chloong said:
> william,
> i started the vncserver with display :1, then i used the vncconnect as
> follow:
>
> vncconnect -display :1 10.10.100.153

Is 10.10.100.153 the same server?  Is your vncviewer listening to the
default 5500 port?  I just tried on my RH 7.3 machine and it starts the
listener on 5501, so:

$ vncconnect -display :2 10.10.100.153:2

> there is an error at terminal :
>
> Xlib: connection to ":1.0" refused by server
> Xlib: Client is not authorized to connect to Server
> vncconnect: unable to open display ":1"

This sounds more like an xauth error?  Are you trying to start the
vncconnect at a console or a terminal in an X session?

> and in .vnc, the log file error
> message:SESSION_MANAGER=local/firewall.mylan.net:/tmp/.ICE-unix/11579
> Loaded background '0x8099560
> Xlib:  extension "RENDER" missing on display ":1.0".
> Xlib:  extension "RENDER" missing on display ":1.0".
> AUDIT: Fri Apr 11 15:27:33 2003: 11576 Xvnc: client 4 rejected from
> local host
> Xlib:  extension "RENDER" missing on display ":1.0".
>
> AUDIT: Fri Apr 11 15:27:36 2003: 11576 Xvnc: client 9 rejected from
> local host
>   Auth name: MIT-MAGIC-COOKIE-1 ID: -1

Again, looks like xauth.  Please explain exactly what you have done to
start the server, viewer, and vncconnect.  For example:

On machine A: start vncserver using "vncserver :1"
On machine B: start vncviewer in listen mode (in an existing X session)
"vncviewer -listen" (note port reported)
On machine A: start vncconnect "vncconnect -display :1 machineA:port"

-- 
William Hooper