From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 22:48:25 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C4EA51D for ; Wed, 28 Jan 2015 22:48:25 +0000 (UTC) Received: from filter01.peakinternet.com (filter01.peakinternet.com [207.55.16.92]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0913E20 for ; Wed, 28 Jan 2015 22:48:24 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by filter01.peakinternet.com ({e1c81c21-e4c4-4528-aa90-7a27869c545a}) via TCP (outbound) with ESMTPS id 20150128224413224 for ; Wed, 28 Jan 2015 22:44:13 +0000 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta01.peak.org (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTPS id 3B2DDC4C01 for ; Wed, 28 Jan 2015 14:44:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTP id 2CE7DF631D for ; Wed, 28 Jan 2015 14:44:12 -0800 (PST) Received: from zmail-mta01.peak.org ([127.0.0.1]) by localhost (zmail-mta01.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1q8MUBQ91tkM for ; Wed, 28 Jan 2015 14:44:12 -0800 (PST) Received: from mailproxy-lb-05.peak.org (mailproxy-lb-05.peak.org [207.55.17.95]) by zmail-mta01.peak.org (Postfix) with ESMTP id F3A4FC4C01 for ; Wed, 28 Jan 2015 14:44:11 -0800 (PST) Received: from carlj by elk.localnet with local (Exim 4.80) (envelope-from ) id 1YGbLH-0004gy-0x for freebsd-questions@freebsd.org; Wed, 28 Jan 2015 14:44:11 -0800 From: Carl Johnson 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> Mail-Followup-To: freebsd-questions@freebsd.org Date: Wed, 28 Jan 2015 14:44:10 -0800 In-Reply-To: <54C945C3.3070607@hiwaay.net> (William A. Mahaffey, III's message of "Wed, 28 Jan 2015 14:25:39 -0600") Message-ID: <871tme34qt.fsf@elk.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 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: Wed, 28 Jan 2015 22:48:25 -0000 "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. -- Carl Johnson carlj@peak.org