Xhost [Was: Que de pb (vidéo, son...)]
Salut,
Le 28/07/03 00:27, Jean-Paul Lacquement a écrit tout plein de choses, dont :
> Sinon, il y a
> xhost +
> pour autoriser les utilisateurs à accéder à X...
Tiens, je n'y arrives pas ??
[moku@navi:~]$ xhost
access control enabled, only authorized clients can connect
INET:localhost
INET:navi
[moku@navi:~]$ echo $DISPLAY
:0.0
[moku@navi:~]$ su -
Password:
[root@navi:~]# echo $DISPLAY
[root@navi:~]# export DISPLAY=localhost:0
[root@navi:~]# echo $DISPLAY
localhost:0
[root@navi:~]# gcombust
Gtk-WARNING **: cannot open display: localhost:0
[root@navi:~]# export DISPLAY=:0
[root@navi:~]# gcombust
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Mais pourquoi est-il aussi méchant ?
Au passage, un `xhost +root` ça veut pas :
[moku@navi:~]$ xhost +root
xhost: bad hostname "root"
Et donc comment limiter à certains utilisateurs seulement (quand ça
marchera, évidemment) et non pas à toute une machine ?
(je précise que j'ai feuilleté le man et pas trouvé grand chose de
concluant (et pourtant il doit bien y avoir ce qu'il faut ! ^_^; ))
Merci :)
--
moku
<moku@free.fr> http://www.projectshirow.net/
Je vends ! -> http://moku.free.fr/a_la_vente.html
Reply to:
- Follow-Ups:
- Re: Xhost
- From: francois@tourde.org (François TOURDE)