qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu - patch to check X authorization


From: Jim C. Brown
Subject: Re: [Qemu-devel] qemu - patch to check X authorization
Date: Sat, 26 Jun 2004 14:06:21 -0400
User-agent: Mutt/1.4i

On Fri, Jun 25, 2004 at 09:12:19AM +0200, Bob Barry wrote:
> Hetz -
> 
> The following has been submitted twice before, but seems to have
> passed unnoticed:
> 
> If I "su" to root and invoke qemu without remembering to "xhost +" first,
> the screen goes black, the keyboard is completely unresponsive, and
> I cannot go to a terminal session or kill the X-server.  The following patch
> causes qemu to display an error message and exit gracefully instead of
> locking the machine.  The patch is against 20040625 CVS. It works on
> Gentoo x86 Linux, kernel 2.6.7; I can't test other distributions or 
> architectures.
> 
> Thanks,
> 
> Bob Barry
> 

That doesn't happen to me. When I try that, I get a few messages from Xlib
saying that it can't open the X server and then a message from SDL saying that
its quitting. I don't have the problem that you do.

Your patch requires that the user must have X and assumes that SDL uses X/Xv.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]