This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Password problem in Konsole

Tags: None
(comma "," separated)
robbyk
Registered Member
Posts
6
Karma
0

Password problem in Konsole

Wed Jan 28, 2015 12:55 pm
I wasn't sure where to put this, and this sounded like a good spot. I have just done a fresh install of Kubuntu 14.10, everything is working great except, when I try to do something in Konsole. I type in the command, it ask for the password, I put that in and it tells me wrong password, and I know for a fact it's right. It does this two more times and says too many wrong attempts. I re-type the command and this time it takes my password no problem, the exact same password I used earlier. I just have to put it in three times, and re-type the command before it takes my password.

My question is does anyone have an idea of how to fix this. I'm not reaal concerned with why, just how to fix it. I will take any and all suggestions, and I do appreciate the help.

Robby
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Password problem in Konsole

Wed Jan 28, 2015 1:16 pm
just to clarify:
- when running any command in Konsole it asks for a password? or when using sudo to run as root?
- the commands are command line operations and/or opening a gui app?
- though a fresh install you're using your existing ~/ folder ?

If you use a different terminal (xterm, nor Yakuake) does the issue happen?

Does this happen with a new/different user?


OpenSuse Leap 42.1 x64, Plasma 5.x

robbyk
Registered Member
Posts
6
Karma
0

Re: Password problem in Konsole

Wed Jan 28, 2015 7:46 pm
google01103 wrote:just to clarify:
- when running any command in Konsole it asks for a password? or when using sudo to run as root?
- the commands are command line operations and/or opening a gui app?
- though a fresh install you're using your existing ~/ folder ?

If you use a different terminal (xterm, nor Yakuake) does the issue happen?

Does this happen with a new/different user?


I'm sorry, I really should have thought about explaining that better. I know better.

1. If I try to install a program through the cli, I type in "sudo apt-get install whatever", then put in my password, and it says wrong password, three times then defaults back to "user@user::~?", I retype my command and it accepts the password.

2. if it ask for a password, this happens, it doesn't matter what type of command, if it ask for password, it's going to do this.

3. I did move the "Documents", and "Pictures" folder to a different partition, but everything else is still in "~/".

4. I had to install x-term after reading your question, x-term does not do this, it's only konsole, I hadn't thought about it, but if x-term works, I don't need to worry about Konsole.

I haven't created a new account to test, if x-term hadn't worked I would have, but I'll just use x-term,

Thank You for your help, I don't know why I didn't think to install x-term and try it before posting. I'll just mark this as Solved.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Password problem in Konsole

Wed Jan 28, 2015 8:04 pm
don't mark as solved, xterm is but a workaround not a solution

couple more things to try:
- does it happen using krunner (alt+F2)?
- if you create a new account to test we can determine if its your config or the system


OpenSuse Leap 42.1 x64, Plasma 5.x

robbyk
Registered Member
Posts
6
Karma
0

Re: Password problem in Konsole

Wed Jan 28, 2015 11:41 pm
Thank you for your concern, I did create a new account, and it also does not recognize the password the first time. Again I had to type it in the three times, and it defaulted back to the prompt, I retype the command (actually I hit the up key), and hit enter, type the same password, and it accepts it. So I logged out of the second account to log into my account, and ended up I had to restart because it would not accept my password.

Then when restarting there was a short error msg, I didn't see the first line, but the second line said "booting in blind mode". Luckily I have my account set to auto-login, so restarting did get me in. I guess it's more serious than I thought it was. So I do appreciate you not taking x-term for an answer.

Just tell me what to do, I've been using Linux for about a year, but I'm still such a noob.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Password problem in Konsole

Thu Jan 29, 2015 12:07 pm
if you go to a virtual terminal alt+ctrl+F1 and login is your password accepted the 1st time AND if so does sudo work? if not then I'd say not a KDE problem

I marked the thread as unsolved but have no idea what your issue is or how to solve it, would suggest you repost the issue with a new title something like "kdesudo & sudo password not initially accepted" also look/post on the *buntu forums as this may not be a non-KDE thing especially if the alt+ctrl+F1 login experiences the same

update: can you try using kdesudo instead of sudo and try opening kate as root - not sure it will show anything, just curious

I have never seen the mode message but Google'ing "error: no suitable video mode found" I get the feeling its a Grub video issue and not related to your password problem. As this is beyond my knowledge I'm not gonna suggest anything except maybe post on the Kubuntu forum and include your graphics card information and the contents of file /etc/default/grub specifically the GRUB_TERMINAL= and GRUB_GFXMODE= lines


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Password problem in Konsole  Topic is solved

Thu Jan 29, 2015 2:00 pm
can you reinstall the sudo package

this may help (or not) http://askubuntu.com/questions/248853/g ... d-is-wrong

quick recap:
- sudo in Konsole not working properly
- sudo in xterm working
- same issue when logging into KDE
- unk when logging in terminal session alt+ctrl+F1
- unk when logging in terminal session alt+ctrl+F1 AND sunning sudo
- unk when using kdesudo


OpenSuse Leap 42.1 x64, Plasma 5.x

robbyk
Registered Member
Posts
6
Karma
0

Re: Password problem in Konsole

Thu Jan 29, 2015 7:11 pm
google01103 wrote:can you reinstall the sudo package

this may help (or not) http://askubuntu.com/questions/248853/g ... d-is-wrong

quick recap:
- sudo in Konsole not working properly
- sudo in xterm working
- same issue when logging into KDE
- unk when logging in terminal session alt+ctrl+F1
- unk when logging in terminal session alt+ctrl+F1 AND sunning sudo
- unk when using kdesudo



Thank you again, I followed the link, and reinstalled "sudo", and now it seems to be working. I tried 4 random commands in 4 different konsole windows, and it worked every time. So it seems you found the problem. I tried to search for it, but I just didn't have the right combination of words I guess. I'm going to mark it solved again, unless it acts up again it seems to be fixed.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]