From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 00:11:13 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60EA7FA2 for ; Thu, 29 Jan 2015 00:11:13 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29DD28F5 for ; Thu, 29 Jan 2015 00:11:12 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-100.adsl.hiwaay.net [216.180.19.100]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t0T0BBDV001222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 28 Jan 2015 18:11:11 -0600 Message-ID: <54C97C16.30003@hiwaay.net> Date: Wed, 28 Jan 2015 18:17:26 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Is QEMU working/reliable under .... 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> In-Reply-To: <54C97B3B.7030003@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 00:11:13 -0000 On 01/28/15 18:13, William A. Mahaffey III wrote: > On 01/28/15 16:44, Carl Johnson wrote: >> "William A. Mahaffey III" 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 >>> (: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.