Bug 139253 - Starting konsole sessions gives error with command arguments
Summary: Starting konsole sessions gives error with command arguments
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-26 21:54 UTC by Volker Kuhlmann
Modified: 2008-03-18 10:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Kuhlmann 2006-12-26 21:54:52 UTC
Version:           1.6 (using KDE 3.5.1 Level "a" , SUSE 10.1)
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.16.21-0.25-default

Konsole has fatal problems starting some of its sessions, specifically those
which require arguments for the command to run for this particular konsole
session.

In konsole->settings->configure konsole->session tab->general:execute many
arguments are not accepted. For example it is impossible to start a super user
konsole session (e.g. by holding click on the new tab icon and selecting Root
Shell) because the command to execute is "su -" or "su -l". This produces a
command argument error inside konsole (start konsole from a shell to see its
stderr output) and the session window never opens. However, changing the
command to "env su -l" works fine. Several other default commands shipped with
konsole fail as well, likewise many of those I enter myself. I can't see a
pattern in the commands that fail vs those that don't.

This problem exists with 10.2 GM, as well as 10.1 with current updates. I'm
pretty sure it did not exist with 10.1 boxed media, and was introduced with one
of the KDE updates. Problem exists with both i386 and x86_64.

https://bugzilla.novell.com/show_bug.cgi?id=230793
Comment 1 Robert Knight 2006-12-26 22:50:48 UTC
Hello Volker,

Could you provide the stderr output you get when running Konsole from a shell? There is a problem on my PC as well, but this is caused by the use of sudo rather than su in the Ubuntu distributions.

Can you list those commands which do work vs. those that do not? 
Comment 2 Robert Knight 2008-03-18 03:03:10 UTC
Closing this report for now as there has not been a response to comment #1
Comment 3 Volker Kuhlmann 2008-03-18 10:16:39 UTC
Sorry, I totally forgot about this.

I just tried this again with openSUSE 10.3 current updates, and the commands

su -l
sux -
sux - user2

all work as expected in a console sesion, with the login shell either bash or tcsh.