Hi Terry,
> I thought Lucid was working fine until this morning. I needed to
> change permissions on a partition and launched Konsole to do it
> through bash. Unfortunately, after about 30 secs or so of waiting,
> all I got was an empty Konsole Window with a message in big red
> letters to say that it was unable to find /bin/bash. (I can't
> remember the exact words and it simply doesn't launch any more.)
It would know there was a problem with /bin/bash, the file, without
taking 30 seconds, I'd have thought.
> I then tried to launch 'Console' which also appears in the KDE Launch
> Menu. Same result. I was then able to go into a Virtual Console
> (ALT/CTRL F*) and make my changes without any problems.
At that VT, try
DISPLAY=:0 xterm -ls
and then switch back and see if an xterm has appeared. If it has, you
could try running `konsole' in that to see if any messages give a clue.
you could also see if
strace -f -e trace=execve konsole
sheds any light on whether it runs /bin/bash, and if it fails, what the
return value is.
In that xterm,
echo $$
will tell you the process ID of the shell that's running. If you do
/bin/bash
in it then it should start a new shell as a child. To confirm,
echo $$ $PPID
should print a new PID and the parent PID, which will be the previous
PID printed. Enter `exit' to quit that subshell. If there's no errors
with any of this then it suggests /bin/bash isn't the problem.
See if there's anything at the end of ~/.xsession-errors.
Cheers,
Ralph.
--
Next meeting: C4L and Bournemouth, Wednesday 2010-06-02 19:00
http://dorset.lug.org.uk/ http://www.linkedin.com/groups?gid=2645413
Chat: http://www.mibbit.com/?server=irc.blitzed.org&channel=%23dorset
List info: https://mailman.lug.org.uk/mailman/listinfo/dorset