From: Matthieu Quignard
Subject: CLISP-CLX and open-display on Solaris 2.5 OpenWindows
Date:
Message-ID: <3381C300.224C@ens-lyon.fr>
Hi,
I read on dejanews on a problem related to display opening.
I met the same problem, maybe some of you could help me how to
solve it :
I'm on "levant" (Sparc 5, with Solaris 2.5, OpenWindows).
My DISPLAY has been set to levant:0 as well.
I do have rights on the X server : it works fine when I
launch xclock, for example...
-----------------------
levant% setenv DISPLAY "levant:0.0"
levant% echo $DISPLAY
levant:0.0
levant% clx
> (sys::getenv "DISPLAY")
"levant:0.0"
> (xlib::open-display "levant" :display 0)
*** - Connection failure to X11.0 server levant display 0: Client is not
authorized to connect to Server
1. Break>
-----------------------
Obviously, it works fine when "levant" has been
added to the hosts list by :
xhost +levant
The latter solution is not very secure. Is there a nicer
way to use open-display on my machine ?
Thank you.
Matthieu QUIGNARD
Please reply by mail, since I haven't subscribed this newsgroup.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthieu QUIGNARD - Th�sard Sc. Cognitives - PhD Student Cognitive Sc.
UMR GRIC - Equipe COAST Mailto : ········@ens-lyon.fr
ENS de Lyon
46, allee d'Italie Tel : (+33 4) 72 72 85 38
69 364 LYON Cedex 07 - FRANCE Fax : (+33 4) 72 72 80 80
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COmmunication et Apprentissage des Savoirs scientifiques et Techniques