[Lxc-users] LXC container SSH X forwarding kernel crash

Serge E. Hallyn serge.hallyn at canonical.com
Wed Jun 16 14:12:26 UTC 2010


Quoting Ferenc Holzhauser (ferenc.holzhauser at gmail.com):
> Dear fellow LXC users,
> 
> I'm experiencing an annoying kernel crash each time I'm trying to use
> SSH X forwarding into the container.
> I can open an SSH session but as soon as I start an X app, the crash happens.
> 
> I'm using Lucid (both host and container) with latest updates.
> I have disabled IPv6 both on host and container (kernel and ssh) to
> maximize my chances (google said it might help) but no luck yet.
> 
> Unfortunately I'm not an expert in kernel debugging so I'm kind of
> stuck at the moment.
> I hope someone with more skills has seen this before and has some
> pointers for me where to look further.

Are the container and host the same distribution?

Just to narrow down the possibilities, could you try just starting
an sshd on a custom port, and doing ssh -X to that port?

	shell 1 (as root):
		/usr/sbin/sshd -p 9999
	shell 2:
		ssh -X -p 9999 localhost
		   # xterm

thanks,
-serge




More information about the lxc-users mailing list