Re: running browser as user different than root

2020-06-01 Thread Roberto Ragusa
On 2020-06-01 10:37, Roberto Ragusa wrote: The new user must have the EXPORT variable set to :0   export DISPLAY=:0 Replying to myself to fix a mistake that would remain in the ML archives. The new user must have an exported DISPLAY variable set to :0 export DISPLAY=:0 -- Roberto

Re: running browser as user different than root

2020-06-01 Thread bruce
Hi Roberto You are 'da man! this worked xhost si:localuser:test using this in the "root" term window, and then running the cmd to fire up the test firefox browser generated the process. when i now run "xhost" from the root term, i see the different values. I suppose I can "safely"

Re: running browser as user different than root

2020-06-01 Thread Roberto Ragusa
On 2020-06-01 12:31, bruce wrote: Hi Roberto Thanks for the reply. On Mon, Jun 1, 2020 at 4:38 AM Roberto Ragusa wrote: xhost si:localuser:thenameofthenewuser xhost si:root:test "localuser" is a string that you do not have to change, it specifies the kind of rule we are doing.

Re: running browser as user different than root

2020-06-01 Thread bruce
Hi Roberto Thanks for the reply. On Mon, Jun 1, 2020 at 4:38 AM Roberto Ragusa wrote: > > On 2020-06-01 05:35, bruce wrote: > > > However, if I fire up a term as another user, and then from the > > cmdline, fire up chromium, I get an err msg > > > > No protocol specified > > Gtk-WARNING **:

Re: running browser as user different than root

2020-06-01 Thread Roberto Ragusa
On 2020-06-01 05:35, bruce wrote: However, if I fire up a term as another user, and then from the cmdline, fire up chromium, I get an err msg No protocol specified Gtk-WARNING **: cannot open display: :0 I've been researching trying to figure out how to resolve this. The new user must

Re: running browser as user different than root

2020-06-01 Thread Samuel Sieb
On 5/31/20 8:35 PM, bruce wrote: Trying to understand/figure out some things. I've logged in as root I can start a browser -- FF, or chromium, no issue. (I know.. I shouldn't. but I can. However, if I fire up a term as another user, and then from the cmdline, fire up chromium, I get an err

Re: running browser as user different than root

2020-05-31 Thread Todd Zullinger
Hi, bruce wrote: > Trying to understand/figure out some things. > > I've logged in as root There's really no point in looking for a way to improve things once you've done this. You're way outside of reasonable, secure, and supportable practices in doing that. If you really think you have a

running browser as user different than root

2020-05-31 Thread bruce
Hi. Trying to understand/figure out some things. I've logged in as root I can start a browser -- FF, or chromium, no issue. (I know.. I shouldn't. but I can. However, if I fire up a term as another user, and then from the cmdline, fire up chromium, I get an err msg No protocol specified