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

Unable to login

Tags: None
(comma "," separated)
gmorphis
Registered Member
Posts
8
Karma
0

Unable to login

Wed Nov 09, 2016 1:20 am
First off, I'm a noob but I want to learn and use Linux. I have Fedora 24 4.8.4-200. I have KDE and plasma installed.
I used my laptop fine yesterday and probably did a software update and that's it. Today, I boot up and the login screen is different and I see my username to fine. I type in my password and the screen just sits there. At the boot menu I tried the restore option but that takes me to the same login screen. I tried root too and it just sits there. I went to the command prompt and tried help to see options but I'm so new, I don't what to do. Can someone please offer advice or assistance? Thanks!
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Wed Nov 09, 2016 8:09 am
Hi, first off, which distro?

Also, what does the command line spurt out when you have a look at your leftover space?

Code: Select all
df -h


Let's also check ownership. Do all the files/folders belong to you - the user?

Code: Select all
ls -la


Debian testing
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Wed Nov 09, 2016 12:09 pm
The Distro is Fedora right?
When I get to the bootloader where I can choose Fedora 24 or Fedora 24 restore. I hit "c" to take me to a grub command line.
I don't think this is a full command line because the df returned "can't find command 'df'" and ls command "invalid file name '-la'
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Wed Nov 09, 2016 12:55 pm
Right, distro Feodora. Fine. Thank you.

Just to be clear: I was under the impression that you managed to get to at least the login manager (kdm, sddm, what have you) rather than being stuck with grub. Where does your box actually begin to hang?


Debian testing
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Wed Nov 09, 2016 1:05 pm
It gets all the way to the KDE login screen I see my username and enter my password but nothing happens. I've waited, I changed the login to something I knew was wrong, no "invalid password" or anything to tell me any information.
Thank you for your assistance. I can reinstall if necessary but I didn't install anything that wasn't a "you have X software updates" aside from Eclipse and bluefish. And I'm pretty sure it worked fine after they installed but the login screen looks entirely different than it did 2 days ago.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Wed Nov 09, 2016 1:39 pm
Ah, you get to the login manager, excellent. Easiest way is to boot into it, enter a virtual terminal (press CTRL+ALT+F1-6), login as user, enter the commands above and have a look at whether a) you got any space left on the device and b) all folders in your home directory belong to you and not root.

And while you are at it, update and upgrade your system once more.

Finally return to your login manager by pressing CTRL+ALT+F7 and report back.

HTH :)


Debian testing
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Wed Nov 09, 2016 3:26 pm
Awesome, I'll try that this afternoon after work.
Is the CTRL+ALT+F1 at the login screen? I'll report back. Thanks sir!
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Wed Nov 09, 2016 3:31 pm
Yes, after the login screen appears. F1-F6 are all virtual terminals. If F1 does not work try F2...


Debian testing
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Wed Nov 09, 2016 9:45 pm
df -h
shows a bunch of file systems and none are over 29% used

ls -al
shows my username for everything except ".." which has "root"

I tried to update using "dnf upgrade" as root
and got "Error: failed to synchronize cache for repo 'updates'"

Anything else to try?

Thanks!
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Wed Nov 09, 2016 9:47 pm
I tried dnf clean all, it said 24 files removed
I then tried dnf upgrade and got the same error but says "fedora" at the end.


Thanks
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Thu Nov 10, 2016 9:07 am
Okay, you are obviously not on the internet. Are we talking about a laptop with WIFI here? If so try and plug yourself in and repeat the update and upgrade process. Also check that kde-plasma-desktop is installed.
Code: Select all
dnf list installed | grep kde-plasma
.
If you are on a desktop we'd have to get your LAN up and working on the command line, typically
Code: Select all
sudo ifconfig
to find out the name of your interface followed by
Code: Select all
sudo ifup [i]name-of-interface[/i]


Alternatively it would be interesting to see what went wrong in the first place. Not sure whether Feodora has a log file for its package manager but that would be the first place to have a look (somewhere under /var/log/).

Reinstalling is of course always an option but what is the point if you don't know what went wrong in the first place? >:(


Debian testing
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Thu Nov 10, 2016 1:24 pm
Right, I agree 100% about reinstalling. I'd rather find the problem and fix it or it's likely to happen again.
I don't know why I thought the upgrade would work from command line without a wired connection.. where's the face palm emoticon?
I'll hook it up tonight to my router and try tonight. Thank you toad for your patience and knowledge. I'll post tonight what happens.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Thu Nov 10, 2016 1:30 pm
lol, all the best ;)


Debian testing
gmorphis
Registered Member
Posts
8
Karma
0

Re: Unable to login

Fri Nov 11, 2016 10:42 pm
I plugged the LAN cable in from my modem and saw the lights on both the NIC card on the laptop and the modem.
I tried but got the same error. Sometimes it would say 'fedora', sometimes it would say 'updates'.
Here's what my fedora.repo looks like if it's any help?
Image
Hope the image shows.. I'm having to search Google with my phone while the laptop is connected.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Unable to login

Sat Nov 12, 2016 5:49 am
I'm afraid I'm unfamiliar with Feodora. First priority is to get you online, however. Have you tried the whole ifconfig and ifup malarky as detailed in an earlier post?


Debian testing


Bookmarks



Who is online

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