Re: [Debian] [SSH] X-Forwarding als root
scheinbar funktionert die option in der ssh_config nicht. DAs
Problem hatte ich auch immer mal wieder. Ich bin mittlerweile
dazu uebergegangen, ssh mit -X aurzurufen.
On Don, Sep 28, 2000 at 03:13:46 +0200, Pascal Tilgner wrote:
> Hallo Liste!
>
> Ich würde gerne X Programme als root ausführen, aber es passiert
> immer folgendes:
>
> pascal@debian:~ $ ssh -f root@localhost gcombust
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
>
> Gtk-WARNING **: cannot open display: :0.0
>
>
> Einloggen kann ich mich als root aber ganz normal:
> pascal@debian:~ $ ssh root@localhost
> [...]
> root@debian:~ # echo $DISPLAY
> :0.0
>
> Müsste da ":10.0" stehen?
>
> Meine /etc/ssh/sshd_config hängt dran und in der /etc/ssh/ssh_config
> steht folgendes:
> Host localhost
> ForwardAgent yes
> ForwardX11 yes
>
>
> Bitte helft mir auf die Sprünge, ich weiss nicht wo noch suchen kann.
>
> TIA,
> Pascal
> # This is ssh server systemwide configuration file.
>
> Port 22
> ListenAddress 0.0.0.0
> #ListenAddress ::
> HostKey /etc/ssh/ssh_host_key
> ServerKeyBits 768
> LoginGraceTime 600
> KeyRegenerationInterval 3600
> PermitRootLogin yes
> #
> # Don't read ~/.rhosts and ~/.shosts files
> IgnoreRhosts yes
> # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
> #IgnoreUserKnownHosts yes
> StrictModes yes
> X11Forwarding yes
> X11DisplayOffset 10
> KeepAlive yes
>
> # Logging
> SyslogFacility AUTH
> LogLevel INFO
> #obsoletes QuietMode and FascistLogging
>
> RhostsAuthentication yes
> #
> # For this to work you will also need host keys in /etc/ssh_known_hosts
> RhostsRSAAuthentication no
> #
> RSAAuthentication yes
>
> # To disable tunneled clear text passwords, change to no here!
> PasswordAuthentication yes
> PermitEmptyPasswords no
> # Uncomment to disable s/key passwords
> #SkeyAuthentication no
>
> # To change Kerberos options
> #KerberosAuthentication no
> #KerberosOrLocalPasswd yes
> #AFSTokenPassing no
> #KerberosTicketCleanup no
>
> # Kerberos TGT Passing does only work with the AFS kaserver
> #KerberosTgtPassing yes
>
> UseLogin no
>
> # since these are likely to be being handled by PAM, switch them off here
> PrintMotd no
> PrintLastLog no
> CheckMail no
---------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Body
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
---------------------------------------------------------
744 eingetragene Mitglieder in dieser Liste.
Reply to: