can't run X applications in Ubuntu 12.04 guest [message #48980] |
Sat, 02 February 2013 05:22  |
chtlp
Messages: 3 Registered: February 2013
|
Junior Member |
|
|
Hi, I am new to OpenVZ, and I have just installed Ubuntu 12.04 guest on a CentOS host machine. Everything works fine except that I can't run X applications over ssh in the guest machine.
I have installed xauth and turned on X11forwarding, but strangely $XAUTHORITY is not set and running xclock ouputs:
Error: Can't open display:
ssh -vvvY outputs the following log (this is the part of it related to x11):
debug2: x11_get_proto: /usr/local/bin/xauth list unix:17.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 2.6.32-308.8.2.el5.028stab101.1 x86_64)
Does anyone has any clues how to solve this?
Best regards.
|
|
|
|
|
|
|