root user, graphical programs

2009-05-15 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

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

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

Re: root user, graphical programs

2009-05-15 Thread Polytropon
On Fri, 15 May 2009 10:38:34 +0200 (CEST), Pieter Donche pieter.don...@ua.ac.be 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

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 ALT + F2 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

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 ALT + F2 to open the run dialog. Enter xpdf or whatever in the Command area. Click on Options, select Run as a different user

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 ALT + F2 to open the run dialog. Enter xpdf or whatever in the Command area. Click on Options, select

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 display.