netcfg and "no $DISPLAY variable"

netcfg and "no $DISPLAY variable"

Post by Sander Wissin » Fri, 07 May 1999 04:00:00



Hi all,

I am running RedHat, 2.0.31 kernel and can't run netcfg.  I get a
traceback ending in "no $DISPLAY variable".  How do I set the
$DISPLAY variable and what do I set it to?

Thanks

Sander Wissing

 
 
 

netcfg and "no $DISPLAY variable"

Post by mist » Fri, 07 May 1999 04:00:00



Quote:>Hi all,

>I am running RedHat, 2.0.31 kernel and can't run netcfg.  I get a
>traceback ending in "no $DISPLAY variable".  How do I set the
>$DISPLAY variable and what do I set it to?

From a bash shell xterm, assuming you are running in X?

export DISPLAY=:0.0

You might want to upgrade your kernel, too.  It's a bit old now.
--
Mist.

 
 
 

netcfg and "no $DISPLAY variable"

Post by brian » Fri, 07 May 1999 04:00:00


Quote:

>You might want to upgrade your kernel, too.  It's a bit old now.
>--

Hey - this isn't Micro$oft.  You don't *have* to upgrade if you don't want -
if this kenel works for him/her then fine.  If it ain't broke, don't fix it.
 
 
 

netcfg and "no $DISPLAY variable"

Post by mist » Fri, 07 May 1999 04:00:00



Quote:

>>You might want to upgrade your kernel, too.  It's a bit old now.

>Hey - this isn't Micro$oft.

And blessed be for that.  8-)

Quote:>  You don't *have* to upgrade if you don't want -
>if this kenel works for him/her then fine.  If it ain't broke, don't fix it.

True, but there are bug fixes and added features in newer kernels.
Personal preference I suppose.
--
Mist.