Re: Xauthority question

2001-03-02 Thread Tzafrir Cohen
On Fri, 2 Mar 2001, Shaul Karl 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/.Xauthrit

Re: Xauthority question

2001-03-01 Thread Shaul Karl
> 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

Re: Xauthority question

2001-03-01 Thread Nadav Har'El
On Wed, Feb 28, 2001, Tzafrir Cohen wrote about "Xauthority question": > 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 she

Re: Xauthority question

2001-02-28 Thread Schlomo Schapiro
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 >

Xauthority question

2001-02-28 Thread Tzafrir Cohen
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 w