How does one use X forwarding properly? I got a server running CentOS 6.3 at runlevel 3 (no DE installed) I try to access virt-manager via x-forwarding from another CentOS 6.3 client in my network (runlevel 5 with default gnome)
on The server i changed my sshd_config: X11Forwarding yes
i installed xauth on both of the machines.
Anything else there is to do? When i try to: ssh -X root@server virt-manager
I still get the following error message: RuntimeError: could not open display
Which is in fact a message i get with every graphical programm i try to run through that. So I guess it's an error in my ssh configuration. Any tips?
On Sat, Feb 2, 2013 at 9:49 AM, skull skull17@gmx.ch wrote:
How does one use X forwarding properly? ...
Anything else there is to do? When i try to: ssh -X root@server virt-manager
Just to be sure, you are in an xterm with DISPLAY set to the local X-Server before issuing the ssh?
Try substitute -Y for -X, like: ssh -Y root@server
When you are logged in to the server, what is DISPLAY set to?
Am 02.02.2013 16:45, schrieb Brett Serkez:
On Sat, Feb 2, 2013 at 9:49 AM, skull skull17@gmx.ch wrote:
How does one use X forwarding properly? ...
Anything else there is to do? When i try to: ssh -X root@server virt-manager
Just to be sure, you are in an xterm with DISPLAY set to the local X-Server before issuing the ssh?
Try substitute -Y for -X, like: ssh -Y root@server
When you are logged in to the server, what is DISPLAY set to? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Actually it seems that i forgot to change the ssh_config (client) options properly. Shame on me. But for some reason libvirtd also needed a restart to actually launch virt-manager through(with?) x-forwarding.
thx for the answer anyway.