[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#250765: kdm: never spawns a login shell; thus ~/.bash_profile is never read



also sprach Bob Proulx <bob@proulx.com> [2004.06.01.0108 +0200]:
> Perhaps.  But how?  The implementation for different users with bash,
> csh, zsh, ksh, some other weird shell, is probably not impossible but
> I can't think of a way to handle it cleanly.

exec $(getent passwd `whoami` | cut -d: -f7) --login -c Xsession

?

>   #!/bin/bash --login
>   exec x-session-manager  # or startkde or fvwm or whatever

Thanks. That's what I have been doing. It's just ugly...

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: signature.asc
Description: Digital signature


Reply to: