Hugh Taylor wrote: [snip]
I'm using .xsession to start xscreensaver and run xmodmap etc. It needs to be executable (chmod o+x .xscreensaver). This works from GDM for me on both RedHat 7.3 and RH 8.0.included the file below (.xsession and .xinitrc are the same). Any ideas? Oh, I'm using RedHat 7.3.------------------------------------------------------------------ #!/bin/bash # I hope this works # redirect errors to a file in user's home directory if we can errfile="$HOME/.xsession-errors" if cp /dev/null "$errfile" 2> /dev/null ; then chmod 600 "$errfile" exec > "$errfile" 2>&1 else errfile=`mktemp -q /tmp/xses-$USER.XXXXXX` if [ $? -eq 0 ]; then exec > "$errfile" 2>&1 fi fi exec /usr/X11R6/bin/xscreensaver & ----------------------------------------------------------------- -- Hugh Taylor <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>/-- Hugh Taylor <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
What is the purpose of the exec in your tests for the existence of a previous error file?
--
Robert G. Werner
[EMAIL PROTECTED]
2001/9/11
Snow Day -- stay home.
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
