LINUX.ORG.RU

RuntimeError: Unable to initialize GTK: could not open display

 , ,


1

1

Не получается запустить virtual manager по ssh

virt-manager --debug отвечает

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 381, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 293, in main
    raise RuntimeError(_("Unable to initialize GTK: %s") % gtk_error)
RuntimeError: Unable to initialize GTK: could not open display
xauth list
localhost:0  MIT-MAGIC-COOKIE-1  2d068e5553bfc1dc2bab47a1ad19099b
localhost:10  MIT-MAGIC-COOKIE-1  2d068e5553bfc1dc2bab47a1ad19099b
[/bash]
echo $DISPLAY
:0 //тут надо сделать оговрку что пробовался вариант localhost10.0 тоже пробовался

/etc/ssh/ssh_config

Host *
   ForwardAgent yes
   ForwardX11 yes
   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS 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-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p gateway.example.com
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.