From owner-freebsd-questions@FreeBSD.ORG Fri May 15 12:18:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE1D71065680 for ; Fri, 15 May 2009 12:18:42 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id 43F3B8FC24 for ; Fri, 15 May 2009 12:18:41 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.2/8.14.2) with ESMTP id n4FCIcCV091190; Fri, 15 May 2009 14:18:38 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.2/8.14.2/Submit) with ESMTP id n4FCIcp5091187; Fri, 15 May 2009 14:18:38 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Fri, 15 May 2009 14:18:38 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: Mike Clarke In-Reply-To: <200905151252.42959.jmc-freebsd2@milibyte.co.uk> Message-ID: References: <4A0D1CC2.8000107@infracaninophile.co.uk> <200905151252.42959.jmc-freebsd2@milibyte.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: root user, graphical programs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 12:18:42 -0000 On Fri, 15 May 2009, Mike Clarke wrote: > On Friday 15 May 2009, Pieter Donche wrote: > I see from your original post that you're using KDE so you could try a > third way: > Use to open the run dialog. > Enter xpdf or whatever in the "Command area. > Click on "Options", select "Run as a different user and fill in the > username and password for root. OK, this works.. Also the other method (extract a $DISPLAY from ~/.Xauthority and nerging in /root/.Xauhtority also works now, but my DISPLAY was not :0.0 but MYPCHOSTNAME:0 (from a windows PC I was logged on to the FreeBSD machine using XMing X-windows terminal emulator)