Hello,
I'm trying to forward virt-manager running on a headless CentOS 6.5 server. The host has X11Forwarding yes and X11DisplayOffset 10 both uncommented in sshd_conf Also, the $DISPLAY variable on the headless server does not return anything. I'm guessing it's missing the display because when I execute the following command, I get the errors:
PHP Code:
$ ssh -X root@headless_srvr virt-manager
root@headless_srvr's password:
X11 forwarding request failed on channel 0
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 286, in main
raise gtk_error
RuntimeError: could not open display
I was wondering how can I setup X11Forwarding over SSH from a headless server to a host running an OS with Gnome.
Thank you in advance!