#Try to login after downloading HyDE hyperland
203 messages · Page 1 of 1 (latest)
try root for user and root for password?
No, you should never login as root to gui
... tty
#15700 📣 To open a TTY (virtual console) press and hold Control, Alt and then press F1 through F6
? Pls elaborate
#15700 📣 To open a TTY (virtual console) press and hold Control, Alt and then press F1 through F6
Try to login there
No bro nothing is happening when I do that
F1 to F6
Did nothing happened
Yep before installing HyDE it worked smoothly
In kde plasma
If you still have plasma then switch to its session
I'm currently in that session but also showing login failed
What should do now ?
Well you can directly boot to a target where the display manager doesn't start automatically
How bro
Add this boot param to boot to tty without starting the dm
systemd.unit=multi-user.target
.aw kernel parameters
I guess I did open tty3 now
By pressing Ctrl+Alt+F3
Yeah..
Now what should I do
Try to login as your user
If you can't, login as the root user instead and unlock your user account in case it's locked
faillock --user username --reset
Then switch to tty1 or any other or log out
And try to login as your user
Could be locked due to trying the wrong pass too many times
I am logged in so I guess password isn't an issue
Maybe
Yeah
Did your dm switch?
Same keyboard layout?
Means
Display manager
How to check that
Sddm, gdm, lightdm
Should be somewhere in the login screen
Umm i can't find able to find that
Ok well the sddm log is weird
Send whole log
journalctl -b -0 | curl -F 'file=@-' 0x0.st
Should I try this command?
That uploads the system journal and gives you a link to it
Left side of the pipe | prints the log, right side of it uploads it to 0x0.st
Well it's showing this
You mistyped
My bad I saw my mistake now
Also, are you able to run Hyprland from the command line fine?
Bro output is this
If you run the command Hyprland there, what happens
And that's what it should output, it's just giving a link for us so we can see your logs
In tty
Yes
Lemme try it
@covert trench it opened this
And yeah after logging out it showed this
Bro what should I do now
Well seems to have something to do with the dm and presumably the hyde modifications
You can install a another dm and disable sddm
You can also search the hyde issues in case its reported there
One of the risks of pre-built dotfiles is that you have no idea what is going on
True
But now what about now I get out from tty and try logging again and it's still failed
Did you setup your locale right
What ?? How to do that
I can't remember well but I did as the guide says during installation
What does /etc/locale.conf contain?
And try running locale-gen as root and see what locales get listed
In tty again
It's showing permission denied
Tried also this command it says
Generating locales...
Generation complete
Sounds like you don't have any locales enabled then
Try editing /etc/locale.gen as root, and then uncommenting en_US.UTF-8 by removing the #
What do you mean as root bro?
With sudo
Okay
Or whatever your preferred method of running commands as root is
Tried with sudo command not found
Try it with run0 instead of sudo
You need to use a text editor to edit a file, such as nano or vim
Also put a / before etc
After you do that, run locale-gen again and then try editing /etc/locale.conf again and adding
LANG=en_US.UTF-8
There is one
So command should be nano sudo /etc/locale.gen
sudo would go before the text editor command
So sudo nano /etc/locale.gen
Once you're in nano, you can use Ctrl+W to search by the way
I'm currently in the nano editor now what should I do
Find the line that has en_US.UTF-8, remove the # from it, and then save and exit the file with Ctrl + K
I think I did it what now
Have you done this as well?
You'll need to run locale-gen as root as well
Like how to add it
Edit the file and then add that line
If you use nano just open it, type it in, and then exit and save
Btw name should be /etc/locale.gen right not /etc/locale.conf right ?
No
Wiki
.conf
Well actually both
You need to edit both files
Dunno at what point you are
Just read the wiki
Wait isn't the after removing # and adding this new line LANG are both same file
So what should I do now
Nah

Read the wiki section from the top to the bottom
Not middle to top to bottom
Gn, should be easy to fix the login issue assuming it's due to not generating locates
Should only take a few mins
Well now I read I understand a bit of what to do
I guess
Now PLS Honestly tell me the name is correct
No, you're editing locale.gen so you want to to write to that
So gen instead of conf I use gen
Yes
Now, run locale-gen as root again, and it should list en_US
You added that to the wrong spot
You only needed to uncomment a line in locale.gen, and then add the LANG= to locale.conf
Edit /etc/locale.gen again, and remove the line you added
Did you replace another line or did just add it to the end/start?
Just add that line in gen
I removed it now
It's already added i guess
That's not the right file
Bro I did it in /etc/locale.conf as you said
If locale.conf looks like that then you accidently saved the contents of locale.gen to it
I removed it from locale.gen as you said
So what should I do
Try doing this instead, it will overwrite the contents with the correct thing
su -c "echo LANG=en_US.UTF-8 > /etc/locale.conf"
But in the screenshot you just sent, the file looks like what locale.gen should
Above it's written in /etc/locale.conf
So I added that line in this and in gen also mistakenly
If this is what /etc/locale.conf looks like for you, something went wrong
It should either be empty or only have one line in it
So what now
If you do this, it should correct the contents of the file
Okie lemme try it
I did run this command but seems like nothing happened I mean nothing showed up
That's to be expected
Now, if you run cat /etc/locale.conf, which will output the contents of the file, do you see that line?
I guess it's wrong
Okay, how about instead try this, run nano as root without a file after, write LANG=en_US.UTF-8 in the new file, do Ctrl + K, and when it asks you where to save it, put /etc/locale.conf
What do you mean by without file
Just sudo nano by itself
Yeah but after that what
Once nano opens, type in LANG=en_US.UTF-8, and then save the file to /etc/locale.conf
Should I overwrite file
Yes I guess
Bro I did I guess
What now
I would try rebooting and see if it anything changes with your issue
So should I exit tty and reboot
You can just reboot from there by running reboot
Still same problem
😭 😭
Well something else must be the issue then, but I'm going off to bed soon so I can't help you right now
You can try running Hyprland from the TTY like earlier and it should give you a functional system for now though
Okay any guess what should be permanent solution for this
It may be an issue with the SDDM configuration so that could be changed, but I don't know exactly
Okay 🥲
I had this same problem today , and it was because sddm wasnt loading my preferred keyboard layout.
Do you normally use a different keyboard layout from standard qwerty?
No bro I use default one english
Can you tell me about your username according to this solution it's due to uppercase in letter
https://github.com/HyDE-Project/HyDE/issues/404
my username is all lowercase, it was my password that was the problem