Assistance Required: Unable to Login and Network Issue on Debian 13

Tekle

Member
Joined
Aug 5, 2023
Messages
66
Reaction score
20
Credits
491
Hi all,


I am facing difficulties logging into my Debian 13 machine. Despite entering the correct credentials multiple times, I am being denied access.
Additionally, I have tried using recovery mode to install or update packages, but this was not possible. I also attempted to check the network connectivity using:

ping -c 4 8.8.8.8
but the result was:

Network is unreachable

Running ip addr show also attached screenshot.

I would greatly appreciate your guidance and support in resolving these issues.

Thank you in advance for your help.
Tekle
 

Attachments

  • NetworkProblem_20251220_185402433_2.png
    NetworkProblem_20251220_185402433_2.png
    7.1 MB · Views: 156
Last edited:


Your screenshot shows you're not connected to any network.

edit:
I am facing difficulties logging into my Debian 13 machine. Despite entering the correct credentials multiple times, I am being denied access.
It's unclear what are you talking about and what's your problem?

You're unable to login to desktop? but do you even have one? you have a lot of questions to answers about your OS setup.
 
Last edited:
None of your network interfaces have an IP address so you won't have a gateway either. So that would explain why you don't have a network connection. Share your network interface configuration? Is your ethernet cable connected to your system or did you setup wireless?
 
None of your network interfaces have an IP address so you won't have a gateway either. So that would explain why you don't have a network connection. Share your network interface configuration? Is your ethernet cable connected to your system or did you setup wireless?
Thank you. My internet connection is wireless. For more information about it and the network interface, please see the attached figure.
 

Attachments

  • netowrk_interface.jpg
    netowrk_interface.jpg
    916.1 KB · Views: 68
Your screenshot shows you're not connected to any network.

edit:

It's unclear what are you talking about and what's your problem?

You're unable to login to desktop? but do you even have one? you have a lot of questions to answers about your OS setup.
Thanks a lot, yes I am not able to login, only at the recovery mode using the root. when I tried from there to login to my account, i was denied. As you mentioned, the other problem is that my system is not connected into the network. So two problems. I am not familiar with networking, so I would appreciate for guidance on how to connect to the wireless internet.
 
Thanks a lot, yes I am not able to login, only at the recovery mode using the root. when I tried from there to login to my account, i was denied.
I'm not sure about debian 13, but Recovery mode usually is a single-user init without network.
You can manually bring up network in recovery, but what you should do is fix the login problem for the regular user, e.g. by simply using passwd username from the root account, and reboot into regular mode - which should have your wireless come up again.
 
Thank you. My internet connection is wireless. For more information about it and the network interface, please see the attached figure.
I'm assuming you are using this as a desktop system. You will need to login into the graphical environment first and then you should be able to do it via the networking graphical tool there because your wireless interface is recognized by the system.

In Debian you also have to set a "root" password during login. Instead of recovery mode what you can also do is switch tty by pressing "ctrl+alt+f4" then login from there with the root account and then reset your user's password as how @Trml said how.
by simply using passwd usernamefrom the root account
 
I'm assuming you are using this as a desktop system. You will need to login into the graphical environment first and then you should be able to do it via the networking graphical tool there because your wireless interface is recognized by the system.

In Debian you also have to set a "root" password during login. Instead of recovery mode what you can also do is switch tty by pressing "ctrl+alt+f4" then login from there with the root account and then reset your user's password as how @Trml said how.

Unfortunately, I could not login in. I was denied.
 

Attachments

  • WhatsApp Image 2025-12-21 at 13.03.40.jpeg
    WhatsApp Image 2025-12-21 at 13.03.40.jpeg
    172.5 KB · Views: 43
Unfortunately, I could not login in. I was denied.
Perhaps try to reset the root password as outlined in detail here: https://linuxconfig.org/recover-reset-forgotten-linux-root-password

Once rebooted, try and log in as root with the new password. The root user can set user passwords.

If that method fails, then the second method on this link using a live-disk can be tried: https://gcore.com/learning/how-to-reset-password-in-linux/. Note that the first method of booting to single user on this link no longer works on debian, but the second method describing the use of a live disk does work.

If neither of those methods enable the setting of a password to log in, then there could be some software problem. In the past here I have had to re-install a debian distro that was recalcitrant in relation to passwords, so it can happen but I've never determined the cause, rather just bit the bullet to get the system up and working by a new clean installation. If there is data one doesn't wish to lose, to back up files from the hard disk one can use a live disk or rescue disk on a usb, mount the computer's drive and copy the files one wishes to retain to a usb or externally mounted drive or relevant network connection. The rescue disk I use lately is systemrescue.
 
Unfortunately, I could not login in. I was denied.
This makes no sense because your previous screenshots shows you were able to login with root just fine, and since then software didn't change, nothing changed in fact.

I'd say you're just unlucky typing passwords, maybe caps lock is on or maybe your password is too complex to type it easily etc.
 
Perhaps try to reset the root password as outlined in detail here: https://linuxconfig.org/recover-reset-forgotten-linux-root-password
This makes no sense because your previous screenshots shows you were able to login with root just fine, and since then software didn't change, nothing changed in fact.

I'd say you're just unlucky typing passwords, maybe caps lock is on or maybe your password is too complex to type it easily etc.
Maybe just reset the root password to "root" as password that way you know you can't type it incorrectly, unless you have your keyboard language set to a language other than English.

Unfortunately, I could not login in. I was denied.
I actually tried logging in with an incorrect password on one of my Debian systems. There when I type in a wrong password I get "Login incorrect". The only thing I can think of is that you did something to disable access to the root account.

Is this a new install or did you upgrade from Debian 12 to Debian 13, I would think not since you don't have a working network connection? How did you install it?
 
Maybe just reset the root password to "root" as password that way you know you can't type it incorrectly, unless you have your keyboard language set to a language other than English.


I actually tried logging in with an incorrect password on one of my Debian systems. There when I type in a wrong password I get "Login incorrect". The only thing I can think of is that you did something to disable access to the root account.

Is this a new install or did you upgrade from Debian 12 to Debian 13, I would think not since you don't have a working network connection? How did you install it?
i also get " Login incorrect" when I type a wrong password just to test. The pc was windows 11 before so installed debian 13. The nework was working on that computer after the installation. I would reinstall but I have data there. But it is also an opportunity to learn why to happened.
 
i also get " Login incorrect" when I type a wrong password just to test. The pc was windows 11 before so installed debian 13. The nework was working on that computer after the installation. I would reinstall but I have data there. But it is also an opportunity to learn why to happened.
You will need to be logged into the graphical session first before you can use the graphical network tools to setup wifi just like any other os. Which DE(Desktop Environment) did you install? Just reset the root password and your user password as others have already advised. Normally when you go through the installer you set a root password and user password and they always work. So no idea what you did differently during installation.

You're making it confusing. So you were able to login into the graphical session before since you have data there? What did you do after which you couldn't login into the graphical session anymore? Please explain a bit more because I think others that have replied are confused about what your problem actually is as it seems to change a bit with every reply.
 
I thank you all for your help and I am sorry for the late reply. I switched to debian 12 and my pc is working well except that the logical volume root is almost full.
 
@Teklehaimanot, open a fresh topic for your root volume being almost full, please
 


Follow Linux.org

Members online


Top