#Aboabdullah's Arch Install Extravaganza
1 messages · Page 1 of 1 (latest)
How are you trying to get to a TTY?
Umm through alt + cntrl and f9 to f12
Depending on your setup you're either on F1 or F7. So try ctrl+alt+F2 through F6
I tried those
F1 through 12
Following. I was helping him install arch and we got all the way through, installed the ML4W script via yay from the devs GitHub and upon logout/login the set password doesn't work.
We tried to enter tty and passwd <user> to no success.
What about left ctrl and left alt + F2?
One second
No workie
Ok left cntrl and left alt plus F11
Gives a black screen
Lemme try right
Did you try left ctrl + left alt + F2 and not F11?
No workie man
Also on a blank screen try pressing enter, just for good measure
Learned how to reverse it
Change the number of your virtual consoles to 6 if they aren't already: https://wiki.archlinux.org/title/Getty
Huh?
This all happened after a dotfiles installation. He made a backup, perhaps it would be worth it to restore from backup?
F11 is going to be black. No need to try that
How did he back it up?
I'd still check the getty link that I sent to verify that there are 6 of them
The script takes your current .config files and backs them up. But it was a brand new fresh install so....technically just rm -rf the config file and reboot, it should regenerate right?
What did you do differently this time?
And this?
Bro
How tf am I supposed to know
The computer is moody like that 😭
now passwd <the username you want to change>
I’ll use this first
Ok done
Changed the password
What’s next
And put it in notes
@ashen herald what else should I do before I leave tty?
I changed the password of the user
Also seven told me to do something here
you can nano into /etc/passwd
then don't change ANYTHING. simply go to the end and add another blank link under the last entry in the file. Save and exit. reboot.
not sure if it will work, kind of a shot in the dark. But you have to be sure you don't change anything else in that file
This is what seven told me
So I might need to know what I should do now?
Yeah I would not try to adjust that file to be honest. It was a shot in the dark and not entirely a great idea
I was just trying to think of anything that could help
I changed the password
Did it work?
You can try that. Not sure why it won't accept your new password.
I have changed it just now
From my experience, dotfiles shouldn't do that.
That’s what I did
Idk how to do from keyboard
If it doesn’t
I’m going to spiral
Into madness
I’m going to kill
Did you try googling how to reboot from the command line?
I think I forgot to say passwd <username>
THIS FUCKING PIECE OF SHIT
HOW TF
HOWWWW
Well handy, then you can use that password to log in as root
Exiting the terminal can be done with exit or ctrl+d on a blank line
I’ll try this again
I might make it the same as the root password
Should I??
You can if you want. For security purposes it's generally not advised but you can.
Idk what to put
I put two passwords so far
One I used for the vm
The other for all my systems
Try something for me....log into a tty if you aren't already and ls /home/<your user>/ I want to see where it backed up your .config
ls /home/user/dotfiles? Is that where it put them?
Yeah ig
What is inside?
I think those are the hidden files
.config?
Inside /home/user/dotfiles/
So this
Ok so the dotfiles folder is your backup.
This started after we installed the MW4L dotfiles. If you want to revert them to see if that fixes this password issue, you can
rm -rf /home/user/.config
Then
cp -r /home/user/dotfiles/ /home/user/.config/
So remove MW4L
Is it home/user/dotfiles/.config?
That's what that would do yes, I only suggest it cause that's what we did before we started to have issues...
His dotfiles are in /home/user/.config, your old ones that you installed with are in /home/user/dotfiles
waaaaaiiiit. did you nuke your .config?
Mot yet
Where exactly?
This is what I used from commands
it looks like you were tab-completing it, and ran that?
I was advising replacing your current .config with your old one in the dotfiles folder, which is your backup
Correct
ah, okay. Then to finish this last command on screen, you need to put a target for the copying
which would be ~/, but I think you need to take the trailing / off the source
Oh so rm -rf removed the new config
forget it, I was getting caught up
Lol I was just explaining but don’t take it from me
I’m just saying what I think the command does
I’m not sure
After all I’m a beginner in arch
rm -rf removed the
newcurrent config
then you are copying the backup from earlier back into place
Yup I think so
remove that trailing slash, and add ~/ so that cp knows where to copy the backup .config to
that for the keyboard indicating where I’m at
incorrect, I was not referring to the cursor. Remove the / from the end of .config
just to remove ambiguity for the cp command, so it knows exactly which object you intend it to copy
Can you type out how I should type it please?
that's sucha long username dude
Make it <username>
cp -r /home/a/dotfiles/.config ~/
Where tf do I get a squiggly line
should be above your tab key, at least it is on US keyboards.
Found it
word
Like this??
is that what I typed?
Basically
but you skipped a space
....dotfiles/.config THIS SPACE RIGHT HERE ~/
....dotfiles/.config ~/
What space??
You mean in the config?
see my edits
I feel dumb af?

