Re: sudo & X
Le Mon 30/12/2002, Frédéric Bothamy disait > Euh, idée "con" effectivement, enfin, pas terrible en tout cas ... > Pourquoi ne pas utiliser des solutions aussi faciles et plus > sécurisées (comme sudo par exemple) ? > > Pour avoir l'explication, voir le Remote-X-Apps mini-HOWTO, notamment > dans la section 6.1 : "Xhost is a very insecure mechanism." Autres solutions : utilise calife, ou mettre une variable d'environnement XAUTHORITY à /home/user/.Xauthority -- Erwan
Re: sudo & X
* OLIVIER LAMBERT <[EMAIL PROTECTED]> [2002-12-30 19:46] : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - --> > Xlib: connection to ":0.0" refused by server > - --> > Xlib: Client is not authorized to connect to Server > - --> > kded: cannot connect to X server :0.0 > - --> > Comment puis-je rétablir la situation? > - --> > - --> plutôt que su, faire ssh [EMAIL PROTECTED] > > Quel avantage, à part de faire de la surcharge CPU de ssh par rapport à > su ??? > > sinon, idée con, mais essaye d'autoriser root à utiliser l'affichage grace à > xhost... Euh, idée "con" effectivement, enfin, pas terrible en tout cas ... Pourquoi ne pas utiliser des solutions aussi faciles et plus sécurisées (comme sudo par exemple) ? Pour avoir l'explication, voir le Remote-X-Apps mini-HOWTO, notamment dans la section 6.1 : "Xhost is a very insecure mechanism." Fred
Re: sudo & X
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --> > Xlib: connection to ":0.0" refused by server - --> > Xlib: Client is not authorized to connect to Server - --> > kded: cannot connect to X server :0.0 - --> > Comment puis-je rétablir la situation? - --> - --> plutôt que su, faire ssh [EMAIL PROTECTED] Quel avantage, à part de faire de la surcharge CPU de ssh par rapport à su ??? sinon, idée con, mais essaye d'autoriser root à utiliser l'affichage grace à xhost... -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 -- QDPGP 2.65 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBPhCUlm5Gr56w0qKDEQIDwgCdHkTg1STPEzdvMeLsl2BJz9aU22gAoPuO kHs1KGo17empBwiSvt0AIgsf =EvQ9 -END PGP SIGNATURE-
Re: sudo & X
Le Sun 29 Dec 2002 à 01:19:15AM +0100, zelos a écrit: > Bonsoir, > > Lorsque je suis connecté en atnt qu'utilisateur normal, > je peux m'identifier en tant que root avec 'su' et je > pouvais ensuite lancer n'importe quelle application en > mode graphique(ex: cdbakeoven) sans problèmes. > Depuis ce matin, voilà ce que j'obtiens: > > _KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root > DCOPServer up and running. > trying to create local folder: File exists > trying to create local folder: File exists > trying to create local folder: File exists > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > kded: cannot connect to X server :0.0 > DCOP aborting call from 'anonymous-2054' to 'kded' > ERROR: KUniqueApplication: DCOP communication error! > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > kdeinit: Can't connect to the X Server. > kdeinit: Might not terminate at end of session. > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > cdbakeoven: cannot connect to X server :0.0 > ERROR: KUniqueApplication: Registering failed! > ERROR: KUniqueApplication: DCOP communication error! > > Comment puis-je rétablir la situation? plutôt que su, faire ssh [EMAIL PROTECTED] -- Dominique Cazeaux
sudo & X
Bonsoir, Lorsque je suis connecté en atnt qu'utilisateur normal, je peux m'identifier en tant que root avec 'su' et je pouvais ensuite lancer n'importe quelle application en mode graphique(ex: cdbakeoven) sans problèmes. Depuis ce matin, voilà ce que j'obtiens: _KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root DCOPServer up and running. trying to create local folder: File exists trying to create local folder: File exists trying to create local folder: File exists Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server kded: cannot connect to X server :0.0 DCOP aborting call from 'anonymous-2054' to 'kded' ERROR: KUniqueApplication: DCOP communication error! Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server kdeinit: Can't connect to the X Server. kdeinit: Might not terminate at end of session. Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server cdbakeoven: cannot connect to X server :0.0 ERROR: KUniqueApplication: Registering failed! ERROR: KUniqueApplication: DCOP communication error! Comment puis-je rétablir la situation?