texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: qemu woes

Mon Mar 12, 2012 7:31 pm

texy said:


S'OL - got it

ssh -p 2222 root@localhost

T.



Yes - I am finally in !!!!!

Now I need to get the screen size larger, also vncviewers cursor does not follow the windows cursor (there two of them), although this may be part of the same problem.

T.
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: qemu woes

Mon Mar 12, 2012 7:40 pm

Let me know when you crack the screensize issue!
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

User avatar
nick.mccloud
Posts: 804
Joined: Sat Feb 04, 2012 4:18 pm

Re: qemu woes

Mon Mar 12, 2012 8:44 pm

SN said:


Let me know when you crack the screensize issue!


From CNXsoft:

Create the file “/etc/X11/xorg.conf” (as root, real or sudo) with the following content:

Section “Screen”
Identifier “Default Screen”
DefaultDepth 16
SubSection “Display”
# Viewport 0 0
Depth 16
Modes “800×600?
EndSubsection
EndSection

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: qemu woes

Mon Mar 12, 2012 8:49 pm

So that will create an X desktop on a remote machine 800x600 big yes?
I forgot when I posted the last point that its the QEMU window size I need to rectify.
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: qemu woes

Mon Mar 12, 2012 8:57 pm

I got that far, however, yes there's always a but (as I said in my first post).

The keyboard does not default to UK - I can get no # sign .

I cannot change the keyboard in the GUI - not logged in as root of course!

So how can I do that via the ssh session ?

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: qemu woes

Mon Mar 12, 2012 9:02 pm

Oh and the other problem I have is that the screensaver kicks in after a few minutes, despite it being set for 10, then it won't accept my password :@##3$£$$$ painfull !!

T.
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: qemu woes

Mon Mar 12, 2012 9:07 pm

I did warn you to disable the screensaver

kill qemu and restart it, log in on the GUI and disable in - under Settings somewhere
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: qemu woes

Wed Mar 14, 2012 7:29 pm

Just as an update, the image is running OK on my pc. The only outstanding issue is the qemu resolution of 640 x 480.

Kinda sucks, but I,m sure there will a fix before long...or an updated distro to play with.

I,m also guessing that the 1st deliveries are not too far away also.....maybe.

Thanks for all of your help getting this going. I have learnt a lot about linux tackling these issues.

Texy.
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
bob_binz
Posts: 441
Joined: Thu Feb 02, 2012 7:58 pm
Location: Stockport, UK

Re: qemu woes

Wed Mar 14, 2012 8:34 pm

SN said:



There is something odd going on though, as I posted elsewhere, with root. I can only get in as root with ssh


Dunno if this has been mentioned elsewhere (these posts are becoming rather fragmented now!)  but to enable root login to GUI, sudo edit /etc/pam.d/lxdm, find the line that says 'auth required pam_succeed_if.so user !=root quiet' (was the second or third row in mine) and put # in front of it to comment it out.  Restart X and login as root.

HTH

BBz

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: qemu woes

Wed Mar 14, 2012 11:57 pm

The "something odd going on" is that the original instruction incorrectly included a "cp -rF" command instead of a "cp -a" command which trashed permissions on the image. Seriously if you"re fighting on with an image created with "cp -rF" bin it as its irretrievably broken
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: qemu woes

Wed Mar 14, 2012 11:57 pm

The "something odd going on" is that the original instruction incorrectly included a "cp -rF" command instead of a "cp -a" command which trashed permissions on the image. Seriously if you"re fighting on with an image created with "cp -rF" bin it as its irretrievably broken
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

abhinavos7a
Posts: 1
Joined: Sat Mar 24, 2012 11:18 am

Re: qemu woes

Sat Mar 24, 2012 11:21 am

Qemu is Very Very Slow.....

I am using KVM in Fedora 13. I can use Virtual machine monitor to run the Guest OS. My Guest Machine works fine and fast while I open it through Virtual-Machine-Monitor. But when I try to open Guest through the command line, my Guest Os becomes extremely slow. It does not even show me the activity bar. I use the following command to run Guest:

qemu fedora.img -m 1024

Urgent help is needed. I need to run my Guest through command possibly because I can pass a lot of parameters to the Qemu....

User avatar
jojopi
Posts: 3268
Joined: Tue Oct 11, 2011 8:38 pm

Re: qemu woes

Sat Mar 24, 2012 12:19 pm

abhinavos7a said:

But when I try to open Guest through the command line, my Guest Os becomes extremely slow. It does not even show me the activity bar. I use the following command to run Guest:
qemu fedora.img -m 1024


If you are running an x86 VM on an x86 host with KVM, then you should use the "qemu-kvm" command, not just "qemu".

Return to “General discussion”