SUMMARY - starting the vncserver - found a perl book!!

Illtud Daniel illtud.daniel "at"
Thu, 24 Jan 2002 17:04:57 +0000

Bobby Ramirez wrote:
> any ideas on my recent post? see a recap below.

> Xlib: Client is not authorizAUDIT
> 1 reXlib: connection to "unAUDIT: Wed Jan 23 15:59:05 2002: 13009 Xvnc: client 1
>  rejected from local host

That's an xauth problem. You need to give your clients
authorisation to access the Xvnc server (careful with the
client/server terminology when using X or Xvnc - the clients
are the programs that appear on your Xserver, including the
window manager - if that can't start, you get only a grey
screen). What uid is your Xvnc running as? It might be running
as root, and your Xclients won't be allowed to connect to it.
You should be running Xvnc as your own uid. See below:

> how can i tell vnc server is running? is there a process id?

You can do:

ps -aef | grep vnc

which should give you something like:

$ ps -aef | grep vnc
user1     467     1  0  2001 ?        00:14:34 Xvnc :1 -desktop X -httpd
user2     490     1  0  2001 ?        00:01:27 Xvnc :2 -desktop X -httpd
user3   30536     1  0 Jan15 ?        00:00:00 Xvnc :3 -desktop X -httpd

Which should give you the process id's for any Xvnc server sessions, and
(first column) the UIDs they're running under. If you must run
Xvnc as root for some reason, have a search for 'xauth' in the
archives for answers on getting the authorisation for your clients
(or do 'man xauth'!).

Illtud Daniel                                 illtud.daniel "at"
Uwch Ddadansoddwr Systemau                       Senior Systems Analyst
Llyfrgell Genedlaethol Cymru                  National Library of Wales
Yn siarad drosof fy hun, nid LlGC   -  Speaking personally, not for NLW
To unsubscribe, mail majordomo "at" with the line:
'unsubscribe vnc-list' in the message BODY
See also: