"Root midnight commander" session crashes on startup

Bug #93063 reported by Alastair
8
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: konsole

When trying to launch a root session of Midnight Commander in Konsole, it crashes. I managed to fix the problem by opening an ordinary session (non root) and going to Tools>Configure Konsole and opening Session Tab. Under Session tab I selected Root Midnight Commander and found the following in the execute box.
su -c 'mc -c'
I changed this to sudo su -c 'mc -c' and the program now starts normally. Not even sure if this is a bug but shouldn't it be enabled by default? I found this with Ubuntu 6.06 and with Kubuntu 6.10.
Cheers,
Alastair

Related branches

Revision history for this message
Daniel Hahler (blueyed) wrote :

I guess you mean "New Root Midnight Commander" from the Konsole session menu.
This is then a konsole bug, and I can confirm it in Ubuntu Hardy.

When starting the session, you get asked for the password, but then it exits, probably with "su: Authentication failure"

Changed in mc:
assignee: nobody → blueyed
status: New → In Progress
Daniel Hahler (blueyed)
Changed in kdebase:
assignee: blueyed → nobody
importance: Undecided → Low
status: In Progress → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

I could also provide a bzr branch with this patch, but I think it's overkill for a small bugfix.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Sorry, jd-v for subscribing you, typo on my behalf.

Daniel Hahler (blueyed)
description: updated
Revision history for this message
Daniel Holbach (dholbach) wrote :

Sorry, bug spam necessary because of bug 176085.

This bug has a patch attached, which needs review and sponsoring.

Revision history for this message
Jonathan Riddell (jr) wrote :

kdebase (4:3.5.8-2ubuntu6) hardy; urgency=low

  * Add kubuntu_9915_userdiskmount.diff from Eugene Tretyak
    Adds user hard disk mounting
    Closes LP: #177036
  * Add kubuntu_9916_konsole_mc_shell.diff from Daniel Hahler
    Closes LP: #93063

 -- Jonathan Riddell <email address hidden> Wed, 19 Dec 2007 14:03:58 +0000

Changed in kdebase:
status: Triaged → Fix Released
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.