Re: su problems with xdm

1999-06-06 Thread Frank Barknecht
Jason Willoughby hat gesagt: // Jason Willoughby wrote: > On Sun, 6 Jun 1999, Alisdair McDiarmid wrote: > > > [root%letdown /home/alisdair] # xmcd > > Xlib: connection to ":0.0" refused by server > > Xlib: Client is not authorized to connect to Server > > Error: Can't open display: :0.0 > > Yeah

Re: su problems with xdm

1999-06-06 Thread Branden Robinson
On Sun, Jun 06, 1999 at 12:29:58AM +, Alisdair McDiarmid wrote: > I've got problems running X apps as root with xdm. See /usr/doc/xfree86-common/FAQ. -- G. Branden Robinson | Measure with micrometer, Debian GNU/Linux | mark with chalk, [EMAIL

Re: su problems with xdm

1999-06-06 Thread Alisdair McDiarmid
On Sat, Jun 05, 1999 at 07:58:36PM -0400, Jason Willoughby wrote: > > Yeah, xdm is more paranoid than startx. You can disable access controls > by running, as alisdair, "xhost +". Check the man page for more info. great, thanks! -- alisdair mcdiarmid [i won't tear again i won't breathe in the

Re: su problems with xdm

1999-06-06 Thread Jason Willoughby
On Sun, 6 Jun 1999, Alisdair McDiarmid wrote: > [root%letdown /home/alisdair] # xmcd > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > Error: Can't open display: :0.0 Yeah, xdm is more paranoid than startx. You can disable access controls by r

Re: SU Problems

1997-06-04 Thread Rob Browning
All of the suggestions were more or less appropriate, but I think a more secure way to grant another user the right to run programs on your display is to use xauth. See the xauth manpage for more details, but I use xauth extract - $DISPLAY | rsh otherhost xauth merge - to allow *only* myself

Re: SU Problems

1997-06-03 Thread W Paul Mills
I just tried a couple of thing that seem to work. 1. Put the "export XAUTHORITY=~paul/.Xauthority in your .bashrc file. When you su to another user the XAUTHORITY environment variable still exists! Works fine. 2. Did you ever notice what happens when you su to another user with the USER

Re: SU Problems

1997-06-03 Thread Karl M. Hegbloom
I just do: 8<->8 ~ # pwd /root ~ # ln -s /home/karlheg/.Xauthority . 8<->8 I've also got "~karlheg/.emacs" and several other files like it symlinked in the same way for

Re: SU Problems

1997-06-03 Thread Christian Hudon
On Jun 2, Ed Donovan wrote > > You could just add > > xhost +localhost > > to your .xinitrc file, if you don't have any xhost commands there > already. Jens has suggested "export XAUTHORITY=~paul/.Xauthority"; I > don't immediately know which method would be preferable. The xhost > method wo

Re: SU Problems

1997-06-03 Thread Ed Donovan
> "Paul" == Paul McDermott <[EMAIL PROTECTED]> writes: Paul> Hi folks, I just installed X version 3.2 on my system this Paul> past few weeks. I am having problems do things as su. ie for Paul> the first error message is one that I receive whenever I try Paul> to run an X progr

Re: SU Problems

1997-06-02 Thread Paul McDermott
thanks jens, is there a way so i don't have to type the command all the time? thanks again. Paul On Mon, 2 Jun 1997, Jens B. Jorgensen wrote: > Paul McDermott wrote: > > > > Hi folks, I just installed X version 3.2 on my system this past few > > weeks. I am having problems do things as su. ie

Re: SU Problems

1997-06-02 Thread M BAILEY
Before you "SU" to root type 'xhost +' this will disable X windows access control. Remember X windows is a network program and has to authorize every user before it will let you run an application. By the way xhost + is also not the most secure way of handling this problem. Do a 'man xhost' an

Re: SU Problems

1997-06-02 Thread Jens B. Jorgensen
Paul McDermott wrote: > > Hi folks, I just installed X version 3.2 on my system this past few > weeks. I am having problems do things as su. ie for the first error > message is one that I receive whenever I try to run an X program as su. > This error message is when I was trying to use xclock. I

Re: SU Problems

1997-06-02 Thread Paul McDermott
Hi Roberto, I did use su. I can't run any x programs as su, only as user paul. Any other ideas. On Mon, 2 Jun 1997, Roberto Magana wrote: > Use su - > > % > > <[EMAIL PROTECTED]> Roberto Magana. Escuela de Fisica UCR. >

Re: SU Problems

1997-06-02 Thread Roberto Magana
Use su - % <[EMAIL PROTECTED]> Roberto Magana. Escuela de Fisica UCR. (The Physics Dept. University of Costa Rica.) % -- TO U