sshd がログに Failed to allocate internet-domain X11 display socket エラーを出力する
Issue
-
ssh 上で X11 転送を使用して、リモートシステムでグラフィカルプログラムを実行することができません。
[user@localhost ~]$ ssh -X hostname.example.com Last login:Fri Oct 14 13:53:43 2011 from 192.168.1.2 [user@hostname ~]$ xeyes Error:Can't open display: -
virt-managerを開くことができず、"virt-manager: Unable to initialize GTK: could not open display"エラーが発生します。 -
リモートホストの
/var/log/secureに以下のようなエラーメッセージが出力されます。Oct 14 15:00:07 hostname sshd[1909]: error:Failed to allocate internet-domain X11 display socket.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
