Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] cant login in main user

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

[Solved] cant login in main user

#1 Post by lucyferu »

i have just turned on my laptop this morning and, when i reach the login page, i enter my user name and pin, the screen goes black and then it goes back to the login page.

im currently logged in the root user and that's how im able to send this message.

anyone have any idea on what's going on and how it can be fixed?
Last edited by lucyferu on 2023-03-24 10:37, edited 1 time in total.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: [O/S] cant login in main user

#2 Post by Hallvor »

Does it work if you make a new user?

Code: Select all

# adduser yournewusername
Then try to log in with the new account.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [O/S] cant login in main user

#3 Post by lucyferu »

when i tried that, the screen went black and never went back on.

now, if i turn on my laptop, i can only login in command line mode.

i was able to read only one error during the boot and i run the command suggested and took a photo of it:

https://ibb.co/Wc6VF1R

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: [O/S] cant login in main user

#4 Post by Hallvor »

Type this in the terminal and post the output/image here:

Code: Select all

df -h
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [O/S] cant login in main user

#5 Post by FreewheelinFrank »

Critical part of message seems to be:

Code: Select all

systemd-hostnamed.service: Failed to set Up mount namespacing: /run/systemd/unit-root/dev: No space left on device
systemd-hostnamed.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-hostnamed: No space left on device
Hallvor's command will show you where the problem is.

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [O/S] cant login in main user

#6 Post by lucyferu »

Code: Select all

:~# df -h
df: /run/user/0/doc: Operation not permitted
Filesystem                     Size  Used Avail Use% Mounted on
udev                           7.7G     0  7.7G   0% /dev
tmpfs                          1.6G  1.7M  1.6G   1% /run
/dev/mapper/flostlyx--vg-root  467G  466G     0 100% /
tmpfs                          7.8G     0  7.8G   0% /dev/shm
tmpfs                          5.0M  4.0K  5.0M   1% /run/lock
/dev/nvme0n1p2                 471M  123M  324M  28% /boot
/dev/nvme0n1p1                 511M   12M  500M   3% /boot/efi
tmpfs                          1.6G  104K  1.6G   1% /run/user/0
i guessed (lol) there was an issue with space left on disk but i really have no idea how could i have done that.

i tried to uninstall a couple of apps and that immediately switched from command line to gui.
however, as you can see from the result of the command shared, the disk is still almost completely full.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: [O/S] cant login in main user

#7 Post by Hallvor »

I generally use filelight in KDE to get an overview of the disk usage, but another option is

Code: Select all

find /home -type f -size +100M -exec ls -lh {} \;
This will list all files above 100 megabytes in the home directory and its sub directories. Hopefully you'll find the problem.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [O/S] cant login in main user

#8 Post by lucyferu »

it was the backup folder...
always having an issue with backup.
i either dont have it or it clogs my machine. sigh!

i deleted it and i managed to login to the main user.
thank you very much for the help.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: [Solved] cant login in main user

#9 Post by Hallvor »

You are welcome. I'm glad you got it sorted out.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [O/S] cant login in main user

#10 Post by sunrat »

lucyferu wrote: 2023-03-24 10:37 it was the backup folder...
Do you have backup on the same disk as system?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

lucyferu
Posts: 47
Joined: 2023-01-25 00:32
Has thanked: 17 times
Been thanked: 1 time

Re: [O/S] cant login in main user

#11 Post by lucyferu »

sunrat wrote: 2023-03-24 12:27
lucyferu wrote: 2023-03-24 10:37 it was the backup folder...
Do you have backup on the same disk as system?
yep.
it's silly, isn't it?

Post Reply