Is QEMU working/reliable under ....

Carl Johnson carlj at peak.org
Wed Jan 28 22:48:25 UTC 2015


"William A. Mahaffey III" <wam at hiwaay.net> writes:


> DISPLAY=:0.0
> [root at kabini1, WinXP, 10:21:44am] 503 % qemu-system-i386 -cdrom
> ../../../ISOs/winxp.iso -hda HDD.img -m 256 -boot d -cpu athlon -vga
> std -no-acpi -localtime
> Invalid MIT-MAGIC-COOKIE-1 key
> (<unknown>:20227): Gtk-WARNING **: cannot open display: :0.0
> [root at kabini1, WinXP, 10:21:48am] 504 %
>
>
> I have had this problem before, when I 'su' to root (usually from an
> rxvt terminal running csh as a regular user), the environment isn't
> set up correctly for most X11 stuff to work correctly when invoked
> from that root CLI. I have posted about this before, but it still
> persists. Any clue how to get this to work for me :-) ? TIA & thanks
> for your reply.

I don't usually run X11 apps as root, but I have ~/.Xauthority for root
symbolic linked to ~/.Xauthority for the user that is running X11.  I
just tested with xclock and root can run that properly.

-- 
Carl Johnson		carlj at peak.org



More information about the freebsd-questions mailing list