Login Shell

Bug #195043 reported by Fozzmeister
2
Affects Status Importance Assigned to Milestone
Terminator
Fix Released
High
Chris Jones

Bug Description

in Gnome-Terminal I set it as a "Login Shell" which makes my Keychain work, It'd be nice to have this option in Terminator

Revision history for this message
Chris Jones (cmsj) wrote :

Strange, we are supposed to follow the GNOME Terminal profile for this.
Can you provide a testcase?

Changed in terminator:
status: New → Incomplete
Revision history for this message
Chris Jones (cmsj) wrote :

I suspect this might be that we're not calling bash with a - so it doesn't know it's a login shell. Either way, this should be confirmed&fixed, or rejected by 0.9.

Changed in terminator:
importance: Undecided → High
milestone: none → 0.9
Revision history for this message
Chris Jones (cmsj) wrote :

I did some research on this and I'm not exactly sure why it's happening - the vte widget's fork_command() function should be setting login shells for us when we pass it the appropriate setting, but it's not doing it. Further investigation is required.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

in 0.8 on hardy when I set the login shell feature in gnome-terminal it works as expected...

I'll have to test 0.9bzr still..

Revision history for this message
Chris Jones (cmsj) wrote :

Thanks to some IRC info from \sh this is now fixed in trunk. We update the system records like we should, but we don't tell bash that it is a login shell. Fixed by commit 343..

Changed in terminator:
assignee: nobody → cmsj
status: Incomplete → Fix Committed
Revision history for this message
Chris Jones (cmsj) wrote :

0.9 has now been released and should fix this.

Changed in terminator:
status: Fix Committed → Fix Released
Revision history for this message
machrider (machrider) wrote :

Did this regress? On Ubuntu Lucid, running terminator 0.93-0ubuntu1, I have gnome-terminal configured to provide a login shell, but terminator doesn't do it. terminator -e "bash -l" works as I'd expect.

Revision history for this message
Chris Jones (cmsj) wrote :

machrider: right click on a terminal and check the preferences, then in the Profiles tab go into the Command sub-tab, you can control whether or not a given profile runs its shells as login shells.

Revision history for this message
olistik (olistik) wrote :

I'm experiencing the same issue:

in gnome-terminal -> edit -> profile preferences -> title and command -> "run command as login shell" is checked
As an example, when using rvm [0] the following error happens in terminator but not in gnome-terminal:

$ rvm use 1.9.3

RVM is not a function, selecting rubies with 'rvm use ...' will not work.

You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.

[0] http://rvm.io

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.