connecting to VNC with a non root user

Maracineanu, Dan Dan.Maracineanu "at" rompetrol.com
Wed Jan 14 16:26:02 2004


this is the log file it could help


appdev "at" aix3:/home/appdev/.vnc>more aix3:5.log
------------------------------------------------------------------
14/01/04 17:57:07 Xvnc version 3.3.XvncRelease
14/01/04 17:57:07 Copyright (C) AT&T Laboratories Cambridge.
14/01/04 17:57:07 All Rights Reserved.
14/01/04 17:57:07 See http://www.uk.research.att.com/vnc for information on VNC
14/01/04 17:57:07 Desktop name 'X' (aix3:5)
14/01/04 17:57:07 Protocol version supported 3.3
14/01/04 17:57:07 Listening for VNC connections on TCP port 5905
14/01/04 17:57:07 Listening for HTTP connections on TCP port 5805
14/01/04 17:57:07   URL http://aix3:5805
Xlib: connection to "aix3:5.0" refused by server
Xlib: Client is not authorized to connect to Server
1356-605 xrdb: Can't open display 'aix3:5'
Xlib: connection to "aix3:5.0" refused by server
Xlib: Client is not authorized to connect to Server
1356-265 xsetroot:  Unable to open display:  aix3:5.
Xlib: connection to "aix3:5.0" refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: aix3:5
Xlib: connection to "aix3:5.0" refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: aix3:5
Xlib: connection to "aix3:5.0" refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: aix3:5
exec(): 0509-036 Cannot load program twm because of the following errors:
        0509-130 Symbol resolution failed for twm because:
        0509-136   Symbol XSyncGetPriority (number 191) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSyncSetPriority (number 192) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSyncQueryExtension (number 193) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

14/01/04 17:57:23 Got connection from client 10.0.0.242
14/01/04 17:57:23 Protocol version 3.3
14/01/04 17:57:27 Pixel format for client 10.0.0.242:
14/01/04 17:57:27   8 bpp, depth 8
14/01/04 17:57:27   true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
14/01/04 17:57:27 rfbProcessClientNormalMessage: ignoring unknown encoding type 16
14/01/04 17:57:27 Using hextile encoding for client 10.0.0.242
14/01/04 17:57:27 Pixel format for client 10.0.0.242:
14/01/04 17:57:27   32 bpp, depth 24, little endian
14/01/04 17:57:27   true colour: max r 255 g 255 b 255, shift r 0 g 8 b 16
14/01/04 17:57:27 Using hextile encoding for client 10.0.0.242
14/01/04 17:57:27 rfbProcessClientNormalMessage: ignoring unknown encoding type 16
--------------------------------------------------------------

> -----Original Message-----
> From: James Weatherall [mailto:jnw "at" realvnc.com]
> Sent: Wednesday, January 14, 2004 6:11 PM
> To: Maracineanu, Dan; vnc-list "at" realvnc.com
> Subject: RE: connecting to VNC with a non root user
> 
> 
> Dan,
> 
> Those errors look like something to do with the Java runtime, 
> not to do with
> VNC.
> Who are you logged in as when you try to run the xterm?
> 
> Cheers,
> 
> Wez @ RealVNC Ltd.