Is QEMU working/reliable under ....

William A. Mahaffey III wam at hiwaay.net
Thu Jan 29 00:07:35 UTC 2015


On 01/28/15 16:44, Carl Johnson wrote:
> "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.
>

Thanks for the reply. My /root already has a .Xauthority, should I ditch 
it ?

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list