connecting to VNC with a non root user

Maracineanu, Dan Dan.Maracineanu "at"
Wed Jan 14 14:48:01 2004


I would like to start an application on serverX:2 using VNC.
The application owner is a nonroot user (apps).
I've logged on as root on serverX
start vncserver :2
xhost +

logon on serverX as apps
try to launch xterm and receive the following error message:
Xlib: connection to "serverX:2.0" refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: serverX:2

What could be wrong?
server IBM AIX 4.3.3

Any suggestions will be apreciated.
Thak you