<div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to launch an ubuntu 12.04 vserver on top of LXC 1.0 (ubuntu 13.10). Console access works, but ssh does not with the errors</div><div><div><i>X11 forwarding request failed on channel 0</i></div>

<div><i>PTY allocation request failed on channel 0</i></div></div><div><i>[content ot /etc/motd]</i></div><div><i>stdin: is not a tty</i></div><div><br></div><div>The /dev/pts is empty, and attempt to mount it from inside of the container fails:</div>

<div><br></div><div># mount -t devpts none /dev/pts -o rw,noexec,nosuid,gid=5,mode=0620</div><div>mount: block device none is write-protected, mounting read-only</div><div>mount: cannot mount block device none read-only</div>

<div><br></div><div>The filesystem is not mounted from fstab of the container as well:</div><div><div>devpts           /dev/pts     devpts  rw,noexec,nosuid,gid=5,mode=0620</div></div><div><br></div><div>Initially the container had mknod operation disabled (lxc.cap.drop = mknod), I commented it out, but that did not help.</div>

<div><br></div><div>I also copied the inodes of /dev/pts from a different machine, to no avail.</div><div><br></div><div>ssh -d -d -d fails with this error:</div><div><i>...</i></div><div><div><i>debug1: Allocating pty.</i></div>

<div><i>openpty: No such file or directory</i></div><div><i>session_pty_req: session 0 alloc failed</i></div></div><div><i>...</i></div><div><br></div><div>udevd is running properly.</div><div><br></div><div>Please help..</div>

<div><br></div><div>--<br>Arie<br></div>
</div>