You are not logged in.

#1 2025-01-14 09:33:31

lambdaditya
Member
Registered: 2024-12-25
Posts: 4

SDDM doesn't open wayland session

I have a system with hyprland, Plasma(wayland) and Plasma(X11). Whenever I try to open either of the wayland sessions, the screen goes black for a second and then prompts me again for the password. When I open the X11 session, I can't use any of the applications I have on my computer, not even a terminal.

Please ask for any other logs or info for diagnosis

Offline

#2 2025-01-14 11:02:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,736

Re: SDDM doesn't open wayland session

What hardware? Post a complete journal after running into such an issue (you should be able to switch VT with Ctrl+Alt+F2...9 and co) post the links you get from

sudo journalctl -b | curl -F 'file=@-' 0x0.st 
curl -F 'file=@-' 0x0.st < /var/log/Xorg.0.log

Last edited by V1del (2025-01-14 12:19:17)

Offline

#3 2025-01-14 11:12:41

Ivan95
Member
From: Russia, Rostov-on-Don
Registered: 2024-11-24
Posts: 12

Re: SDDM doesn't open wayland session

Also yes people reported success with Hyprland + Greeter setup, but this is not the intented way to run Hyprland, you are supposed to run Hyprland in a tty session not in a Greeter as the Greeter + Hyprland setup is officially unsupported by the Hyprland developers by running: hyprland

Note that: without the --i-am-really-stupid flag (yes this is a real flag), Hyprland does not run in root

However you are free to go with any of the setup,

Also do please add the logs to either the main post or reply with the logs in which case, people can help you after you bring logs in

Last edited by Ivan95 (2025-01-14 11:13:12)


Programing in Linux Shell
The Reasons I Use Arch (.sh script) (Yandex Disk Backup) GitHub Repo (open code) and yes I took down all but expect Yandex Disk as a permanent backup

Offline

#4 2025-01-14 11:23:59

lambdaditya
Member
Registered: 2024-12-25
Posts: 4

Re: SDDM doesn't open wayland session

The problem is that if I enter the tty, and try to run any commands, it tells me zsh: sudo not found

Last edited by lambdaditya (2025-01-14 11:24:18)

Offline

#5 2025-01-14 12:21:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,736

Re: SDDM doesn't open wayland session

you can also post that output from a root shell (or substitute sudo with any other form of privilege escalation) if need be, which instructions did you follow to install Arch? And on the off chance the above is correct, you are not trying to log in as a root user do you?

Offline

#6 2025-01-15 11:13:53

Ivan95
Member
From: Russia, Rostov-on-Don
Registered: 2024-11-24
Posts: 12

Re: SDDM doesn't open wayland session

lambdaditya wrote:

The problem is that if I enter the tty, and try to run any commands, it tells me zsh: sudo not found

If that also happens with a graphical tty console emulator (which I think should be the case) then I would either reinstall manually or reinstall using archinstall although it is your choice

If it does this error when you run any commands in the tty session,

This could explain your sddm not running hyprland Wayland session, although I could be wrong and if I am wrong,

Then it is because I thought SDDM or any other greeters in general runs commands in their own tty session in which also uses some more commands to run the DE/WM with the login details you give to the Greeter

That's what I got


Programing in Linux Shell
The Reasons I Use Arch (.sh script) (Yandex Disk Backup) GitHub Repo (open code) and yes I took down all but expect Yandex Disk as a permanent backup

Offline

#7 2025-01-15 11:15:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,276

Re: SDDM doesn't open wayland session

Reinstall Arch just because they don't have sudo installed? Really?

Online

#8 2025-01-15 15:31:51

mackin_cheese
Member
Registered: 2025-01-07
Posts: 105

Re: SDDM doesn't open wayland session

Scimmia wrote:

Reinstall Arch just because they don't have sudo installed? Really?

Why  use a grenade to clear the room when you can just detonate a nuclear bomb and clear all the rooms? lol

Last edited by mackin_cheese (2025-01-15 15:32:09)

Online

#9 2025-01-18 07:55:00

Ivan95
Member
From: Russia, Rostov-on-Don
Registered: 2024-11-24
Posts: 12

Re: SDDM doesn't open wayland session

Scimmia wrote:

Reinstall Arch just because they don't have sudo installed? Really?

If you are replying to me (even without the quote tag), then you can just use another linux live CD (for example, Ubuntu, Gentoo LiveGUI USB or from the Arch Linux Disc) and reformat (which deletes all the data from the disk) the disk (which has arch linux), then install arch linux again thru booting from the disc

basically repeating all the steps from the Installation Guide once in the Arch Linux Disc after the disk is empty to the reformat

You cannot use a Windows BootPE because they don't support ext4 but hey with a linux live CD, it might work


Programing in Linux Shell
The Reasons I Use Arch (.sh script) (Yandex Disk Backup) GitHub Repo (open code) and yes I took down all but expect Yandex Disk as a permanent backup

Offline

#10 2025-01-19 22:04:48

mytArch
Member
Registered: 2024-11-16
Posts: 18

Re: SDDM doesn't open wayland session

mackin_cheese wrote:
Scimmia wrote:

Reinstall Arch just because they don't have sudo installed? Really?

Why  use a grenade to clear the room when you can just detonate a nuclear bomb and clear all the rooms? lol

Could also leave that pc and start with new hardware.

Offline

#11 2025-01-20 00:22:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,276

Re: SDDM doesn't open wayland session

Ivan95 wrote:
Scimmia wrote:

Reinstall Arch just because they don't have sudo installed? Really?

If you are replying to me (even without the quote tag), then you can just use another linux live CD (for example, Ubuntu, Gentoo LiveGUI USB or from the Arch Linux Disc) and reformat (which deletes all the data from the disk) the disk (which has arch linux), then install arch linux again thru booting from the disc

basically repeating all the steps from the Installation Guide once in the Arch Linux Disc after the disk is empty to the reformat

You cannot use a Windows BootPE because they don't support ext4 but hey with a linux live CD, it might work

OK, I'll be more blunt. Suggesting reinstalling the operating system because of a single missing package is one of most ridiculous things I've heard in a long time. What in the world are you thinking!?! Oh no, I don't have sudo, start over? How is that helping anyone?

Online

#12 2025-01-20 07:13:37

Ivan95
Member
From: Russia, Rostov-on-Don
Registered: 2024-11-24
Posts: 12

Re: SDDM doesn't open wayland session

Scimmia wrote:
Ivan95 wrote:
Scimmia wrote:

Reinstall Arch just because they don't have sudo installed? Really?

If you are replying to me (even without the quote tag), then you can just use another linux live CD (for example, Ubuntu, Gentoo LiveGUI USB or from the Arch Linux Disc) and reformat (which deletes all the data from the disk) the disk (which has arch linux), then install arch linux again thru booting from the disc

basically repeating all the steps from the Installation Guide once in the Arch Linux Disc after the disk is empty to the reformat

You cannot use a Windows BootPE because they don't support ext4 but hey with a linux live CD, it might work

OK, I'll be more blunt. Suggesting reinstalling the operating system because of a single missing package is one of most ridiculous things I've heard in a long time. What in the world are you thinking!?! Oh no, I don't have sudo, start over? How is that helping anyone?

At least it helps.


Programing in Linux Shell
The Reasons I Use Arch (.sh script) (Yandex Disk Backup) GitHub Repo (open code) and yes I took down all but expect Yandex Disk as a permanent backup

Offline

Board footer

Powered by FluxBB