* With -vnc option, can I still use "ctrl+alt + n"? @ 2009-02-19 7:28 Neo Jia 2009-02-19 7:38 ` Tomasz Chmielewski 0 siblings, 1 reply; 7+ messages in thread From: Neo Jia @ 2009-02-19 7:28 UTC (permalink / raw) To: kvm hi, I am trying kvm-84 and with -vnc option I can't use "ctrl + alt + n" key to get the qemu system console. Is there anyway to make this work? Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: With -vnc option, can I still use "ctrl+alt + n"? 2009-02-19 7:28 With -vnc option, can I still use "ctrl+alt + n"? Neo Jia @ 2009-02-19 7:38 ` Tomasz Chmielewski 2009-02-19 8:11 ` Neo Jia 0 siblings, 1 reply; 7+ messages in thread From: Tomasz Chmielewski @ 2009-02-19 7:38 UTC (permalink / raw) To: Neo Jia; +Cc: kvm Neo Jia schrieb: > hi, > > I am trying kvm-84 and with -vnc option I can't use "ctrl + alt + n" > key to get the qemu system console. Is there anyway to make this work? Use Qemu/KVM monitor and it's "sendkey" function. For example: sendkey alt-f3 -- Tomasz Chmielewski http://wpkg.org ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: With -vnc option, can I still use "ctrl+alt + n"? 2009-02-19 7:38 ` Tomasz Chmielewski @ 2009-02-19 8:11 ` Neo Jia 2009-02-19 8:22 ` Alexander Graf 0 siblings, 1 reply; 7+ messages in thread From: Neo Jia @ 2009-02-19 8:11 UTC (permalink / raw) To: Tomasz Chmielewski; +Cc: kvm On Wed, Feb 18, 2009 at 11:38 PM, Tomasz Chmielewski <mangoo@wpkg.org> wrote: > Neo Jia schrieb: >> >> hi, >> >> I am trying kvm-84 and with -vnc option I can't use "ctrl + alt + n" >> key to get the qemu system console. Is there anyway to make this work? > > Use Qemu/KVM monitor and it's "sendkey" function. Sorry, could you specify the command line option? I don't know how to get into monitor. Thanks, Neo > > For example: > > sendkey alt-f3 > > > -- > Tomasz Chmielewski > http://wpkg.org > -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: With -vnc option, can I still use "ctrl+alt + n"? 2009-02-19 8:11 ` Neo Jia @ 2009-02-19 8:22 ` Alexander Graf 2009-02-19 8:45 ` Dongsheng Song 2009-02-19 8:52 ` Neo Jia 0 siblings, 2 replies; 7+ messages in thread From: Alexander Graf @ 2009-02-19 8:22 UTC (permalink / raw) To: Neo Jia; +Cc: Tomasz Chmielewski, kvm@vger.kernel.org On 19.02.2009, at 09:11, Neo Jia <neojia@gmail.com> wrote: > On Wed, Feb 18, 2009 at 11:38 PM, Tomasz Chmielewski > <mangoo@wpkg.org> wrote: >> Neo Jia schrieb: >>> >>> hi, >>> >>> I am trying kvm-84 and with -vnc option I can't use "ctrl + alt + n" >>> key to get the qemu system console. Is there anyway to make this >>> work? >> >> Use Qemu/KVM monitor and it's "sendkey" function. > > Sorry, could you specify the command line option? I don't know how to > get into monitor. You could pass -monitor stdio to qemu. That gives you the monitor on the shell you started qemu from. Are you using a mac to access vnc? Try ctrl-apple-2 then. Alex > > > Thanks, > Neo > > >> >> For example: >> >> sendkey alt-f3 >> >> >> -- >> Tomasz Chmielewski >> http://wpkg.org >> > > > > -- > I would remember that if researchers were not ambitious > probably today we haven't the technology we are using! > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: With -vnc option, can I still use "ctrl+alt + n"? 2009-02-19 8:22 ` Alexander Graf @ 2009-02-19 8:45 ` Dongsheng Song 2009-02-19 9:30 ` Tomasz Chmielewski 2009-02-19 8:52 ` Neo Jia 1 sibling, 1 reply; 7+ messages in thread From: Dongsheng Song @ 2009-02-19 8:45 UTC (permalink / raw) To: Alexander Graf; +Cc: kvm@vger.kernel.org 2009/2/19 Alexander Graf <agraf@suse.de>: > > You could pass -monitor stdio to qemu. That gives you the monitor on the > shell you started qemu from. > So if I run kvm as daemon: kvm -name Linux-x64 -smp 2 -m 2048M -hda hda.img \ -cdrom ../../var/iso/debian-500-amd64-DVD-1.iso \ -net nic,vlan=0,macaddr=52:54:00:12:34:00,model=e1000 \ -net tap,vlan=0,ifname=tap00,script=no \ -net nic,vlan=1,macaddr=52:54:00:12:34:10,model=e1000 \ -net tap,vlan=1,ifname=tap10,script=no \ -vnc :10 -daemonize After logout the host, I can't get the qemu system console anymore? --- Dongsheng Song ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: With -vnc option, can I still use "ctrl+alt + n"? 2009-02-19 8:45 ` Dongsheng Song @ 2009-02-19 9:30 ` Tomasz Chmielewski 0 siblings, 0 replies; 7+ messages in thread From: Tomasz Chmielewski @ 2009-02-19 9:30 UTC (permalink / raw) To: Dongsheng Song; +Cc: Alexander Graf, kvm@vger.kernel.org, Neo Jia Dongsheng Song schrieb: > 2009/2/19 Alexander Graf <agraf@suse.de>: >> You could pass -monitor stdio to qemu. That gives you the monitor on the >> shell you started qemu from. >> > > So if I run kvm as daemon: > > kvm -name Linux-x64 -smp 2 -m 2048M -hda hda.img \ > -cdrom ../../var/iso/debian-500-amd64-DVD-1.iso \ > -net nic,vlan=0,macaddr=52:54:00:12:34:00,model=e1000 \ > -net tap,vlan=0,ifname=tap00,script=no \ > -net nic,vlan=1,macaddr=52:54:00:12:34:10,model=e1000 \ > -net tap,vlan=1,ifname=tap10,script=no \ > -vnc :10 -daemonize > > After logout the host, I can't get the qemu system console anymore? You could use: -monitor unix:/var/run/qemu-server/103.mon,server,nowait And connect i.e. with minicom to /var/run/qemu-server/103.mon. If you put a "minirc.yourguest" file in /etc/minicom/ with content: pu port unix#/var/run/qemu-server/103.mon pu minit pu mreset You will be able to connect to that monitor with: minicom yourguest For example: # minicom web3-mon Welcome to minicom 2.2 OPTIONS: I18n Compiled on Jan 7 2007, 19:01:49. Port unix#/var/run/qemu-server/105.mon Press CTRL-A Z for help on special keys QEMU 0.9.1 monitor - type 'help' for more information (qemu) help help|? [cmd] -- show the help (...) Note: this will "quit the emulator" and your guest: (qemu) quit So most likely you will just want to exit with minicom's "ctrl-a z x" combination. -- Tomasz Chmielewski http://wpkg.org ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: With -vnc option, can I still use "ctrl+alt + n"? 2009-02-19 8:22 ` Alexander Graf 2009-02-19 8:45 ` Dongsheng Song @ 2009-02-19 8:52 ` Neo Jia 1 sibling, 0 replies; 7+ messages in thread From: Neo Jia @ 2009-02-19 8:52 UTC (permalink / raw) To: Alexander Graf; +Cc: Tomasz Chmielewski, kvm@vger.kernel.org On Thu, Feb 19, 2009 at 12:22 AM, Alexander Graf <agraf@suse.de> wrote: > > On 19.02.2009, at 09:11, Neo Jia <neojia@gmail.com> wrote: > >> On Wed, Feb 18, 2009 at 11:38 PM, Tomasz Chmielewski <mangoo@wpkg.org> >> wrote: >>> >>> Neo Jia schrieb: >>>> >>>> hi, >>>> >>>> I am trying kvm-84 and with -vnc option I can't use "ctrl + alt + n" >>>> key to get the qemu system console. Is there anyway to make this work? >>> >>> Use Qemu/KVM monitor and it's "sendkey" function. >> >> Sorry, could you specify the command line option? I don't know how to >> get into monitor. > > You could pass -monitor stdio to qemu. That gives you the monitor on the > shell you started qemu from. Yes this works for me. As I am giving the stdio to serial port, I need to change the serial port to something else. I am going to start a another thread about what I just find on qemu monitor. Thanks, Neo > > Are you using a mac to access vnc? Try ctrl-apple-2 then. > > Alex > >> >> >> Thanks, >> Neo >> >> >>> >>> For example: >>> >>> sendkey alt-f3 >>> >>> >>> -- >>> Tomasz Chmielewski >>> http://wpkg.org >>> >> >> >> >> -- >> I would remember that if researchers were not ambitious >> probably today we haven't the technology we are using! >> -- >> To unsubscribe from this list: send the line "unsubscribe kvm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-02-19 9:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-02-19 7:28 With -vnc option, can I still use "ctrl+alt + n"? Neo Jia 2009-02-19 7:38 ` Tomasz Chmielewski 2009-02-19 8:11 ` Neo Jia 2009-02-19 8:22 ` Alexander Graf 2009-02-19 8:45 ` Dongsheng Song 2009-02-19 9:30 ` Tomasz Chmielewski 2009-02-19 8:52 ` Neo Jia
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox