Dear Linpeng, could you please clarify in more details, how are your you going to use X forwarding? Do you want to run some X application inside container, something like "ssh -XC your.countainer.ip xclock" and it doesn't work?
Thank you, Vasily Averin On 02/02/2013 11:48 PM, Linpeng Tang wrote: > Hi, recently I have installed a Ubuntu 12.04 machine inside OpenVZ on a > CentOS 5 server, almost everything works fine except that I can't use X11 > forwarding. > > I have installed xauth, and enabled X11forwarding in ssh_config, but it still > doesn't work. > > Specifically, I find that I don't have ~/.Xauthority file generated, and > running startx results in: > /Fatal server error:/ > /xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)/ > > More curiously,/when I run "who" command, the ouput is empty/. while I have > logged in via ssh at the time. > > Does any one have any clues what's causing the problem? > > Thanks in advance. > > -- > ----------------------------------- > Princeton University > Computer Science Department > Linpeng Tang > > > > > _______________________________________________ > Users mailing list > Users@openvz.org > https://lists.openvz.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users