[95935] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Help: init 5 / xdm

daemon@ATHENA.MIT.EDU (Gordon Messmer)
Thu Oct 22 11:22:51 1998

Date: Thu, 22 Oct 1998 08:14:51 -0700
From: Gordon Messmer <yinyang@eburg.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Terrance L Eck wrote:
> However, when I login as a normal user and perform su to get root access
> I cannot open an X application such as nedit. Says something about not
> getting display 0:0. I remember sometime ago the answer was posted to this
> list. Can someone tell me the command to use after I su to root so that I
> can run X applications? A pointer to where the answer is will be enough.
> 

Actually, you need to type "xhost +localhost" _before_ "su".  That'll
grant other users from localhost to open X applications on your
server.

Perhaps someone more experienced with xauth could give us some
information on .Xauthority files?

MSG


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post