Bro 😭😭
bro
Once he gets it right, there are two things wrong with the command 😛
I checked on the 'r', it's okay
He's root and he'll make those files owned by root. Also, it will put it in /root, not in /home/A....
Is there a space??
oh, lordy you're right
BRO WHERE 😭😭😭
Better to use -a for restoring backups and yeah, ~Aboabdullah/
Can you make it clearer by doing it as a directory
My tardiness plus adhd are killing me
And if the username is long af
PLEASE
PUT <username>
Or <user> instead of ~Aboabdullah~
So is it like this??
@winged pier is this good or is there something wrong with the command??
You meant like this?????
cp -a /home/<username>/dotfiles/.config /home/<username>/
How about that command?
Do I execute it or do this instead??
the picture you posted will not do anything
because you still have not seen the missing space, nor processed the most recent comments from ryper.
type the new command that I just gave you, letter for letter, space for space, substituting <username> as appropriate
keep going
There is more to the command??
or explain to me what the command on your screen is going to do
because cp is one of the fundamental linux commands
and because I gave you literally more text than what you photographed
you cannot keep relying on getting exact commands handed to you
this is not our computer
I understand
Ok so I copy the file to that directory??
Do you have this whole command typed into your terminal?
Wait
the whole thing?
No
bingo
I’ll type it now
So it should be like this
Now I can explain it
So what I’m doing
Is that I’m taking the old config file from the /dotfile
And moving it to the new file
Replacing the old config
Because that’s why it’s broken
YAY
yes, you are copying the backup from dotfiles back to it's original location
go ahead and run what you typed in
Umm wtf
o no
nope
hmmm
somewhere along the line, either the backup didn't get made, or it got erased or moved
I’ll use ls
type history -n 25 and lemme see
but also, probably okay then to just make a new .config and try to log in. Your arch install is what, less than a day old and you can't have done much customization on it yet
You sure this is the right command?
the cp command? it would have been if .config is actually in dotfiles
No this
which it was here
oh, nope, I must be high
history | tail -n 25
Could I use cp..
that "|" character might be above your enter key
I think that one?
or just history
it'll dump everything out
no sense in limiting it
@fading zinc just do history
oh, wtf, you misspelled your own name
lol
Sorry
also reading error messages is also your friend
pssshhhhh
💀
try it
Ok
it should tell you ...... NOTHING!
NOTHING WAS TOLD
okay, so that should have put your .config back in your home directory, just to doublecheck permissions, let's see ls -lA /home/a...../.config
wait
see edit
Tabbed it
and I think I caught earlier that the goal of this is to restore your config file, but you also think some MWsomething config is broken? Do we need to remove that then?
Idk all I wanted to do is reset a password and fix a config file
goddamn, I am high. You want -la for the arguments there
thats a lowercase L and a lowercase A (the upper A in the first command was my bad)
yes
/directory/burger/.config/
fix a config file
was it this one?
Correct
....yyyeeessss???
btw, did it copy .config into .config?
Ok d is home and burger is username btw
I was just playing around
nah, this looks fine
got some output for me?
you blow my mind
okay, looks good
see how they are all owned by your user, and the users group?
(the middle columns)
then yes, the rwx's in the earlier column match the cheatsheet
but that's not what I was looking for rn
you're good
try logging in to this user account
That’s it?
you can use a different vty by pressing a different alt+f3 - alt+f6 combo
and come back to this one later if needed
To get to this menu right?
or you can just log out of root and log back in as your user
I think it was alt+f3
Left alt+F3
then alt+f4 should get you a new login prompt, and alt+f3 would bring you back to this root terminal
so try logging in with your Aboabdullah user on the alt+f4 terminal
you should sleep 😛
this is your real life quiz then
so I do see you trying it here:
Yeah I changed it multiple times
Same exact password
No reason to be the wrong one
But it is
go back to your root terminal, alt+f2, and run su - Aboabdullah
IT’S ASKING FOR MY CURRENT PASSWORD
lol, forgot about that
It’s passwd abo in root
and it's still not working?
then yeah, you have to use passwd Ab... from root shell
so you will have to exit the [Ab..@ shell
is there an error?
It changes successfully under root
no, on login
nono, is there an error message when you try to log in as your own user
not su - to it, but login:
does it actually say incorrect password?
are you setting it to something complicated? try 1234 for now
Changed the password
Put it in my name and birthyear
Even changing it to that
Doesn’t work 😭
I need more than this
It says login failed
login FAILED or login INCORRECT?
Failed
nonono
Make it less retarded?
try to log in with that
Idk tbh
I want to know if it says login failed or login incorrect when you try to log in with a known bad password
I am trying to find out if there is a difference
do not change the password
try to log in with a bad one
fail on purpose
when I log in to a tty with a bad password, I get login INCORRECT
I am
more
It says Login failed!
okay
Something is wrong with either the password txt
Or something
There has to be an explanation
yeah, go back to the root termianl and type journalctl -xe and scroll around in that
til you can see the failed login
sddm-greeter[718]: Message received
I don’t remember 😭
you are not entering a username?
.
but also, you're trying to log into the gui?
BRO
I don’t remember
Oh wait you mean the lock screen of arch?
but yeah, are you not entering a username on the login screen when it boots up?
how is it supposed to know who to log in as?
Can't remember if sddm by default has user cards or a login box unimportant, do not process
It’s supposed me (Aboabdullah)
Who is the user
show me
then go to sleep, fix sddm tomorrow
lol, yes, you have technically changed your password
I’ll put it again when I am back
But I need to log in though
So I stick with gnome for now
that is a level of tomfoolery that you are not prepared for
Oh yeah
in which case, you should swap sddm for gdm
I heard the setup WAS BULLSHIT
sddm for plasma, gdm for gnome
Remind me when I open another ticket please or I’ll just screenshot it
yeah, definitely a problem for another time
Ok I won’t hyprland for now
you should just change this thread to "Aboabdullah's Arch Install Extravaganza" and keep everything here
Lol
Amazing title
Aboabdullah's Arch Install Extravaganza
I updated the inactivity
If we don’t say anything here for 3 days
It gets deleted
Hide 💀
Ok gn or gm??
getting lateish for me
In this video, I’ll show you how to reset a forgotten root or user password on any Linux distro using a simple and effective method. Whether you're running Ubuntu, Fedora, Debian, or even Arch Linux, this step-by-step guide will walk you through the process of recovering access to your system without reinstalling the OS.
🖥️ What you'll learn:
...
Think this tutorial can help
To reset my user password
I’ll do it later when I can
Your password is fixed
We got you logged in last night
Please don't circle around that again
This is your password already fixed
You mean in the lock screen?
I don’t remember
And I tried logging in again and I still couldn’t get to the arch homescreen 😭
I’ll try logging in again
Also you said we technically solved the problem?
Was the password ever wrong?
It only says login failed
Ok I decided to get in hyprland and see if it has to do with that
Ok jt
You said I should change from sddm to something right??
I’m in the ML4W menu
You're digging your grave even further by trying more and more complicated things
Ok I canceled it
You've already installed this person's custom config files and don't quite know what it installed for you (although the list of packages is in the git repo). You would be better off simply choosing a desktop environment that you want to use, going to the Arch wiki and installing it
Then install that and use it
I have it already
I have GNOME and Hyprland
And GNOME in ever possible setting
Xorg and wayland together
Ok, well it seems you're using sddm now? I'd disable whatever display manager you've set (sddm?) and enable gdm and go back to using Gnome
So I have to open ML4W and switch it from there?
Just log into a TTY and do it from there
Can you make these changes as your user?
Yes
You can enable and disable display managers as your user?
But I can’t log in for some reason
Um not sure let’s just go for root
I’ll troubleshoot it from today
I don’t want a computer that I can’t access
I need it for school and games mainly
At this point, I almost want to recommend you get on a distro that you can't keep breaking, like NixOS
I hate tty man 😭
Then why are you using Arch?
Because of the highly modular ui
Also
I can play sparking zero online no problem
Ok I’m in root
That'll work on pretty much any newish distro
Yes, so many things to shoot yourself in the foot with 😛
With proton-GE?
Think it’s easy anti cheat fucking me over
Online works on linux as of what I seen on my research
I should’ve tested it on my steam deck 💀
Anyways what am I supposed to do passwd [user]
And then enter the new password
Nah I’m sure of it this time
Do me a favor and run: cat /etc/security/faillock.conf
“The definition of insanity is doing the same thing over and over again and expecting different results.”
I feel so disappointed in my self 😭
Yup ik
That’s the thing
I also note my passwords too
To MAKE SURE I have not made a single mistake
Try: faillock --user <username> --reset
Maybe try it without the --reset first to see what it says
You're not typing what I typed
And I'm using the <username> the way you wanted us to use it
yes because my username is long af
I didn’t want you guys to bother putting my actual username
Putting <username> will tell me that I should input my username instead of <username>
well, you have the command that I gave you, it's up to you to type it correctly 😛
Ok lol 😛
I’ll try your exact input and see what happens
Aboqassem is the host name
Wait can you put it like <Aboabdullah> or something to make it more clearer
Ik I definitely input everything right
Show me what you've typed
faillock —Aboqassem Aboabdullah
Should be like this
If you mean —user as root user
And username as ofc
The username
Ryper gimme an easy to follow password
Or
I’ll just usenumbers
Stop focusing on the password, it's not the problem
Then what is actually keeping me from logging in man 😭
This is wrong and not what I wrote
Hyprland?
You won't run the commands that we give you to find out
You're impatient and keep going off on your own trying the same thing over and over and not listening
I’m sorry
My mind is going on circles annoying me about it
I’m fully accountable for myself and it’s my fault
Words are words
Look at the command I gave you and replace <username> with your username, that's it
W/e gets you a fresh prompt
Specifically NOT the GUI
But I'm heading in to work, so I'm gonna be out for a few hours
Wait not the hyprland lockscreen
No, we're not touching that
Ok
this has been resolved. The SDDM configuration he switched to was messed up and refused to launch the desktop environment. Switched to GDM and he's able to login.
Thanks alot for the help
I truly apologize if I couldn’t follow the exact steps @ashen herald and @winged pier
You're good man, you're enthusiastic, and not arguing about stuff, but you are trying to progress very quickly. You gotta walk before you can run, so I would not start trying to rice your experience any time soon.
oh yeah you're right
I get very very excited
I'll do it after 1-3 months
If that sounds good
I'll keep hyprland for whenever I'm ready
Then I'll start ricing
you can use hyprland before ricing
I didn't rice mine out
and starting off with a tiling manager isn't meant for later
you can try off iwth it immediately
it'll just be different
I can get to hyprland
but I can see hyprland but nothing appears
I think first getting used to GNOME and the ui is my first goal
The second is to customize GNOME
Third is to get to Hyprland and set it up
Don't spend too long on this bit. If you end up with more than about 5 extensions, it'll be time to look elsewhere
Ok
Btw thanks jt for the linux journey
Or ryper
Cd .. command is hella useful
(To get back to the original directory)
I use cd .. and cd - on a daily basis. They show cd ~, but you can just type cd for that. cd . is useless, but both . and .. are useful with other commands
I need to search what does cd . do
I have read extensively but as a human I can't retain information fully
But it's very very useful
I am thankful that you made me read linuxjourney
. Is current directory
oh
out of all names 💀
We'll end up in /home/sigma/skibidi
lol
ok
btw now I'm going to setup obs
I'll find a yt video since when I had it in windows I could'nt set it up
Oh yeah speaking of
