FVWM: Re: Solaris running xlock/xclock

From: David S. Goldberg <dsg_at_linus.mitre.org>
Date: 20 Mar 1997 12:07:37 -0500

>>>>> Kendrick Vargas writes:

> My sysadmin claims he debugged a similar problem a while back and
> said that if the USER env isn't properly set in the .xsession[...]

He's right, except his memory has failed him a bit. It's LOGNAME, not
USER that's the problem. I have my .profile (which I source in my
.xsession) set up like this:

[...Lots of irrelevant stuff...]
LOGNAME=${USER-`whoami`}
USER=${USER-$LOGNAME}

export LOGNAME USER
[...Lots more irrelevant stuff...]

This way $LOGNAME and $USER are both guranteed to be set ($USER is
needed for some other programs and while one can generally expect
login to set it, I'm paranoid about these things :-)

If you want to get the latest xlock, it's available from ftp.x.org
somewhere in the contrib area. I think applications, but it might be
utilities.

--
Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg_at_mitre.org
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Mar 20 1997 - 11:12:22 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST