<div dir="ltr">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.<div><br></div><div>I have installed xauth, and enabled X11forwarding in ssh_config, but it still doesn't work.</div>
<div><br></div><div>Specifically, I find that I don't have ~/.Xauthority file generated, and running startx results in:</div><div><div><i>Fatal server error:</i></div><div><i>xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)</i></div>
<div><br></div><div style>More curiously,<i> when I run "who" command, the ouput is empty</i>. while I have logged in via ssh at the time.</div><div style><br></div><div style>Does any one have any clues what's causing the problem?</div>
<div style><br></div><div style>Thanks in advance.</div><div style><br></div><div style>-- <br></div>-----------------------------------<div><div>Princeton University</div><div>Computer Science Department</div><div>Linpeng Tang</div>
<br></div><div><br></div>
</div></div>