bash question

Ben Eisenbraun bene-Gk2boCrsRs1AfugRpC6u6w at public.gmane.org
Sun Jan 4 08:54:05 EST 2009


On Sat, Jan 03, 2009 at 06:11:13PM -0500, dan moylan wrote:
> only the GUI.

 $ head -n 1 /etc/gdm/Xsession && grep '\.profile' /etc/gdm/Xsession 
#!/bin/sh
# First read /etc/profile and .profile
test -f "$HOME/.profile" && . "$HOME/.profile"

You could rename your .profile to .bash_profile.  I didn't test it, but I
suspect that would solve your problem with X logins.

-ben

--
copyright infringement is your best entertainment value.
                                      <douglas coupland>





More information about the Discuss mailing list