Terminal Window Never Shows Up
Bug #186109 reported by
Mike T.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sshmenu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sshmenu
I have recently upgraded through apt-get to the latest Hardy release and found out that sshmenu 3.14-2 (installed from the Ubuntu repos) doesn't seem to work properly.
Steps to reproduce:
- Install sshmenu 3.14-2 from the repos via Synaptic or apt-get
- Add a Host to the sshmenu applet with the following config
Title: domain.com
Hostname (etc): <email address hidden>
- Save the new host and then click the option you just created from sshmenu. Your terminal window will never show up.
P.S. I know ssh is installed and working properly as I can open a Terminal window manually and run the following command just fine:
ssh <email address hidden>
Related branches
Changed in sshmenu: | |
assignee: | nobody → ember |
status: | New → Fix Committed |
To post a comment you must log in.
I'm the developer of SSHMenu - here's my response to a similar report on SourceForge:
I don't have access to a system with the latest gnome-terminal, so remote debugging is the order of the day :-)
Ultimately, all SSHMenu does is call gnome-terminal with a list of arguments. I'm guessing that the gnome-terminal segfault will be reproducible if we can directly invoke gnome-terminal with the same arguments - and thus take SSHMenu out of the equation.
Looking at the commit history for gnome-terminal, it looks like command-line option handling was ported from popt to Goption in January and this may be relevant.
It's also possible that gnome-terminal's valid options have changed and SSHMenu will need to be tweaked to generate command lines compatible with the new version.
If a host is defined in SSHMenu with these parameters ...
Title: Local Host
Hostname: localhost
Geometry:
Profile: <None>
... then this is the command which will be run:
gnome-terminal --title="Local Host" -e "sh -c \"ssh localhost\""
If the geometry is set to the top right corner then this command will be run:
gnome-terminal --geometry= 80x24-0+ 25 --title="Local Host" -e "sh -c \"ssh localhost\""
If the "Big Font" profile is selected, then this command will be run:
gnome-terminal --geometry= 80x24-0+ 25 --window- with-profile= "Big Font" --title="Local Host" -e "sh -c \"ssh localhost\""
If a non-Unicode Polish locale is selected by setting:
Hostname: LC_ALL= "pl_PL. iso-8859- 2" localhost
Then this command will be run:
LC_ALL= "pl_PL. iso-8859- 2" gnome-terminal --disable-factory --geometry= 80x24-0+ 25 --window- with-profile= "Big Font" --title="Local Host" -e "sh -c \"ssh localhost\""
Can you please try these commands and see if any of them cause the same segfault?
The latest version of sshmenu.rb in subversion accepts a '-d' option which enables debugging output to STDOUT. I use it by invoking the standalone (non-applet) version of SSHMenu like this:
sshmenu-gnome -d
The latest version of this library is here:
https:/ /sshmenu. svn.sourceforge .net/svnroot/ sshmenu/ modules/ sshmenu/ trunk/lib/ sshmenu. rb
Let me know how you get on.
Thanks
Grant
<email address hidden>