connecting to VNC with a non root user

Maracineanu, Dan Dan.Maracineanu "at" rompetrol.com
Wed Jan 14 16:07:00 2004


Hi,

I've tried this and the result is the following:

Logon as appdev
which vncserver -> /usr/bin/X11/vncserver
vncserver :5

You will require a password to access your desktops.

Password: xxx
Verify:   xxx

exec(): 0509-036 Cannot load program xauth because of the following errors:
        0509-130 Symbol resolution failed for xauth because:
        0509-136   Symbol XSecurityGenerateAuthorization (number 58) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSecurityFreeXauth (number 59) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSecurityAllocXauth (number 60) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSecurityQueryExtension (number 61) 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.
exec(): 0509-036 Cannot load program xauth because of the following errors:
        0509-130 Symbol resolution failed for xauth because:
        0509-136   Symbol XSecurityGenerateAuthorization (number 58) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSecurityFreeXauth (number 59) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSecurityAllocXauth (number 60) is not exported from
                   dependent module /udev/devora/8.0.6/network/jre11/lib/aix/native_threads/libXext.a(shr.o).
        0509-136   Symbol XSecurityQueryExtension (number 61) 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.

New 'X' desktop is aix3:5

Creating default startup script /home/appdev/.vnc/xstartup
Starting applications specified in /home/appdev/.vnc/xstartup
Log file is /home/appdev/.vnc/aix3:5.log

---------------------
# try to run xterm

DISPLAY=aix3:5.0
xterm

xterm Xt error: Can't open display:

# When I connect with vncviewer to aix3:5 I get a grey screen with a cross cursor
# From aix3 console I've run xhost + but no result




> -----Original Message-----
> From: James Weatherall [mailto:jnw "at" realvnc.com]
> Sent: Wednesday, January 14, 2004 5:53 PM
> To: Maracineanu, Dan; vnc-list "at" realvnc.com
> Subject: RE: connecting to VNC with a non root user
> 
> 
> Dan,
> 
> You're creating the Xvnc server as root, rather than as the 
> user who will
> actually be using it.  Log on as user apps and create the 
> server and all
> should work as expected.
> 
> Cheers,
> 
> Wez @ RealVNC Ltd.