Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2017-01-01 Thread Svante Signell
On Thu, 2016-12-29 at 13:18 -0500, Steve Litt wrote:
> Hi all,
> 
> Fsmithred and I have put a heckofa lot of time into this, and frankly
> need help from everyone who can reproduce this problem (Fsmithred
> can't).
> 
> The problem is this:  When you run either Refracta or Devuan Jessie
> Beta 2 in a Qemu guest (on a Void Linux host), run the GUI, and click
> the mouse in the guest so that the mouse is captured by the guest:
> 
> 1) You cannot get the mouse pointer to go outside the guest window,
>    whether or not you press the ungrab hotkey.
> 
> 2) Pressing the hotkey that would ordinarily get you to another
>    workspace on the host doesn't work.
> 
> 3) As a result, your only way of using other programs on the host is to:
> a) Log out of the gui so you're confronted with the login window,
> b) Press the ungrab key combo, and c) move the mouse where you want
> it to go.

Of course your problem is not so simple, but I always escape from the guest
window in Qemu when the mouse is grabbed with 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-30 Thread golinux

On 2016-12-30 18:44, Steve Litt wrote:

On Fri, 30 Dec 2016 17:52:57 -0500
fsmithred  wrote:


Steve,

Did you install Devuan jessie from one of the official isos or from
the unofficial live?


I don't know. The Devuan.org website is organized such that it's very
difficult to determine which exact thing you downloaded. The website
should really be organized to tell you exactly what you're downloading,
and /etc/issue or something else in /etc should tell you exactly what
you're dealing with.

I do know that I downloaded that whole 9.8GB thang from a torrent, and
that the file I used as -cdrom for qemu had filename
"devuan_jessie_1.0.0-beta2_amd64_DVD.iso", and the md5sum is:

f3881689d4cfc5eeedf3e54b55feb0ca
devuan_jessie_1.0.0-beta2_amd64_DVD.iso

Thanks,

SteveT



-

I'm pretty sure that the 
unofficial_live_devuan_beta_amd64_snapshot-20161205_2229.iso is NOT 
available from the devuan.org site.  You would have to get it here: 
https://sourceforge.net/projects/refracta/files/unofficial_devuan_live/unofficial_live_devuan_beta_amd64_snapshot-20161205_2229.iso


And isn't the devuan_jessie_1.0.0-beta2_amd64_DVD.iso  an 'offline 
install' iso not a 'live' iso?  Last I heard, devuan does not have an 
'official-live' iso.  I have no idea how an 'install' iso would work in 
qemu.  Only used 'live' isos.


golinux

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-30 Thread Steve Litt
On Fri, 30 Dec 2016 17:52:57 -0500
fsmithred  wrote:

> Steve,
> 
> Did you install Devuan jessie from one of the official isos or from
> the unofficial live? 

I don't know. The Devuan.org website is organized such that it's very
difficult to determine which exact thing you downloaded. The website
should really be organized to tell you exactly what you're downloading,
and /etc/issue or something else in /etc should tell you exactly what
you're dealing with.

I do know that I downloaded that whole 9.8GB thang from a torrent, and
that the file I used as -cdrom for qemu had filename
"devuan_jessie_1.0.0-beta2_amd64_DVD.iso", and the md5sum is:

f3881689d4cfc5eeedf3e54b55feb0ca
devuan_jessie_1.0.0-beta2_amd64_DVD.iso

Thanks,
 
SteveT

Steve Litt 
December 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-30 Thread fsmithred
On 12/30/2016 02:27 PM, Steve Litt wrote:
> On Fri, 30 Dec 2016 10:24:03 +0100
> Jaromil  wrote:
> 
>> On Thu, 29 Dec 2016, Steve Litt wrote:
>>
>>> The host uses Openbox. Next time I shut everything down and restart
>>> X, I'll try it with Xfce and fvwm ON THE HOST and see if that
>>> changes things.  
>>
>> what can be also useful for the purpose of troubleshooting, use:
>>
>> xev -event keyboard
>>
>> and then press and release ctrl-alt inside the host wm, what does that
>> prints out? I run Devuan Jessie on i3 on kernel 4.7.0-0.bpo.1-amd64:
> 
> The instructions in the preceding two paragraphs do nothing, because
> xev works only if its gui window has focus, and if you're inside the
> qemu guest then the xev window on the host doesn't have focus.
> 
> What I did instead was:
> 
> 1) Right ctrl on xev on the Void metal host (xev_void_metal.txt)
> 
> 2) Right ctrl on xev in the Void qemu guest (xev_void.txt)
> 
> 3) Right ctrl on xev in the Refracta qemu guest (xev_refracta.txt)
> 
> The results of the three are concatenated in the following file:
> 
> http://pastebin.ca/3750739
> 
> I saw nothing within the results to in any way differentiate the
> Refracta guest from the Void guest, and yet the mouse can escape *only*
> the Void guest.
> 
> If you have a different test in mind, please enumerate it click by
> click, command by command, so I can perform it. Also, in such
> enumeration please reserve the word "host" for the OS on bare metal,
> and the word "guest" for OS running inside Qemu, just so there's no
> possibility of my misinterpreting it.
> 
> Thanks,
> 
> SteveT

