Linux - redirecting console problem
Hi,
I'm using qemu on linux and with the linux guest. It works fine, but I'd like to be able to enter commands and see the output on host console and not in the SDL or VNC window(guest has now gdm - only non graphical mode).
Refering to the qemu manual option -nographic should make it, but when I add it, I see no output and I can't type anything. There's just process in the background.
I also tried to make it with -chardev socket, but without -nographic option after connecting to socket normall SDL window appear and with -nographic option I also can't type anything or see any output.
Hope someone will help me here.
Regards
harnen
Quoted 11 lines · Micha? Król
Hi,
I'm using qemu on linux and with the linux guest. It works fine, but I'd like to be able to enter commands and see the output on host console and not in the SDL or VNC window(guest has now gdm - only non graphical mode).
Refering to the qemu manual option -nographic should make it, but when I add it, I see no output and I can't type anything. There's just process in the background.
I also tried to make it with -chardev socket, but without -nographic option after connecting to socket normall SDL window appear and with -nographic option I also can't type anything or see any output.
Hello,
You can use:
-monitor stdio
You can also use the screen command to close the terminal (see a screen tutorial).
Works for me at least with VNC.
BTW: Is the console also available through Ctrl-Alt-F2 with VNC?
Thanx.
Ciao,
Gerhard
Hi,
Thanks for reply. -monitor option gives me acces to qemu console. I need access to guest shell.
It occours I didn't have serial port enabled in grub, now it's works with -nographic option. If someone is interested this tutorial make the deal:
http://www.cyberciti.biz/faq/linux-serial-console-howto/
Michal
2010/4/4 Gerhard Wiesinger <[email protected]>
Quoted 37 lines · Micha? Król
Hi,
Quoted 10 lines
I'm using qemu on linux and with the linux guest. It works fine, but I'd like to be able to enter commands and see the output
on host console and not in the SDL or VNC window(guest has now gdm - only non graphical mode).Refering to the qemu manual option -nographic should make it, but when I add it, I see no output and I can't type anything.
There's just process in the background.Quoted 6 lines
I also tried to make it with -chardev socket, but without -nographic option after connecting to socket normall SDL window
appear and with -nographic option I also can't type anything or see any output.Hello,
You can use:
-monitor stdioYou can also use the screen command to close the terminal (see a screen tutorial).
Works for me at least with VNC.
BTW: Is the console also available through Ctrl-Alt-F2 with VNC?
Thanx.
Ciao,
Gerhard