Summary: | Regular Konsole opens to Super Root for a password instead of user bash. | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | james |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | major | CC: | james, nate, wbauer1 |
Priority: | NOR | ||
Version: | 17.04.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
james
2017-06-18 07:49:53 UTC
This is almost certainly a profile, configuration, or packaging issue. Please report downstream on the openSUSE bugzilla: https://bugzilla.opensuse.org/ (In reply to Nate Graham from comment #1) > This is almost certainly a profile, configuration, or packaging issue. > Please report downstream on the openSUSE bugzilla: > https://bugzilla.opensuse.org/ I have tried to speak to the folks at openSUSE and they blame the config or me. It is an install right out of the box so I don't understand how I could be to blame. So, since it's KDE, I thought I would try here. thanks for your help. No problem. If this was a KDE issue, it would be much more widespread. The behavior of upstream software is strongly affected by configuration and packaging. Are you using Konsole in KDE Plasma, or another desktop environment? Is your openSUSE install Tumbleweed or LEAP? Are you logging in as root or something? Nate Graham:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #3 from Nate Graham <pointedstick@zoho.com> ---
> No problem. If this was a KDE issue, it would be much more widespread. The
> behavior of upstream software is strongly affected by configuration and
> packaging.
>
> Are you using Konsole in KDE Plasma, or another desktop environment? Is your
> openSUSE install Tumbleweed or LEAP? Are you logging in as root or something?
>
I am using Konsole in KDE Plasma. The original install was LEAP and I
'upgraded' to Tumbleweed. The issue is still present. I log in as a user.
James Bunnell
IIRC upgrades from Leap to Tumbleweed can be buggy. Does it reproduce if you start off with a new Tumbleweed install? I used TW (installed fresh) for many months recently and never encountered this issue. Nate Graham:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #5 from Nate Graham <pointedstick@zoho.com> ---
> IIRC upgrades from Leap to Tumbleweed can be buggy. Does it reproduce if you
> start off with a new Tumbleweed install? I used TW (installed fresh) for many
> months recently and never encountered this issue.
>
I really hate to install TW fresh. However, I have never seen this in
any linux distro before. It did appear there in LEAP before the TW
change so I doubt the TW upgrade would affect it. I'll just resign
myself to using gnome-terminal I guess for non root issues. And realize
I have 2 super root konsoles.
Sounds to me like you somehow made the "Root Shell" profile (that openSUSE ships for that additional "Terminal - Super user mode" application menu entry) the default. To "fix" it, go into Settings->Manage Profiles and set a different one as default (if there is no other profile, create a new one). I'm 100% sure this is not a downstream issue, except for the fact that openSUSE does ship that profile in their package. Btw, installing fresh most often does not solve problems. Better try a fresh user account first to see whether it's a system-wide issue or related to the user settings. Or delete the user settings, in this case ~/.config/konsolerc and ~/.local/share/konsole/. (In reply to Wolfgang Bauer from comment #7) > To "fix" it, go into Settings->Manage Profiles and set a different one as > default (if there is no other profile, create a new one). PS: if you create a new one, make sure the command is set to sh, and not "su -" (or you'll just get another root mode profile). Wolfgang Bauer:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> Wolfgang Bauer <wbauer@tmo.at> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |wbauer@tmo.at
>
> --- Comment #7 from Wolfgang Bauer <wbauer@tmo.at> ---
> Sounds to me like you somehow made the "Root Shell" profile (that openSUSE
> ships for that additional "Terminal - Super user mode" application menu entry)
> the default.
>
> To "fix" it, go into Settings->Manage Profiles and set a different one as
> default (if there is no other profile, create a new one).
>
> I'm 100% sure this is not a downstream issue, except for the fact that openSUSE
> does ship that profile in their package.
>
> Btw, installing fresh most often does not solve problems. Better try a fresh
> user account first to see whether it's a system-wide issue or related to the
> user settings.
> Or delete the user settings, in this case ~/.config/konsolerc and
> ~/.local/share/konsole/.
>
I signed into super user to do the above and before the prompt for my
user, i got this:
Password:
-bash: eval: line 24: unexpected EOF while looking for matching `"'
-bash: eval: line 25: syntax error: unexpected end of file
this was in the superuser term, the regular term is unusable since now
it flips all over my screen too.
Wolfgang Bauer:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> Wolfgang Bauer <wbauer@tmo.at> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |wbauer@tmo.at
>
> --- Comment #7 from Wolfgang Bauer <wbauer@tmo.at> ---
> Sounds to me like you somehow made the "Root Shell" profile (that openSUSE
> ships for that additional "Terminal - Super user mode" application menu entry)
> the default.
>
> To "fix" it, go into Settings->Manage Profiles and set a different one as
> default (if there is no other profile, create a new one).
>
> I'm 100% sure this is not a downstream issue, except for the fact that openSUSE
> does ship that profile in their package.
>
> Btw, installing fresh most often does not solve problems. Better try a fresh
> user account first to see whether it's a system-wide issue or related to the
> user settings.
> Or delete the user settings, in this case ~/.config/konsolerc and
> ~/.local/share/konsole/.
>
By the way, neither of those files above exist.!
(In reply to james from comment #9) > > Or delete the user settings, in this case ~/.config/konsolerc and > > ~/.local/share/konsole/. > > > By the way, neither of those files above exist.! They must exist, if you ever made any change to the settings/profiles. For clarification, ~ is a shortcut for the current user's home directory. And be aware that if you are in the "Root Mode" profile, ~ will point to root's home directory instead of your user's. So better use a file manager (run as user) to delete them and your problem should be fixed. Wolfgang Bauer:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #11 from Wolfgang Bauer <wbauer@tmo.at> ---
> (In reply to james from comment #9)
>>> Or delete the user settings, in this case ~/.config/konsolerc and
>>> ~/.local/share/konsole/.
>>>
>> By the way, neither of those files above exist.!
>
> They must exist, if you ever made any change to the settings/profiles.
>
> For clarification, ~ is a shortcut for the current user's home directory. And
> be aware that if you are in the "Root Mode" profile, ~ will point to root's
> home directory instead of your user's.
>
> So better use a file manager (run as user) to delete them and your problem
> should be fixed.
>
I checked it that way with a file manager and I'm telling ya, neither
exist! I think it's possessed :)
(In reply to james from comment #12) > I checked it that way with a file manager and I'm telling ya, neither > exist! I think it's possessed :) Did you enable the option "Show hidden files" in your file manager? Files/directories starting with a '.' are normally not shown by default. Or run any other terminal app (e.g. xterm or gnome-terminal) as user and enter the following command to reset Konsole's settings to the defaults: rm -r ~/.config/konsolerc ~/.local/share/konsole Wolfgang Bauer:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #13 from Wolfgang Bauer <wbauer@tmo.at> ---
> (In reply to james from comment #12)
>> I checked it that way with a file manager and I'm telling ya, neither
>> exist! I think it's possessed :)
>
> Did you enable the option "Show hidden files" in your file manager?
> Files/directories starting with a '.' are normally not shown by default.
>
> Or run any other terminal app (e.g. xterm or gnome-terminal) as user and enter
> the following command to reset Konsole's settings to the defaults:
> rm -r ~/.config/konsolerc ~/.local/share/konsole
>
ok, i tried both options above, one with the dolphin, and the other with
the command line. then i open konsole and its the same with a password
prompt. :/
(In reply to james from comment #14) > ok, i tried both options above, one with the dolphin, and the other with > the command line. then i open konsole and its the same with a password > prompt. :/ Then try to reset the KDE4 konsole settings/profiles too: rm -r ~/.config/konsolerc ~/.local/share/konsole ~/.kde4/share/config/konsolerc ~/.kde4/share/apps/konsole Maybe that is already messed up, and Konsole/KF5 will migrate that on first start... Wolfgang Bauer:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #15 from Wolfgang Bauer <wbauer@tmo.at> ---
> (In reply to james from comment #14)
>> ok, i tried both options above, one with the dolphin, and the other with
>> the command line. then i open konsole and its the same with a password
>> prompt. :/
>
> Then try to reset the KDE4 konsole settings/profiles too:
> rm -r ~/.config/konsolerc ~/.local/share/konsole ~/.kde4/share/config/konsolerc
> ~/.kde4/share/apps/konsole
>
> Maybe that is already messed up, and Konsole/KF5 will migrate that on first
> start...
>
it did one thing, the screen was stuck on a white background, now it's
black. but still a password prompt.
(In reply to james from comment #16) > it did one thing, the screen was stuck on a white background, now it's > black. but still a password prompt. Yes, black is the default background, and white the default for openSUSE's "Root Shell" profile. What password prompt are you still getting? I have to admit that I'm running out of ideas now, and I'm not really sure what your current problem is. But, to repeat myself: Try a fresh user account. Does the same happen there too? Or create a new profile in Konsole and set it as default. But to be sure, do it like this: - Go into Settings-> Manage Profiles - Click on an empty space to make sure that no profile is pre-selected (that would be taken as "template") - Click on "New Profile..." - Make sure that there's no mention of "su" in the "Command" text field (it should likely be "/bin/bash") - Click "Ok", you should get back to the previous dialog - Select your newly created profile, if it's not already selected - Click on the "Set as Default" button Wolfgang Bauer:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #17 from Wolfgang Bauer <wbauer@tmo.at> ---
> (In reply to james from comment #16)
>> it did one thing, the screen was stuck on a white background, now it's
>> black. but still a password prompt.
>
> Yes, black is the default background, and white the default for openSUSE's
> "Root Shell" profile.
>
> What password prompt are you still getting?
>
> I have to admit that I'm running out of ideas now, and I'm not really sure what
> your current problem is.
>
> But, to repeat myself:
>
> Try a fresh user account. Does the same happen there too?
>
> Or create a new profile in Konsole and set it as default.
> But to be sure, do it like this:
> - Go into Settings-> Manage Profiles
> - Click on an empty space to make sure that no profile is pre-selected (that
> would be taken as "template")
> - Click on "New Profile..."
> - Make sure that there's no mention of "su" in the "Command" text field (it
> should likely be "/bin/bash")
> - Click "Ok", you should get back to the previous dialog
> - Select your newly created profile, if it's not already selected
> - Click on the "Set as Default" button
>
I've tried everything you've suggested. the password prompt is
"Password:" no prompt for my user. i'm just gonna use the
gnome-terminal. thanks for your help.
what does invalid mean? it is valid. i dont understand that. and it was not resolved. thanks. Invalid means there is something wrong on your system which we cannot fix. Christoph Feck:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #20 from Christoph Feck <cfeck@kde.org> ---
> Invalid means there is something wrong on your system which we cannot fix.
>
indeed, konsole does not open at all now. so whatever that clean install
did from that dvd, something is wrong with it on my system. good enough.
i use a different terminal anyway, konsole is trash on my system. thanks
for the attempts to blame me for your software on my system out of the
box. "It's a feature."
Are you sure it is a clean install? Many people are not aware that reinstalling Linux will usually never erase any files in /home/, in other words, you will have the same (buggy) configuration as before. Christoph Feck:
> https://bugs.kde.org/show_bug.cgi?id=381350
>
> --- Comment #22 from Christoph Feck <cfeck@kde.org> ---
> Are you sure it is a clean install? Many people are not aware that reinstalling
> Linux will usually never erase any files in /home/, in other words, you will
> have the same (buggy) configuration as before.
>
Yes, right off the DVD I downloaded. First time install.
Are you sure the DVD installer formats all partitions? All installers I know preserve the existing partitions, unless you explicitely mark them for formatting. |