Steve,

Did you install Devuan jessie from one of the official isos or from the
unofficial live? If from the latter, I can think of one more test to do -
install from an official Devuan iso (non-live) and see if the mouse
behaves correctly. If it does, then the problem may have to do with the
refracta scripts.

fsmithred


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-30 Thread Jaromil
dear Steve,

thanks for your great attention to details,

I can't evince anything from the information gathered by this
attempt. I wasn't sure it would lead anywhere in the first place, but
thought it was worth trying. Indeed the issue is tricky as the focus
should be switching from the guest to the host with the key
combo however thanks for follow up and for sticking to this
issue.. I am really curious and hope we'll find the reason for this
bug. Its a difficult challenge.

ciao


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-30 Thread Steve Litt
On Fri, 30 Dec 2016 10:24:03 +0100
Jaromil  wrote:

> On Thu, 29 Dec 2016, Steve Litt wrote:
> 
> > The host uses Openbox. Next time I shut everything down and restart
> > X, I'll try it with Xfce and fvwm ON THE HOST and see if that
> > changes things.  
> 
> what can be also useful for the purpose of troubleshooting, use:
> 
> xev -event keyboard
> 
> and then press and release ctrl-alt inside the host wm, what does that
> prints out? I run Devuan Jessie on i3 on kernel 4.7.0-0.bpo.1-amd64:

The instructions in the preceding two paragraphs do nothing, because
xev works only if its gui window has focus, and if you're inside the
qemu guest then the xev window on the host doesn't have focus.

What I did instead was:

1) Right ctrl on xev on the Void metal host (xev_void_metal.txt)

2) Right ctrl on xev in the Void qemu guest (xev_void.txt)

3) Right ctrl on xev in the Refracta qemu guest (xev_refracta.txt)

The results of the three are concatenated in the following file:

http://pastebin.ca/3750739

I saw nothing within the results to in any way differentiate the
Refracta guest from the Void guest, and yet the mouse can escape *only*
the Void guest.

If you have a different test in mind, please enumerate it click by
click, command by command, so I can perform it. Also, in such
enumeration please reserve the word "host" for the OS on bare metal,
and the word "guest" for OS running inside Qemu, just so there's no
possibility of my misinterpreting it.

Thanks,

SteveT

Steve Litt 
December 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-30 Thread Jaromil

On Thu, 29 Dec 2016, Steve Litt wrote:

> The host uses Openbox. Next time I shut everything down and restart
> X, I'll try it with Xfce and fvwm ON THE HOST and see if that
> changes things.

what can be also useful for the purpose of troubleshooting, use:

xev -event keyboard

and then press and release ctrl-alt inside the host wm, what does that
prints out? I run Devuan Jessie on i3 on kernel 4.7.0-0.bpo.1-amd64:


KeyPress event, serial 28, synthetic NO, window 0x1c1,
root 0xa3, subw 0x0, time 189416334, (205,375), root:(892,399),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x1c1,
root 0xa3, subw 0x0, time 189416334, (205,375), root:(892,399),
state 0x8, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x1c1,
root 0xa3, subw 0x0, time 189416898, (205,375), root:(892,399),
state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x1c1,
root 0xa3, subw 0x0, time 189416915, (205,375), root:(892,399),
state 0x4, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False



ciao

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-29 Thread Steve Litt
On Thu, 29 Dec 2016 18:27:00 +
KatolaZ  wrote:

