Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2015 18:17:26 -0600
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Is QEMU working/reliable under ....
Message-ID:  <54C97C16.30003@hiwaay.net>
In-Reply-To: <54C97B3B.7030003@hiwaay.net>
References:  <54C7C62A.5030605@hiwaay.net> <20150127210422.GA27921@slackbox.erewhon.home> <54C838CE.7040502@hiwaay.net> <20150128071441.GA29698@slackbox.erewhon.home> <54C8EFF3.6050803@hiwaay.net> <20150128192444.GA31295@slackbox.erewhon.home> <54C945C3.3070607@hiwaay.net> <871tme34qt.fsf@elk.localnet> <54C97B3B.7030003@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/28/15 18:13, William A. Mahaffey III wrote:
> On 01/28/15 16:44, Carl Johnson wrote:
>> "William A. Mahaffey III" <wam@hiwaay.net> writes:
>>
>>
>>> DISPLAY=:0.0
>>> [root@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@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 ?
>

Answer: Yes. replacing /root/.Xauthority w/ /home/wam/.Xauthority worked 
:-) !!!! Hooray !!!!

-- 

	William A. Mahaffey III

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54C97C16.30003>