> try `xhost -display :2 +` [EMAIL PROTECTED]:/>xhost -display :2 + 1346-219 xhost: bad hostname "display" 1346-225 xhost: unknown address family "" 1346-219 xhost: bad hostname ":2"
> Or do the `xhost +` on a terminal inside the vnc session. In VNC viewer window: [EMAIL PROTECTED]:/etc>xhost + access control disabled, clients can connect from any host 1346-217 xhost: must be on local machine to enable or disable access control. So in other words it doesn't work > -----Original Message----- > From: Corni Beerse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 14, 2004 7:03 PM > To: Maracineanu, Dan > Cc: [EMAIL PROTECTED] > Subject: Re: connecting to VNC with a non root user > > > 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 > > [EMAIL PROTECTED] > > To remove yourself from the list visit: > > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