> On Thu, Dec 29, 2016 at 01:18:34PM -0500, Steve Litt wrote:
> > Hi all,
> > 
> > Fsmithred and I have put a heckofa lot of time into this, and
> > frankly need help from everyone who can reproduce this problem
> > (Fsmithred can't).
> > 
> > The problem is this:  When you run either Refracta or Devuan Jessie
> > Beta 2 in a Qemu guest (on a Void Linux host), run the GUI, and
> > click the mouse in the guest so that the mouse is captured by the
> > guest:
> > 
> > 1) You cannot get the mouse pointer to go outside the guest window,
> >whether or not you press the ungrab hotkey.
> > 
> > 2) Pressing the hotkey that would ordinarily get you to another
> >workspace on the host doesn't work.
> > 
> > 3) As a result, your only way of using other programs on the host
> > is to: a) Log out of the gui so you're confronted with the login
> > window, b) Press the ungrab key combo, and c) move the mouse where
> > you want it to go.
> >   
> 
> 
> Hi,
> 
> it looks like whatever-desktop-envinroment you are using on the *host*
> system is grabbing the default hot-key sequence to exit from qemu
> (which is Ctrl+Alt). You may try to start qemu with either "-alt-grab"
> or "-ctrl-grab", which would change the ungrab sequence to
> "Ctrl-Shift-Alt" or "Right-Ctrl", respectively. Or instead you can try
> to execute qemu from an X session without a DM (i.e., started with
> "xinit /usr/bin/xterm -- :1").

Thanks KatolaZ,
I tried -ctrl-grab, -alt-grab, and neither ON THE DEVUAN QEMU GUEST,
and the results were the same.

The host uses Openbox. Next time I shut everything down and restart X,
I'll try it with Xfce and fvwm ON THE HOST and see if that changes
things.

Thanks,

SteveT

Steve Litt 
December 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-29 Thread golinux

On 2016-12-29 12:27, KatolaZ wrote:

On Thu, Dec 29, 2016 at 01:18:34PM -0500, Steve Litt wrote:

Hi all,

Fsmithred and I have put a heckofa lot of time into this, and frankly
need help from everyone who can reproduce this problem (Fsmithred
can't).

The problem is this:  When you run either Refracta or Devuan Jessie
Beta 2 in a Qemu guest (on a Void Linux host), run the GUI, and click
the mouse in the guest so that the mouse is captured by the guest:

1) You cannot get the mouse pointer to go outside the guest window,
   whether or not you press the ungrab hotkey.

2) Pressing the hotkey that would ordinarily get you to another
   workspace on the host doesn't work.

3) As a result, your only way of using other programs on the host is 
to:

a) Log out of the gui so you're confronted with the login window,
b) Press the ungrab key combo, and c) move the mouse where you 
want

it to go.




Hi,

it looks like whatever-desktop-envinroment you are using on the *host*
system is grabbing the default hot-key sequence to exit from qemu
(which is Ctrl+Alt). You may try to start qemu with either "-alt-grab"
or "-ctrl-grab", which would change the ungrab sequence to
"Ctrl-Shift-Alt" or "Right-Ctrl", respectively. Or instead you can try
to execute qemu from an X session without a DM (i.e., started with
"xinit /usr/bin/xterm -- :1").

My2Cents

KatolaZ


-

Testing just now for Steve and am able to move the cursor freely from 
guest to host and back again.  Release key was required earlier this 
month.  Go figure . . .


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mouse won't release in Devuan beta 2 with Qemu

2016-12-29 Thread KatolaZ
On Thu, Dec 29, 2016 at 01:18:34PM -0500, Steve Litt wrote:
> Hi all,
> 
> Fsmithred and I have put a heckofa lot of time into this, and frankly
> need help from everyone who can reproduce this problem (Fsmithred
> can't).
> 
> The problem is this:  When you run either Refracta or Devuan Jessie
> Beta 2 in a Qemu guest (on a Void Linux host), run the GUI, and click
> the mouse in the guest so that the mouse is captured by the guest:
> 
> 1) You cannot get the mouse pointer to go outside the guest window,
>whether or not you press the ungrab hotkey.
> 
> 2) Pressing the hotkey that would ordinarily get you to another
>workspace on the host doesn't work.
> 
> 3) As a result, your only way of using other programs on the host is to:
> a) Log out of the gui so you're confronted with the login window,
> b) Press the ungrab key combo, and c) move the mouse where you want
> it to go.
> 


Hi,

it looks like whatever-desktop-envinroment you are using on the *host*
system is grabbing the default hot-key sequence to exit from qemu
(which is Ctrl+Alt). You may try to start qemu with either "-alt-grab"
or "-ctrl-grab", which would change the ungrab sequence to
"Ctrl-Shift-Alt" or "Right-Ctrl", respectively. Or instead you can try
to execute qemu from an X session without a DM (i.e., started with
"xinit /usr/bin/xterm -- :1").

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng