Re: GuixSD in a VM is so nice - once you actually have control over your mouse, that is.

2017-05-19 Thread Björn Höfling
On Thu, 18 May 2017 00:42:18 +0200
Fox  wrote:

> so I run GuixSD (on bare metal nicely and) on qemu
> 
> but mouse capture is an issue in that gpm or whatever runs the mouse.
> 
> I "can't come back from the Immelmann loop" , so-to-speak. The only 
> "ESCAPE" is CTRL-ALT-F3  with root login and "reboot".
> 
> 
> I mean ... these days a VM should maybe be fine with mice of 21st. 
> century design or am I going down a wrong alley ?
> 
> 
> 

As others already pointed out, "Ctrl-Alt" is the way to get out of the
cage.

Mostly I don't use the VM-Window: I had some trouble with gpm and don't
know how to enable clipboard-sharing in QEMU, so I just use SSH:

My GuixSD-QEMU-Configuration has something like:

 (services (cons* 
... other services here ...
(dhcp-client-service)
(lsh-service #:port-number )
   %base-services))


Then in my host system I have an entry in my ~/.ssh/config:

Host g64
HostName localhost
Port 
User bjoern


When I now call "ssh g64" and enter my password, I'm connected to my
virtual machine and can use the normal mouse and copy/paste of my host
system as I would use with other remote machines.

You can also upload your SSH-Key in your virtual machine to avoid
password entering.

And probably when I would setup a new VM, I would use OpenSSH
(https://www.gnu.org/software/guix/manual/guix.html#index-openssh_002dservice_002dtype),
but when I started with my setup, there was only LSH.


Björn



Re: GuixSD in a VM is so nice

2017-05-18 Thread Adonay Felipe Nogueira
The documentation section (the reference I gave earliear), not the wiki
page (the reference you just gave), tells the solution for the problem
described in the wiki page. The wiki page also mentions the solution but
it's implicit. That wiki page tells you that you have to provide options
that identify the host's network in order for the QEMU system to make
use of it.



Re: GuixSD in a VM is so nice

2017-05-18 Thread Fox

http://wiki.qemu.org/Documentation/Networking

So helpful that the "notes" tell you a problem but hardly the solution.
Seems I ran into a common problem.




Re: GuixSD in a VM is so nice

2017-05-18 Thread Fox



[[https://qemu.weilnetz.de/doc/qemu-doc.html#Network-options]], I see no
way to tell `-net default` to QEMU.


yeah but the GuixSD install manual uses it,
https://www.gnu.org/software/guix/manual/html_node/Installing-GuixSD-in-a-VM.html#Installing-GuixSD-in-a-VM
so somebody must have gotten it to work presumably.




Re: GuixSD in a VM is so nice

2017-05-18 Thread Adonay Felipe Nogueira
I don't know if this is right, but at least according to
[[https://qemu.weilnetz.de/doc/qemu-doc.html#Network-options]], I see no
way to tell `-net default` to QEMU.



GuixSD in a VM is so nice

2017-05-18 Thread Fox

indeed:   just press CTRL-ALT(Strg-Alt in places)

too bad, notification about this does not show up in time in the QEMU 
window titlebar seemingly. well well, we saw harder challenges.





Re: GuixSD in a VM is so nice - once you actually have control over your mouse, that is.

2017-05-17 Thread Adonay Felipe Nogueira
I don't know what is the issue exactly, but from the QEMU documentation
I can see that, in order for it to grab or release mouse and keyboard,
one has to press Ctrl + Alt.

Lastly, strangely enough, I as a non-tech user understand QEMU as a
VM. But of course, no non-tech user's opinion replaces thechnical
ones. :)

-- 
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
  GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard
  que está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
  /software/ livre. Favor entrar em contato em caso de dúvida.



Re: GuixSD in a VM is so nice - once you actually have control over your mouse, that is.

2017-05-17 Thread Fox

On 18.05.2017 00:42, Fox wrote:

so I run GuixSD (on bare metal nicely and) on qemu

but mouse capture is an issue in that gpm or whatever runs the mouse.

I "can't come back from the Immelmann loop" , so-to-speak. The only 
"ESCAPE" is CTRL-ALT-F3  with root login and "reboot".



I mean ... these days a VM should maybe be fine with mice of 21st. 
century design or am I going down a wrong alley ?



it could be delay   somewhat longbefore Guixers are notified of the 
ESCAPE keypresses. I'll investigate.






GuixSD in a VM is so nice - once you actually have control over your mouse, that is.

2017-05-17 Thread Fox

so I run GuixSD (on bare metal nicely and) on qemu

but mouse capture is an issue in that gpm or whatever runs the mouse.

I "can't come back from the Immelmann loop" , so-to-speak. The only 
"ESCAPE" is CTRL-ALT-F3  with root login and "reboot".



I mean ... these days a VM should maybe be fine with mice of 21st. 
century design or am I going down a wrong alley ?