Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
SuSE Linux: Version 6.0
When loggin in as a tcsh
user, you get the following
error message:
WINDOWMANAGER: Undefined variable.
The tcsh
does not like undefined variables.
SuSEconfig
must check if the status if the
${?VARIABLE}
is "defined" or "undefined".
Patch SuSEconfig
as follows with the command
"patch
":
--- tmp/SuSEconfig Mon Jan 11 17:56:21 1999 +++ /sbin/SuSEconfig Thu Dec 17 10:43:52 1998 @@ -485,7 +485,7 @@ test -z "$WINDOWMANAGER" && WINDOWMANAGER=/usr/X11R6/bin/kde echo "test -z \"\$WINDOWMANAGER\" && WINDOWMANAGER=$WINDOWMANAGER" >> $r/etc/SuSEconfig/profile.SuSEconfig echo "export WINDOWMANAGER" >> $r/etc/SuSEconfig/profile.SuSEconfig -echo "test -z \"\$WINDOWMANAGER\" && setenv WINDOWMANAGER $WINDOWMANAGER" >> $r/etc/SuSEconfig/csh.cshrc.SuSEconfig +echo "if ( ! \${?WINDOWMANAGER} ) setenv WINDOWMANAGER $WINDOWMANAGER" >> $r/etc/SuSEconfig/csh.cshrc.SuSEconfig check_md5_and_move $r/etc/SuSEconfig/profile
If you do not want to use the patch, you could modify the following line
in the file /sbin/SuSEconfig
with your favorite editor:
echo "test -z \"\$WINDOWMANAGER\" && setenv WINDOWMANAGER $WINDOWMANAGER" >> $r/etc/SuSEconfig/csh.cshrc.SuSEconfig
to read
echo "if ( ! \${?WINDOWMANAGER} ) setenv WINDOWMANAGER $WINDOWMANAGER" >> $r/etc/SuSEconfig/csh.cshrc.SuSEconfig
An alternative would be to update the complete package "aaa_base
" from ftp://ftp.suse.com/pub/SuSE-Linux/6.0/suse/a1/aaa_base.rpm;
with YaST or manually (see. pakete_manuell.html).
See also:
Keywords: TCSH, WINDOWMANAGER, SUSECONFIG, 6.0
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch