From owner-freebsd-questions@FreeBSD.ORG Fri May 15 12:37:09 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 3CA58106566B for ; Fri, 15 May 2009 12:37:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id AA4B78FC14 for ; Fri, 15 May 2009 12:37:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n4FCb1Ja047233; Fri, 15 May 2009 13:37:02 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n4FCb1Ja047233 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1242391022; bh=nrW/OQoSWQgD5ebgJlMQ5gr36/gvSdB7MEJa6oUL9X8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A0D61E6.1050504@infracaninophile.co.uk>|Date:=20F ri,=2015=20May=202009=2013:36:54=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Pieter=20Donche=20|CC:=20 Mike=20Clarke=20,=20=0D=0A=20freebsd- questions@freebsd.org|Subject:=20Re:=20root=20user,=20graphical=20 programs|References:=20=09<4A0D1CC2.8000107@infracaninophile.co.uk>=09=09<200905151252 .42959.jmc-freebsd2@milibyte.co.uk>=20|In-Reply-To:=20|X-Enigmail-Version:=200.95.6|Co ntent-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=2 0protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"--- ---------enig4C4C03348063F7427F720C5A"; b=cjLRRpSciYs4Kz11+UfxDcy6t0LEZPEF69p5TCJHfcaRLbUqQ6tcpdeggIn803wPe 6DzSVO035o4nZbci7A9bN33cea8/q5/MgO0ZMfCFBSzXTeErNyvjr+FvFAFlOeDsO7 mR5wX6UJVtIwrI10oNLfL9Q2s4UrSbJ+zk+4+PYw= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A0D61E6.1050504@infracaninophile.co.uk> Date: Fri, 15 May 2009 13:36:54 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Pieter Donche References: <4A0D1CC2.8000107@infracaninophile.co.uk> <200905151252.42959.jmc-freebsd2@milibyte.co.uk> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig4C4C03348063F7427F720C5A" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Mike Clarke , freebsd-questions@freebsd.org Subject: Re: root user, graphical programs 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: Fri, 15 May 2009 12:37:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4C4C03348063F7427F720C5A Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Pieter Donche wrote: > On Fri, 15 May 2009, Mike Clarke wrote: >=20 >> 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. >=20 > OK, this works.. >=20 > Also the other method (extract a $DISPLAY from ~/.Xauthority and nergin= g=20 > in /root/.Xauhtority also works now, but my DISPLAY was not :0.0 but =20 > MYPCHOSTNAME:0 > (from a windows PC I was logged on to the FreeBSD machine using XMing > X-windows terminal emulator) You do realise that you have now told the whole world that you use an unencrypted X session over a network? That's at least as bad -- probably= worse -- than using rsh(1) or unencrypted telnet. I hope you haven't logged into any sensitive accounts or typed a credit card number into a web browser over that link... You'ld be well advised to install putty on your windows box and use the=20 ability to tunnel X over a SSH connection. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig4C4C03348063F7427F720C5A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkoNYe0ACgkQ8Mjk52CukIxbNQCgiLNBayecQxfQvVEd7aRq1pNS 8SIAnig/Q1/Pqp2zsu1FrOOG9BRhccU8 =KAN1 -----END PGP SIGNATURE----- --------------enig4C4C03348063F7427F720C5A--