connecting to VNC with a non root user

Corné Beerse cbeerse "at"
Wed Jan 14 17:03:00 2004

Maracineanu, Dan wrote:
> Hi,
> 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 +

try `xhost -display :2 +`

Or do `Xvnc -help` and pick the security options, you can provide them to the 
vncserver script or hack them in there.

Or do the `xhost +` on a terminal inside the vnc session.

> logon on serverX as apps
> DISPLAY=serverX:2.0
> 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
> _______________________________________________
> VNC-List mailing list
> VNC-List "at"
> To remove yourself from the list visit: