Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live ISO with Plasma Desktop requires manual login (does not autologin to desktop) #119

Closed
joevaughan opened this issue Jul 1, 2023 · 5 comments
Labels
casper Issues related or caused by casper. upstream-bug Issues that are determined to not be caused by our configuration.

Comments

@joevaughan
Copy link

Describe the bug
A clear and concise description of what the bug is.

Boot the live (KDE Plasma) ISO for the official 2.9.0 release as linked from here: https://nxos.org/get/latest/?tmstv=1688067999

When the system boots the user is greeted by a login screen saying "Welcome back" - screenshot below

image

Note: The Maui-shell ISO does not have this issue and boots to a live desktop as expected.

@N0rbert
Copy link

N0rbert commented Jul 1, 2023

Confirmed with nitrux-nx-desktop-plasma-ce3e8fa9-amd64.iso.
Here login nitrux and password nitrux are accepted.
But this is not user-friendly at all. Please configure auto-login in the live medium.

@UriHerrera UriHerrera added the upstream-bug Issues that are determined to not be caused by our configuration. label Jul 1, 2023
@UriHerrera
Copy link
Member

UriHerrera commented Jul 1, 2023

As with Calamares, this issue occurs with casper+SDDM+Plasma Wayland. Both autologin to Plasma X11 but not to Plasma Wayland.

The Maui Shell ISO uses a Plasma X11 session to launch Cask; that's why the user (Live or not) can use autologin in that ISO.

@UriHerrera UriHerrera added the plasma-wayland Issues related or caused by the Plasma Wayland session label Jul 1, 2023
@UriHerrera UriHerrera changed the title 2.9.0 Live ISO for Plasma Desktop requires login (does not autologin to desktop) Live ISO with Plasma Desktop requires manual login (does not autologin to desktop) Jul 1, 2023
@UriHerrera UriHerrera added casper Issues related or caused by casper. and removed plasma-wayland Issues related or caused by the Plasma Wayland session labels Jul 20, 2023
@UriHerrera
Copy link
Member

UriHerrera commented Aug 16, 2023

As I just noted in the previous comment and #105, the issue is that casper expects that the session is /usr/share/xsessions/plasma.desktop hence why the autologin feature does not work for the Live user.

As far as we're concerned, this is a bug in casper. I'll keep this issue on our bug tracker open for others to know about this problem; however, this is not a bug, issue, or problem caused by Nitrux, nor is it a misconfiguration in the distribution.


Disclaimer: We do not develop casper. Please create issues at its bug tracker here to request features or report problems.

@UriHerrera
Copy link
Member

As I figured, here's the truncated content of one of the scripts in casper that deals with autologin for the Live sessions 15autologin. And indeed, casper expects the Plasma session to be plasma and not plasmawayland. At least now we know why the problem occurs.

We'll need to modify this file.

[...]

if [ -f /root/usr/bin/sddm ]; then
    sddm_session=plasma.desktop
    if [ -f /root/usr/share/xsessions/Lubuntu.desktop ]; then
        sddm_session=Lubuntu.desktop
    fi
    if [ -f /root/usr/share/xsessions/QLubuntu.desktop ]; then
        sddm_session=QLubuntu.desktop
    fi
    cat >>/root/etc/sddm.conf <<EOF
[Autologin]
User=$USERNAME
Session=$sddm_session
EOF
fi

log_end_msg

@UriHerrera
Copy link
Member

UriHerrera commented Aug 19, 2023

Fixed in Nitrux/iso-tool@3eadd7e

It's more like a workaround on our part; it's still not fixed in casper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
casper Issues related or caused by casper. upstream-bug Issues that are determined to not be caused by our configuration.
Projects
None yet
Development

No branches or pull requests

3 participants