From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 19:55:11 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 3849116A47C; Sat, 16 Dec 2006 19:55:11 +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 B19F043F8E; Sat, 16 Dec 2006 19:47:49 +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 1GvfVV-0007gO-JT; Sat, 16 Dec 2006 14:47:41 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id kBGJoD1N007305; Sat, 16 Dec 2006 13:50:13 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id kBGJoCml007304; Sat, 16 Dec 2006 13:50:12 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: "Andrew Pantyukhin" Date: Sat, 16 Dec 2006 13:50:12 -0600 User-Agent: KMail/1.9.4 References: <200612161224.14708.lane@joeandlane.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612161350.12657.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: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec7922a0b74175c13b379a7fc36443221c95350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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 19:55:11 -0000 On Saturday 16 December 2006 12:34, Andrew Pantyukhin wrote: > On 12/16/06, Lane wrote: > > Hi, > > > > I need to run X ... or in some way gain access to > > the display output on a remote box that has neither > > mouse, keyboard, or console. > > Can you tell us what you really need? > > Try "ssh -X user@box" and running gui apps or > even startx there. Andrew, "What I need" is a tall order :) What I'd like is an understanding of how X can be used for remote connections, such as is described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html#AEN6864 I'd like to be able to work on the remote box in a graphical environment and not have to mount_nfs the devices I need to work with ... I'd also like to be able to start qemu on the remote machine with a Windows client and be able to invoke "safe" mode. I have a problem with a remote W2K image that is 4Gig compressed, and it is going to take 12 or more hours for me to get it copied to my local machine to fix it ... then another 12 hours to copy it back out there. There are probably some switches that I can use in qemu that I may discover over the next 12 hours, but an understanding of how X can help might actually save me some time. 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 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