Page 2 of 2

Re: qemu woes

Posted: Mon Mar 12, 2012 7:31 pm
by texy
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.

Re: qemu woes

Posted: Mon Mar 12, 2012 7:40 pm
by SN
Let me know when you crack the screensize issue!

Re: qemu woes

Posted: Mon Mar 12, 2012 8:44 pm
by nick.mccloud
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

Re: qemu woes

Posted: Mon Mar 12, 2012 8:49 pm
by SN
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.

Re: qemu woes

Posted: Mon Mar 12, 2012 8:57 pm
by texy
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

Re: qemu woes

Posted: Mon Mar 12, 2012 9:02 pm
by texy
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.

Re: qemu woes

Posted: Mon Mar 12, 2012 9:07 pm
by SN
I did warn you to disable the screensaver

kill qemu and restart it, log in on the GUI and disable in - under Settings somewhere

Re: qemu woes

Posted: Wed Mar 14, 2012 7:29 pm
by texy
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.

Re: qemu woes

Posted: Wed Mar 14, 2012 8:34 pm
by bob_binz
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

Re: qemu woes

Posted: Wed Mar 14, 2012 11:57 pm
by SN
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

Re: qemu woes

Posted: Wed Mar 14, 2012 11:57 pm
by SN
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

Re: qemu woes

Posted: Sat Mar 24, 2012 11:21 am
by abhinavos7a
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....

Re: qemu woes

Posted: Sat Mar 24, 2012 12:19 pm
by jojopi
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".