Menu

#700 lxterminal -l runs /bin/sh, not the users preferred shell.

None
closed-fixed
nobody
lxterminal (80)
5
2015-03-30
2014-10-30
No

When starting lxterminal with the '-l' argument to get a login shell, it executes '/bin/sh -l'. On most systems /bin/sh is a minimalist shell that is not the default shell most users use (typically /bin/bash) as specified in /etc/passwd and set by chsh.

This has the surprising consequences of 'lxterminal -l' giving you different and less featured shell to 'lxterminal'.

Discussion

  • Donovan Baarda

    Donovan Baarda - 2014-10-30

    Note that '-l' also only applies to the first tab, not subsequent tabs, so your first tab is a login /bin/sh, and tabs opened after that are non-login /bin/bash shells.

     
  • FinboySlick

    FinboySlick - 2015-03-30

    Current git version now properly selects the user shell and makes it a login shell. This fix will be included in the next release.

     
  • FinboySlick

    FinboySlick - 2015-03-30
    • status: open --> closed-fixed
    • Group: -->
     

Log in to post a comment.