.Xauthority and kdm

2001-07-02 Thread tim
hello all I upgraded to kde 2.2beta. I start now to runlevel 5 and kdm. My problem is that I dont know how to configure Xauthority that other users (even root) can acces the display. I get the following message: --/ [EMAIL PROTECTED]:~$ su

Re: .Xauthority and kdm

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 03:03:02PM +0200, tim wrote: [EMAIL PROTECTED]:~$ su ^^^ Where is the '-'? Never su, alway su -. There is a reason for it. It is not to hassle you with having to change directories. Password: tim:/home/tim# xawtv This is xawtv-3.53.1,

Re: .Xauthority and kdm

2001-07-02 Thread ktb
On Mon, Jul 02, 2001 at 03:22:59PM +0200, Joost Kooij wrote: On Mon, Jul 02, 2001 at 03:03:02PM +0200, tim wrote: [EMAIL PROTECTED]:~$ su ^^^ Where is the '-'? Never su, alway su -. There is a reason for it. It is not to hassle you with having to change

Re: .Xauthority and kdm

2001-07-02 Thread tim
On Monday, 2. July 2001 15:22, Joost Kooij wrote: On Mon, Jul 02, 2001 at 03:03:02PM +0200, tim wrote: [EMAIL PROTECTED]:~$ su ^^^ Where is the '-'? Never su, alway su -. There is a reason for it. It is not to hassle you with having to change directories.

Re: .Xauthority and kdm

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 04:06:40PM +0200, tim wrote: thanks for the typ. I was allways wondering why the shell is owned by the old user after su. It isn't actually, just all the environment settings remained. ` 1st solution (lame, don't run x programs as root): $ su - # export

Re: .Xauthority and kdm

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 08:38:53AM -0500, ktb wrote: On Mon, Jul 02, 2001 at 03:22:59PM +0200, Joost Kooij wrote: On Mon, Jul 02, 2001 at 03:03:02PM +0200, tim wrote: [EMAIL PROTECTED]:~$ su ^^^ Where is the '-'? Never su, alway su -. There is a reason for

Re: .Xauthority and kdm

2001-07-02 Thread tim
On Monday, 2. July 2001 17:00, you wrote: On Mon, Jul 02, 2001 at 04:06:40PM +0200, tim wrote: 1st solution (lame, don't run x programs as root): $ su - # export DISPLAY=:0 # export XAUTHORITY=~tim/.Xauthority # xapp works! but dissapears after relogin. So where do I need

Re: .Xauthority and kdm

2001-07-02 Thread Joost Kooij
On Mon, Jul 02, 2001 at 06:30:12PM +0200, tim wrote: On Monday, 2. July 2001 17:00, you wrote: If you are the only user that will ever su to run an x app, you can do another pretty lame trick by putting both variable assignments in /root/.bash_profile. It is pretty bad actually, because

Re: .Xauthority and kdm

2001-07-02 Thread Francois Gouget
On Mon, 2 Jul 2001, tim wrote: hello all I upgraded to kde 2.2beta. I start now to runlevel 5 and kdm. My problem is that I dont know how to configure Xauthority that other users (even root) can acces the display. I get the following message: