Bug 102199 - profile + ssh + multiple tabs = sessions exiting
Summary: profile + ssh + multiple tabs = sessions exiting
Status: RESOLVED INTENTIONAL
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 20:06 UTC by David Cary Hart
Modified: 2009-02-22 19:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cary Hart 2005-03-22 20:06:07 UTC
Version:           1.5 (using KDE 3.4.0-1.1.kde, Fedora Core release 3 (Heidelberg))
Compiler:          gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
OS:                Linux (i686) release 2.6.11.3-031305

A saved profile follows. If I launch this all of the tabs come up. However, if I click on a session tab, the session will close. Individually launching the very same sessions works perfectly.

[1]
ActiveSession=0
Args0=/bin/bash,-c,ssh -t smtp multitail -cS apache /var/log/httpd/access_log -cS apache_error -p l /var/log/httpd/error_log
Args1=/bin/bash,-c,ssh -t smtp multitail -cs /var/log/vsftpd.log
Args2=/bin/bash,-c,ssh -t smtp multitail -cS postfix /var/log/maillog
Args3=/bin/bash,-c,ssh -t smtp multitail -cs /root/spamadds
Args4=/bin/bash,-c,ssh -t smtp multitail -cs /var/log/messages
Args5=/bin/bash,-c,ssh -Y smtp
AutoResizeTabs=false
Cwd0=$HOME
Cwd1=$HOME
Cwd2=$HOME
Cwd3=$HOME
Cwd4=$HOME
Cwd5=$HOME
DefaultSession=1-HTTPD.desktop
DynamicTabHide=false
Encoding0=0
Encoding1=0
Encoding2=0
Encoding3=0
Encoding4=0
Encoding5=0
Font0=3
Font1=3
Font2=3
Font3=3
Font4=3
Font5=3
Fullscreen=false
Height 768=769
Icon0=apacheconf
Icon1=kget
Icon2=icons
Icon3=/winshare/spam.png
Icon4=icon-logbook
Icon5=opentermred
KeyTab0=linux
KeyTab1=linux
KeyTab2=linux
KeyTab3=linux
KeyTab4=linux
KeyTab5=linux
MasterMode0=false
MasterMode1=false
MasterMode2=false
MasterMode3=false
MasterMode4=false
MasterMode5=false
MonitorActivity0=true
MonitorActivity1=false
MonitorActivity2=false
MonitorActivity3=false
MonitorActivity4=false
MonitorActivity5=false
MonitorSilence0=false
MonitorSilence1=false
MonitorSilence2=false
MonitorSilence3=false
MonitorSilence4=false
MonitorSilence5=false
Pgm0=/bin/bash
Pgm1=/bin/bash
Pgm2=/bin/bash
Pgm3=/bin/bash
Pgm4=/bin/bash
Pgm5=/bin/bash
Schema0=Linux.schema
Schema1=Linux.schema
Schema2=Linux.schema
Schema3=Linux.schema
Schema4=BlackOnLightColor.schema
Schema5=BlackOnLightYellow.schema
TabViewMode=0
Term0=linux
Term1=linux
Term2=linux
Term3=linux
Term4=linux
Term5=xterm
Title0=1-HTTPD
Title1=2-FTP
Title2=3-SMTP
Title3=4-SpamBlock
Title4=5-SYSLOG
Title5=Root Console
Width 1024=1025
bellmode=0
class=konsole-mainwindow#1
defaultfont=Monospace,12,-1,5,50,0,0,0,0,0
font=3
history=1000
historyenabled=true
keytab=default
numSes=6
schema=BlackOnLightYellow.schema
scrollbar=2
tabbar=2

[WindowProperties1]
ClassName=Konsole
Height 768=769
ObjectName=konsole-mainwindow#1
Width 1024=1025
Comment 1 Kurt Hindenburg 2005-03-23 06:45:08 UTC
Yea, it exits all the sessions when I use konsole --profile test

In the future, please attach the file instead of pasting... much easier.
Comment 2 Kurt Hindenburg 2005-03-23 07:30:24 UTC
If I change all the Args# to /bin/bash it works as expected.  I can't test the ssh because I don't have that stuff on my system (which is likely my konsole exited in comment #1).

Args1=/bin/bash
Args2=/bin/bash
Args3=/bin/bash
Args0=/bin/bash
Args4=/bin/bash
Args5=/bin/bash

When you click on a session, does JUST that session exit?  or does konsole exit?  Do you get a passive popup saying "... exited with error code ###"?
Comment 3 David Cary Hart 2005-03-23 15:08:24 UTC
Just that session exits. No error code popup. Session 4 (of 0 to 4) is unaffected. 
Comment 4 Kurt Hindenburg 2005-03-23 18:26:00 UTC
I think the issue is the sshs.  I don't have a machine I can ssh into, so I can't test this.  I would have hoped some type of message would be displayed...

If you can shorten the profile down just to wait it takes for this to happen that would be helpful.
Comment 5 David Cary Hart 2005-03-23 18:49:59 UTC
If you want a temporary account to test this on our server, let me know.

I, too, think that the issue is sshs. What I cannot understand is why I can bring these up manually but not as a saved session. 

I have tried multiple "-t" (-t is required to run multitail)
Comment 6 Kurt Hindenburg 2005-03-28 21:50:05 UTC
I think the session exiting is just the ssh ending.  Is it always the same session that exits?  
Try changing the ActiveSession=0 to another session # and see what happens.

In Configure->Notifications do you have 'A session has exited with non-zero status' set to messagebox (or log to file)?  That way, you call tell if the command exited...


Comment 7 Robert Knight 2008-03-18 14:52:04 UTC
Is this still valid?
Comment 8 Kurt Hindenburg 2009-02-22 19:53:43 UTC
Reopen if you  can still reproduce on a KDE 4 system