From: "Jim C. Brown" <jbrown106@phreaker.net>
To: bobb@absamail.co.za, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu - patch to check X authorization
Date: Sat, 26 Jun 2004 14:06:21 -0400 [thread overview]
Message-ID: <20040626180621.GB18324@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <200406211614.39031.bobb@absamail.co.za>
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.
next prev parent reply other threads:[~2004-06-26 18:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-21 14:14 [Qemu-devel] niggles Bob Barry
2004-06-24 11:52 ` [Qemu-devel] Re: qemu - patch to restore tty flags Hetz Ben Hamo
2004-06-26 18:06 ` Jim C. Brown [this message]
2004-06-27 7:48 ` [Qemu-devel] qemu - patch to check X authorization Bob Barry
2004-06-27 17:42 ` Jim C. Brown
2004-06-26 18:11 ` [Qemu-devel] qemu - patch to restore tty flags Jim C. Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040626180621.GB18324@jbrown.mylinuxbox.org \
--to=jbrown106@phreaker.net \
--cc=bobb@absamail.co.za \
--cc=jbrown106@swift-mail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).