tuigreet
tuigreet copied to clipboard
Unable to select a session among multiple sessions
Describe the bug
When I use tuigreet, I have both plasma(X11) and plasma(wayland) graphical protocols installed on my computer, and when I press F3, I do get to choose what I want between plasma(wayland) and plasma(x11), but when I enter my password to log in, I'm logged in to plasma(wayland) regardless of whether I choose plasma(x11) or plasma(wayland). I've tested that using startx /usr/bin/env /usr/bin/startplasma-x11
in tty will log me in to plasma(x11), so this may be a configuration issue with my tuigreet.
To Reproduce Steps to reproduce the behavior:
- start the computer and go to tuigreet
- Press on F3 and select
Plasma(X11)
- Input Username and Password, then press Enter
- Login plasma on wayland, not x11.... however.
Expected behavior When I press F3, I have three options to choose from, Plasma(Wayland), Plasma(X11), and Hyprland, and I want to be able to choose an option that logs me into its corresponding desktop environment instead of always logging me into wayland.
System information:
- Distribution: Linux ArchLinux 6.10.8-arch1-2.1-g14 #1 SMP PREEMPT_DYNAMIC Sat, 07 Sep 2024 06:01:43 +0000 x86_64 GNU/Linux
-
greetd
version: 0.10.3-1 -
tuigreet
version: 0.9.1-1 - Installation method (from source, package, binary, etc.): pacman
-
tuigreet
command line:command = "tuigreet --asterisks --issue -t --remember --width 90 --greet-align left --theme 'border=magenta;text=cyan;prompt=green;time=red;button=lavender;container=black;input=red'"
Additional context I'm guessing I should create some new sessions instead of always using the default session, it's just my guess and I think there's something wrong with the way my config file is written. but i don't know how to write it rightly.
Debug log
2024-09-22T06:53:27.397879Z INFO tuigreet: 49: tuigreet started
2024-09-22T06:53:27.401512Z INFO tuigreet: 66: creating remembered session for user flower
2024-09-22T06:53:27.401529Z INFO tuigreet::ipc: 36: sending request to greetd: CreateSession { username: "flower" }
2024-09-22T06:53:27.430963Z INFO tuigreet::ipc: 75: received greetd message: AuthMessage { auth_message_type: Secret, auth_message: "Password: " }
2024-09-22T06:53:41.482213Z INFO tuigreet::ipc: 36: sending request to greetd: PostAuthMessageResponse
2024-09-22T06:53:41.490243Z INFO tuigreet::ipc: 75: received greetd message: Success
2024-09-22T06:53:41.490249Z INFO tuigreet::ipc: 153: authentication successful, starting session
2024-09-22T06:53:41.490253Z INFO tuigreet::ipc: 36: sending request to greetd: StartSession { cmd: ["Hyprland"], env: ["XDG_SESSION_DESKTOP=hyprland", "DESKTOP_SESSION=hyprland", "XDG_SESSION_TYPE=wayland"] }
2024-09-22T06:53:41.490509Z INFO tuigreet::ipc: 75: received greetd message: Success
2024-09-22T06:53:41.490515Z INFO tuigreet::ipc: 119: greetd acknowledged session start, exiting
2024-09-22T06:53:41.490516Z INFO tuigreet::ipc: 122: caching last successful username
2024-09-22T06:53:41.490715Z INFO tuigreet: 122: preparing exit with status Success
2024-09-22T06:53:41.492770Z INFO tuigreet: 90: exiting main loop