Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a debian-squeeze host-system on which I have installed lxc.

i created a (squeeze) container, and started it. then I'm trying to get inside the container with lxc-console. everything works fine so far.

but the weird thing is, lxc-console only works once! meaning: if detach from it (Ctrl+a q) and try to reattach again (lxc-console -n containername) the command prompt never appears. it just says "Type Ctrl+a q to exit the console" but that's it. nothing else - no login prompt

I can exit the console and try to reconnect - but still the same.

the only way to get it to work again is, stopping the container and restarting it again. then I can connect via lxc-console. but again....only ONCE. after the disconnect, I don't see a command prompt anymore....

has anybody seen this kind of behavior before?

share|improve this question

Try hitting enter when it does that. It seems to help at least some of the time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.