Re: how to run X apps as root?

2001-07-04 Thread christophe barbé
Thank you Françcois, I was ignoring the -X option of slogin. It looks easy, secured. That's why debian is so great, each day you learn something. Christophe Le mar, 03 jui 2001 17:33:22, Francois Gouget a écrit : On Tue, 3 Jul 2001, christophe barbé wrote: SUX seems pretty usefull. What

Re: how to run X apps as root?

2001-07-03 Thread Francois Gouget
On Tue, 3 Jul 2001, Arne Goetje wrote: Hi, sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but Xlib complains that the server refuses the connection. how can I make the Xserver accept programs as root when I'm working as normal user? That because Debian

Re: how to run X apps as root?

2001-07-03 Thread christophe barbé
SUX seems pretty usefull. What about a debian package for it (or integrating it in an another)? Is there something similar for remote X session ? Christophe Le mar, 03 jui 2001 09:26:24, Francois Gouget a écrit : On Tue, 3 Jul 2001, Arne Goetje wrote: Hi, sometimes I need to run some

Re: how to run X apps as root?

2001-07-03 Thread Shaul Karl
Hi, sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but Xlib complains that the server refuses the connection. how can I make the Xserver accept programs as root when I'm working as normal user? Script started on Tue Jul 3 16:54:48 2001 [16:54:49 tmp]$ zgrep

Re: how to run X apps as root?

2001-07-03 Thread Francois Gouget
On Tue, 3 Jul 2001, christophe barbé wrote: SUX seems pretty usefull. What about a debian package for it (or integrating it in an another)? I was thinking about proposing to add it to xbase-clients but the response was not very enthusiastic. So yes, maybe I'll package it. Would you be

Re: how to run X apps as root?

2001-07-03 Thread Jeld The Dark Elf
On Tue, Jul 03, 2001 at 11:50:33AM +0800, Arne Goetje wrote: I did both... and it still complains: arne:/usr/home/arne# Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server :((( How about a simple ( and ugly ) xhost + command ( no localhost,

Re: how to run X apps as root?

2001-07-03 Thread D-Man
On Tue, Jul 03, 2001 at 03:44:00PM -0400, Jeld The Dark Elf wrote: | On Tue, Jul 03, 2001 at 11:50:33AM +0800, Arne Goetje wrote: | | I did both... and it still complains: | | arne:/usr/home/arne# Xlib: connection to :0.0 refused by server | Xlib: Client is not authorized to connect to

Re: how to run X apps as root?

2001-07-03 Thread Jeld The Dark Elf
On Tue, Jul 03, 2001 at 04:43:06PM -0400, D-Man wrote: I don't think that will work because xhost only takes _hosts_ as arguments, not commands. 'xhost foo' is equivalent to 'xhost +foo'. The 'xhost +' part of the command completely opens up your xserver to everyone, everywhere. At least

how to run X apps as root?

2001-07-02 Thread Arne Goetje
Hi, sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but Xlib complains that the server refuses the connection. how can I make the Xserver accept programs as root when I'm working as normal user? 2nd Problem: I tried today to run a second instance of startx with -- :1 to

Re: how to run X apps as root?

2001-07-02 Thread D-Man
On Tue, Jul 03, 2001 at 11:13:37AM +0800, Arne Goetje wrote: | Hi, | | sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but | Xlib complains that the server refuses the connection. In the root shell type export DISPLAY=:0 so that the X client knows what server to use.

Re: how to run X apps as root?

2001-07-02 Thread Steven Smolinski
On Tue, Jul 03, 2001 at 11:13:37AM +0800, Arne Goetje wrote: 2nd Problem: I tried today to run a second instance of startx with -- :1 to run it as root. today it didn't work anymore... I'm using unstable. I'm using woody, and recently it stopped for me as well. The error message (didn't cut

Re: how to run X apps as root?

2001-07-02 Thread Christian Jaeger
On Tuesday, 3. July 2001 05.17, D-Man wrote: solve the problem (it ususally does for me) then type something like 'xhost +localhost' in a terminal as a regular user (ie the one who started the xserver). I don't find this a good solution, as you open up your X session to everyone else on your

Re: how to run X apps as root?

2001-07-02 Thread Arne Goetje
Hi, In the root shell type export DISPLAY=:0 so that the X client knows what server to use. If that alone doesn't solve the problem (it ususally does for me) then type something like 'xhost +localhost' in a terminal as a regular user (ie the one who started the xserver). I did both...