Re: root user, graphical programs

2009-05-15 Thread Michael Powell
Pieter Donche wrote: > FreeBSD 7, KDE 3.5 > To install Matlab (in linux compat mode), one must execute the > matlab install program as root. The installer is graphical. > When from a KDE terminal window, I switch to root (# su -) > and try a graphical program, e.g. # xpdf, I get Can't open displa

Re: root user, graphical programs

2009-05-15 Thread Matthew Seaman
Pieter Donche wrote: On Fri, 15 May 2009, Mike Clarke wrote: On Friday 15 May 2009, Pieter Donche wrote: I see from your original post that you're using KDE so you could try a third way: Use to open the run dialog. Enter xpdf or whatever in the "Command area. Click on "Options", select "Run as

Re: root user, graphical programs

2009-05-15 Thread Pieter Donche
On Fri, 15 May 2009, Mike Clarke wrote: On Friday 15 May 2009, Pieter Donche wrote: I see from your original post that you're using KDE so you could try a third way: Use to open the run dialog. Enter xpdf or whatever in the "Command area. Click on "Options", select "Run as a different user and

Re: root user, graphical programs

2009-05-15 Thread Mike Clarke
On Friday 15 May 2009, Pieter Donche wrote: > No luck (yet) I see from your original post that you're using KDE so you could try a third way: Use to open the run dialog. Enter xpdf or whatever in the "Command area. Click on "Options", select "Run as a different user and fill in the username a

Re: root user, graphical programs

2009-05-15 Thread Polytropon
On Fri, 15 May 2009 10:38:34 +0200 (CEST), Pieter Donche wrote: > No luck (yet) > I tried both methods, (with xpdf as a graphical program) > The first still gives > # xpdf > Can't open display > > The second method > # xpdf > No protocol specified > Error: Can't open display: :0.0 > > (after

Re: root user, graphical programs

2009-05-15 Thread Pieter Donche
No luck (yet) I tried both methods, (with xpdf as a graphical program) The first still gives # xpdf Can't open display The second method # xpdf No protocol specified Error: Can't open display: :0.0 (after su -, $HOME was indeed /root) (in /root .Xauthority was changed/created, $DISPLAY is :0.

Re: root user, graphical programs

2009-05-15 Thread Matthew Seaman
Pieter Donche wrote: FreeBSD 7, KDE 3.5 To install Matlab (in linux compat mode), one must execute the matlab install program as root. The installer is graphical. When from a KDE terminal window, I switch to root (# su -) and try a graphical program, e.g. # xpdf, I get Can't open display. The Fr

root user, graphical programs

2009-05-14 Thread Pieter Donche
FreeBSD 7, KDE 3.5 To install Matlab (in linux compat mode), one must execute the matlab install program as root. The installer is graphical. When from a KDE terminal window, I switch to root (# su -) and try a graphical program, e.g. # xpdf, I get Can't open display. The FreeBSD handbook (10.5.1