From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 23:41:41 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20F9016A412; Sat, 16 Dec 2006 23:41:41 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A12543CC1; Sat, 16 Dec 2006 23:41:32 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1Gvj9n-0005V6-UA; Sat, 16 Dec 2006 18:41:32 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id kBGNi2Dm016930; Sat, 16 Dec 2006 17:44:02 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id kBGNi1eL016929; Sat, 16 Dec 2006 17:44:01 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: Christopher Cowart Date: Sat, 16 Dec 2006 17:44:01 -0600 User-Agent: KMail/1.9.4 References: <200612161224.14708.lane@joeandlane.com> <200612161350.12657.lane@joeandlane.com> <20061216233254.GF4409@rescomp.berkeley.edu> In-Reply-To: <20061216233254.GF4409@rescomp.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612161744.01856.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec79812f411270e4d744354de9cddb3ac0c0350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Cc: FreeBSD Questions Subject: Re: xorg on a headless, mouseless, keyboardless box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 23:41:41 -0000 On Saturday 16 December 2006 17:32, you wrote: > > I've used this "ssh -X" that you mention. This works fine for "userland" > > programs, but in order to troubleshoot my particular issue I'd need to be > > logged in as root. When I try to "su" remotely to run the command I get: > > > > X11 connection rejected because of wrong authentication. > > X connection to localhost:10.0 broken (explicit kill or server shutdown). > > I think what's going on is that X puts some authentication information > in your home directory: ~/.Xauthority. You might try: > $ su -m > > That will preserve your environment (including $HOME). Now when X goes > looking for the ~/.Xauthority, it will find the one sshd set up in your > user home directory. > Well, Chris, that was a great suggestion! I can, in fact, run a gui root process on the remote machine, now. Unfortunately I still can't run qemu so that I can get the console. I get: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x3e Serial number of failed request: 18 Current serial number in output stream: 21 Any advice on how to setup the remote (headless, mouseless, and keyboardless) server to run X? My brain is fried trying to track down a HOWTO, and the wiki is just a half millimeter left of useless. Thanks for your input! Lane > > I might try logging in locally as root and see what happens .... > > > > But in the long run I think that if I could understand how to grant > > myself an actual X session on the remote box then I could figure out how > > to do this and potentially other stuff. > > > > Thanks for any information you might share. > > > > lane > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"