X11 форвардинг

Denis Gribkov dundellts2 на gmail.com
Пт Фев 22 12:50:02 GMT 2008


Доброго времени суток!

Проблема в следущем: есть две машины одна с Dapper другая Debian Etch.
Запускаю приложение на Debian такой командой:

ssh -X user на host <program>

До некоторого времени все было хорошо, все работало. Некоторое время назад,
по непонятным причинам
при вызове придожения на удаленной машине окно на Depper перестало
выводится, хотя на Debian приложение
запускается. Попробовал команду:

ssh -v -X user на host <program>

Получил:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
debug1: Sending env LANG = ru_UA.UTF-8
debug1: Sending command:
Error: Unable to initialize gtk, is DISPLAY set properly?
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 189.3 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 255

Посмотрел настройки /etc/ssh/ssh_config на DEBIAN вот его содержание:
#   ForwardAgent no
    ForwardX11 yes
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
Вроде бы все хорошо.

Погуглил, ни к чему не привело (может непралино конечно:)) Проблема в
параметре DISPLAY? Тогда как его задать , чтобы при таком вызове он
пренаправлялся на машину с Dapper автоматически?
В тоже время к другой машине с Ubuntu без проблем коннекчусь.

Что скажете?
----------- следущая часть -----------
Вложение в формате HTML было извлечено&hellip;
URL: https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20080222/8d22cec6/attachment.htm 


Подробная информация о списке рассылки ubuntu-ru