[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Xauthority question
- To: Tzafrir Cohen <tzafrir(at-nospam)technion.ac.il>
- Subject: Re: Xauthority question
- From: Schlomo Schapiro <schapiro(at-nospam)clerk.pi.huji.ac.il>
- Date: Thu, 1 Mar 2001 08:05:16 +0200 (IST)
- cc: Linux-IL Mailing List <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.LNX.4.33_heb2.09.0102282217550.16378-100000@canada1.technion.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hi,
I start my su like this and it works well:
su -c "cd ; xterm -ls -T Root -n Root -fn 10x20 &"'
I ran into the problem after I started to work with SSH and X forwarding,
a combination which is also quite strict about X access rights.
Schlomo
On Wed, 28 Feb 2001, Tzafrir Cohen wrote:
> Hi
>
> I would like to run some X apps from a 'su -' shell xterm.
>
> I used to use the following trick to save myself the need of messing with
> xauth:
>
> in the root shell I set:
>
> DISPLAY=:0.0
> XAUTHORITY=/home/tzafrir/.Xauthrity
>
> (since root can read the user's home directory)
>
> However, this doesn't work anymore. Any idea if there is any way to make
> it work?
>
> If not, can anybody give me the required xauth commands? (Yes, I tried the
> man page, but I didn't fully understand it).
>
> Thanks
>
>
--
Schlomo Schapiro
Computation Authority
Hebrew University of Jerusalem
Tel: ++972 / 2 / 65-84404
Fax: 65-27349
email: schapiro@clerk.pi.huji.ac.il
WWW: http://shum.cc.huji.ac.il/~schapiro
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il