Re: after 'su -', 'Can't open display'

2001-03-02 Thread Ron Peterson
> When I start X Windows, using the KDE window manager, I change to root > (with su - ) > for administrative tasks. However I seem unable to run X window > applications. > > Whatever X application I try to run, I inevitably get a message similar > to "... unable to open display". Try this. W

Re: after 'su -', 'Can't open display'

2001-02-20 Thread James Sinnamon
Sam, SamBozo Debian User wrote: > Pardon me I'm a newbie here so this may not be what you are looking for. > > ALT-F2 (any number from 2-6) > login as root (or as user then su to root) > start x -- :1 > > > Hope that works for you. > ... not exactly, but having a second X server running seems

Re: after 'su -', 'Can't open display'

2001-02-20 Thread Erdmut Pfeifer
On Wed, Feb 21, 2001 at 09:46:35AM +1000, James Sinnamon wrote: > > > > Martin, > > Thank you for your suggestion ... > > > > Hi, > > > > By default the Xserver doesn't listen to the tcp port (for security > > reasons) and I'll guess thats the reason for your problem. I've added the > > follo

Re: after 'su -', 'Can't open display'

2001-02-20 Thread hanasaki
You need to set your DISPLAY=host:0.0 env var. You may also have to use xhost to allow permisions to open the display. On Wed, 21 Feb 2001, James Sinnamon wrote: > Dear Debian user's, > > My apologies for a question that should have been answered over and over > again on this > list (I have sea

Re: after 'su -', 'Can't open display'

2001-02-20 Thread David B . Harris
To quote James Sinnamon <[EMAIL PROTECTED]>, # My apologies for a question that should have been answered over and over # again on this No problem at all :) But check the archives next time. Since you have a specific string to seach for("Can't open display"), a search would provide good results.

Re: after 'su -', 'Can't open display'

2001-02-20 Thread James Sinnamon
Martin, Thank you for your suggestion ... > Hi, > > By default the Xserver doesn't listen to the tcp port (for security > reasons) and I'll guess thats the reason for your problem. I've added the > following few lines to the /root/.bashrc file: > >if [ ! "$LOGNAME" = "root" ] ; then >

Re: after 'su -', 'Can't open display'

2001-02-20 Thread Carel Fellinger
On Tue, Feb 20, 2001 at 02:43:13PM +0200, Martin Fluch wrote: > Hi, > > By default the Xserver doesn't listen to the tcp port (for security > reasons) and I'll guess thats the reason for your problem. I've added the > following few lines to the /root/.bashrc file: > >if [ ! "$LOGNAME" = "root

Re: after 'su -', 'Can't open display'

2001-02-20 Thread Martin Fluch
Hi, By default the Xserver doesn't listen to the tcp port (for security reasons) and I'll guess thats the reason for your problem. I've added the following few lines to the /root/.bashrc file: if [ ! "$LOGNAME" = "root" ] ; then export XAUTHORITY=/home/$LOGNAME/.Xauthority fi This

after 'su -', 'Can't open display'

2001-02-20 Thread James Sinnamon
Dear Debian user's, My apologies for a question that should have been answered over and over again on this list (I have searced but not been able to find an answer), or if I am on the wrong list. When I start X Windows, using the KDE window manager, I change to root (with su - ) for administrat