More, less, etc.

David Kuehling dvdkhlng at
Thu Dec 30 12:02:37 EST 2010

Hi Xiangfu,

>>> seems when we launch 'bash' or 'ash' from gmenu2x, the shell just
>>> don't load the "/etc/profiel".
>> Yes, it also doesn't change to the root user's home directory.  I
>> think we need to start 'bash' and 'ash' as login shells.
>> /usr/bin/bash --login

> thanks. David Kuehling.
> applied:

I think we might have needlessly complicated things.

A more correct solution would be to run gmenu2x from a login shell, then
bash and ash can be started just normally from within gmenu2x
(i.e. without using --login).

To start gmenu2x from a login shell it might be sufficient to change the
first line of /usr/bin/gmenu2x to:

#! /bin/sh --login

I think this is similar to how normal X-windows sessions work.


GnuPG public key:
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the discussion mailing list