-
1. Re: OL7 Virt-manager console problem
Avi Miller-Oracle 2014/11/17 14:07 (2796480 への返信)Have you tried installing a VNC server on the OL7 box and accessing virt-manager using VNC? This would at least allow you to determine if it's X in general (if it happens on both the X11-forwarded session and in VNC) or if it's specific to the forwarding to Xming.
I'd also double-check that you have a window manager installed on the OL7 box. On OL6, I used to use xorg-x11-twm (Tiny Window Manager) on machines that I wanted X11 forwarding support. It's not installed by default on a headless/non-GUI machine and without a window manager, X is unable to display non-primary screens, like the console pop-out.
-
2. Re: OL7 Virt-manager console problem
Dude! 2014/11/17 18:43 (2796480 への返信)I suggest to keep in mind that X-forwarding is not the same as remote desktop. When you use VNC or remote desktop, all execution and screen output happens on the remote machine. Unlike SSH and X forwarding, where SSH will "wire" the X Window communication back to your client computer. Your X applications on the remote host can still communicate with the local server, which however appears through the SSH tunnel on your client computer, hence communication with the X Window server (Xming) on your local system. So if any X window application works on the local machine, but not under Xming, the problem is most likely Xming or your local PC system. You could perhaps try other X Window servers available for Windows. However, the whole thing does not make sense. If you need access to the console of a virtual machine, simply create a SSH session to it. There is no need to run the virt-manager X Window application from a remote system on your local PC, using your local X Window server.
-
3. Re: OL7 Virt-manager console problem
2797762 2014/11/18 19:10 (2796480 への返信)I had the same problem, in /etc/ssh/sshd_config changed to X11UseLocalhost yes
Solved for me...
-
4. Re: OL7 Virt-manager console problem
Dude! 2014/11/18 19:27 (2797762 への返信)I think that does not really make sense though. Apparently virt-manager is opening on the PC side, which means X forwarding is working, but opening the console causes it to break.
-
5. Re: OL7 Virt-manager console problem
2797762 2014/11/19 6:12 (Dude! への返信)Realy, today i was testing and did not work...
-
6. Re: OL7 Virt-manager console problem
Dude! 2014/11/20 16:25 (2797762 への返信)What exactly where you testing and what other configurations exist or do not exist that may influence the problem, e.g. IPv6?
(https://bugzilla.novell.com/show_bug.cgi?id=618068)
Here is what the sshd_config man page has to say about the configuration parameter:
X11UseLocalhost Specifies whether sshd(8) should bind the X11 forwarding server to the loopback address or to the wild- card address. By default, sshd binds the forwarding server to the loopback address and sets the hostname part of the DISPLAY environment variable to ``localhost''. This prevents remote hosts from connecting to the proxy display. However, some older X11 clients may not function with this configuration. X11UseLocalhost may be set to ``no'' to specify that the forwarding server should be bound to the wild- card address. The argument must be ``yes'' or ``no''. The default is ``yes''. So does virt-manager work with X11UseLocalhost=no but the console of a VM works only with X11UseLocalhost=yes. Maybe, but I would rather find this strange and the problem might be something else. Why the OP has X11UseLocalhost=no is another question though.
-
7. Re: OL7 Virt-manager console problem
2796480 2014/11/24 10:07 (Dude! への返信)Didn't worked for me. I devided to reinstall my server with OL6u5 since I had nothing in production yet on it.
Works fine with this version. But I need to be carefull not to do a "yum update" because the problem appears
with OL6u6 or later.
I had basically nothing on the server, The only settings I configured was the NIC to use a bridge.
And changing 11UseLocalhost=no to X11UseLocalhost=yes didn't changed anything.