Skip to contentSkip to conversation

No Virtual Console

Qemu-devel [email protected] 3 participants 7 messages Nov 11, 2010 – Nov 13, 2010

lore
Share & tools
lore
#0 lore raw

Hi, My apologies up front for the dumb question, but ... I am running qemu (actually, qemu-system-arm), and when I launch it I do not get a new virtual console to open. I have had this in the past (older Linux install), but inside OpenSuSE 11.3, with QEMU 0.12.5 or 0.13.0 I do not get this to happen (automatically, or even with -serial vc or -monitor vc options). It's likely me doing something wrong, but ... how do I get this console? I am able to use -vnc :0 to get vnc access, but I would like a console window to open automatically on launch. Also, by default I get a vnc server on "::1:5900" ... but what does that mean (or rather, how do I access this vnc server?)? I can manually use -vnc :0 and can make it work, but not sure what the default server is really doing. Thanks!

#1 lore raw
Quoted 5 lines · On Thu, Nov 11, 2010 at 12:49, <[email protected]> wrote:

Hi, My apologies up front for the dumb question, but ... I am running qemu (actually, qemu-system-arm), and when I launch it I do not get a new virtual console to open. I have had this in the past (older Linux install), but inside OpenSuSE 11.3, with QEMU 0.12.5 or 0.13.0 I do not get this to happen (automatically, or even with -serial vc or -monitor vc options).

My wild guess is, there is no "(m)getty"s prepared in tty. Thus you only left with xdm/kdm/gdm...but that's assuming you're inside runlevel 5 (or in some distros, runlevel 2 or 3), which boots straight to X.

So, my advice is: kindly check /etc/inittab

PS: regarding the VNC server listening, try to connect to it using VNC client. (hopefully I understand your statements correctly)

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#2 lore raw

Hi,

Yes, I am in runlevel 5. I have to admit, I did check /etc/inittab, but I'm not sure what I'm looking for ... :-(. A bit lost here as to what you're saying, sorry! Can you clarify a bit?

Yes, VNC works - I was trying to say that, just not very clearly. What I'm after though is to have a separate window open when I launch qemu, which is the "target" OS ... make sense?

Thanks for you help!

Quoted 1 line · Mulyadi Santosa
Quoted 25 lines · On Thu, Nov 11, 2010 at 12:49, <[email protected]> wrote:
Quoted 5 lines

Hi, My apologies up front for the dumb question, but ... I am running qemu (actually, qemu-system-arm), and when I launch it I do not get a new virtual console to open. I have had this in the past (older Linux install), but inside OpenSuSE 11.3, with QEMU 0.12.5 or 0.13.0 I do not get this to happen (automatically, or even with -serial vc or -monitor vc options).

My wild guess is, there is no "(m)getty"s prepared in tty. Thus you only left with xdm/kdm/gdm...but that's assuming you're inside runlevel 5 (or in some distros, runlevel 2 or 3), which boots straight to X.

So, my advice is: kindly check /etc/inittab

PS: regarding the VNC server listening, try to connect to it using VNC client. (hopefully I understand your statements correctly)

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

#3 lore raw

Hi...

Quoted 7 lines · Russell Morris

Hi,

Yes, I am in runlevel 5. I have to admit, I did check /etc/inittab, but I'm not sure what I'm looking for ... :-(. A bit lost here as to what you're saying, sorry! Can you clarify a bit?

i mean, do you something like below in your /etc/inittab? 1:2345:respawn:/sbin/mingetty tty1

it could be tty2, tty3 and so on...it represents the console number. So it reads "in console 1, in run level 2 up to 5, execute mingetty and make it servicing tty1"

Quoted 3 lines

Yes, VNC works - I was trying to say that, just not very clearly. What I'm after though is to have a separate window open when I launch qemu, which is the "target" OS ... make sense?

I think what you mean here is the standart graphical window, right? the SDL one, right?

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#4 lore raw

Yes - that's it! The SDL window. I can't get it to show up ... any ideas?

Thanks!

Quoted 1 line · Mulyadi Santosa

Hi...

Quoted 34 lines · Russell Morris
Quoted 7 lines

Hi,

Yes, I am in runlevel 5. I have to admit, I did check /etc/inittab, but I'm not sure what I'm looking for ... :-(. A bit lost here as to what you're saying, sorry! Can you clarify a bit?

i mean, do you something like below in your /etc/inittab? 1:2345:respawn:/sbin/mingetty tty1

it could be tty2, tty3 and so on...it represents the console number. So it reads "in console 1, in run level 2 up to 5, execute mingetty and make it servicing tty1"

Quoted 3 lines

Yes, VNC works - I was trying to say that, just not very clearly. What I'm after though is to have a separate window open when I launch qemu, which is the "target" OS ... make sense?

I think what you mean here is the standart graphical window, right? the SDL one, right?

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

#5 lore raw
Quoted 1 line · On Fri, Nov 12, 2010 at 16:49, <[email protected]> wrote:

Yes - that's it! The SDL window. I can't get it to show up ... any ideas?

make sure you have "SDL" package installed. Also, if you compile Qemu by your own, please install "SDL-devel" package before ./configure and make.

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#6 lore raw

That's the problem - thanks!!!

Now I just need to figure out how to log all the Linux boot info to a file.

Take care,

... Russell

Quoted 1 line · Mulyadi Santosa
Quoted 15 lines · On Fri, Nov 12, 2010 at 16:49, <[email protected]> wrote:
Quoted 1 line

Yes - that's it! The SDL window. I can't get it to show up ... any ideas?

make sure you have "SDL" package installed. Also, if you compile Qemu by your own, please install "SDL-devel" package before ./configure and make.

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com