Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] virt-manager and lxc: keyboard doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 521
Location: Coruña (Spain)

PostPosted: Mon Jan 27, 2014 10:04 am    Post subject: [SOLVED] virt-manager and lxc: keyboard doesn't work Reply with quote

I'm trying to set up a simple container. I emerged virt-manager and created an application container for /bin/sh. When I start the container I see is a sh prompt, but the keyboard doesn't work. I also tried setting up a stage3 gentoo container (OS) and I get the same: gentoo boots correctly, I see the openrc messages and arrive at the login prompt, but I can't enter my login. Keyboard doesn't work.

Do I need to do something to enable input in the virt-manager window? Qemu/kvm VMs work fine.

(edit) I launched virt-manager with -debug and I get this when I push a key:
Code:
2014-01-27 11:09:34,973 (serialcon:179): Error sending stream data
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/serialcon.py", line 177, in _event_on_stream
    done = self.stream.send(self.terminalToStream)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4877, in send
    if ret == -1: raise libvirtError ('virStreamSend() failed')
libvirtError: virStreamSend() failed


Any solution? Google doesn't show anyone else with this problem =/

(edit) Turns out there is a bug with libvirt-python. Solved in IRC. I'll file a bug.

http://libvirt.org/git/?p=libvirt-python.git;a=commit;h=ea9339c878ffc344a3ef0cc659b7bce87125678f
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum