Re: Lancer des applications X sous différent utilisateur
On Sun, 07 Dec 2003 11:56:53 +0100
Harobed <mailing@harobed.org> wrote:
> Le dim 07/12/2003 à 11:43, Igor Genibel a écrit :
> > * Harobed <mailing@harobed.org> [2003-12-07 11:29:38 +0100]:
> >
> > > Bonjour,
> >
> > Salut,
> >
> > http://abul.org/article86.html
> Logiquement avec xhost +localhost tout les utilisateurs de ma machine
> peuvent se connecter à mon server X ? Mais là ce n'est pas le cas.
>
> ma manip
>
> harobed@hiboux:~$ xhost +localhost
> localhost being added to access control list
> harobed@hiboux:~$ su
> Password:
> hiboux:/home/harobed# export DISPLAY=":0.0"
> hiboux:/home/harobed# xterm
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xterm Xt error: Can't open display: :0.0
>
> Ce n'est pas normal ! Non ?
Il faut vérifier que X n'est pas lancé avec l'option -nolisten. Cf
/etc/X11/xdm/Xservers ou /etc/X11/init/xserverrc.
(sinon grep -r -l nolisten /etc/X11/* )
François Boisson
Reply to: