newbie question
Grim Reaper
grim "at" iron-fist.net
Thu, 05 Mar 1998 23:42:17 +0000
On Thu, 5 Mar 1998, Markus Wuebben wrote:
> Hi,
> sorry for this newbie question but when I start the vncserver
> no app can connect to the x server:
> Xlib: conntion to ":2.0" refused by server
> Xlib: Client is not authorized to connect to Server
well, sionce I had the same prob, and someone was kind enough to help me,
my turn to relay the message :)
> ...
> What do I have to do? (xauth generate :2 ?)
look for this line in vncserver
system("xauth -f $xauthorityFile add $host:$displayNumber .$cookie");
and add this line below it
system("xauth -f $xauthorityFile add $host/unix:$displayNumber .
$cookie");
> Markus
/////////////
/ ~ ~ \
\ O O /
___________oooO----(_)---Oooo___________________
Grimmy
oooO Oooo grim "at" iron-fist.net
( ) ( ) http://www.iron-fist.net
____\ (________) /___________________________
(_) (_/