Re: running X on localhost with different user

2001-03-13 Thread Peter Cordes
On Wed, Mar 14, 2001 at 09:56:49AM +0900, Joongul Lee wrote: > I was told that it is more secure to have > > export XAUTHORITY=$HOME/.Xauthority > > executed in one of the initialization scripts (I have it in ~/.bashrc) Yes, because that stops other users on the same machine from getting in. I

Re: running X on localhost with different user

2001-03-13 Thread Mike Fedyk
On Wed, Mar 14, 2001 at 12:16:56AM -0800, Alan DuBoff wrote: > Mike Fedyk wrote: > > > You can use the "xhost" command and enable access from the entire localhost. > > Yep, that is what I used to do on XFree86 3.3.x, and specifically I would > issue: > xhost +localhost > oh, I didn't know that w

Re: running X on localhost with different user

2001-03-13 Thread Joongul Lee
I was told that it is more secure to have export XAUTHORITY=$HOME/.Xauthority executed in one of the initialization scripts (I have it in ~/.bashrc) On Wed, Mar 14, 2001 at 12:16:56AM -0800, Alan DuBoff wrote: > Mike Fedyk wrote: > > > You can use the "xhost" command and enable access from th

Re: running X on localhost with different user

2001-03-13 Thread Alan DuBoff
Mike Fedyk wrote: > You can use the "xhost" command and enable access from the entire localhost. Yep, that is what I used to do on XFree86 3.3.x, and specifically I would issue: xhost +localhost Ah, I just figured it out... xhost +local:username does the trick...I guess XFree86 will only allo

Re: running X on localhost with different user

2001-03-13 Thread Mike Fedyk
On Tue, Mar 13, 2001 at 11:32:52PM -0800, Alan DuBoff wrote: > Alan DuBoff wrote: > > > I remember a friend mentioning that XFree86 requires something be put in > > .Xauthority, but I wasn't sure what it was. > > Ooops, that should be "XFree86 4.x requires...". > You can use the "xhost" command

Re: running X on localhost with different user

2001-03-13 Thread Alan DuBoff
Alan DuBoff wrote: > I remember a friend mentioning that XFree86 requires something be put in > .Xauthority, but I wasn't sure what it was. Ooops, that should be "XFree86 4.x requires...". -- Alan DuBoff Software Orchestration, Inc.

running X on localhost with different user

2001-03-13 Thread Alan DuBoff
In XFree86 3.3.x, it was possible to allow the localhost to be able to use the X server so that you could allow the localhost access, change users and run as that user. I remember a friend mentioning that XFree86 requires something be put in .Xauthority, but I wasn't sure what it was. Can some ki