Cinnamon ISO auto-login

I have spent the last couple of months trying to find the issue with the Cinnamon Desktop not automatically logging in when building an ISO. See issue: Need help with Live Buildiso - #24 by growler

A quick summary of the issue: when booting the Live ISO, it may or may not automatically login for the user. Generally, if the PC, or VM is started from a “powered off” state, then there is a good change that it will work. If it does automatically login, if you reboot, it will not.

When the system does not automatically login, it just brings you to a login prompt. But here is the caveat, it will not allow you to login without waiting an undetermined amount of time. Some systems, you must wait only 30 or 45 seconds, and entering “manjaro” into the password field will continue with the Live ISO as if nothing had happened.

Running through the installer and rebooting into the installed system is flawless, no issues what so ever.

There are no errors logged in in lightdm, x.org etc.

Now, the current Manjaro Cinnamon ISO is literally 12 months old, but it does not have the issue. But building a fresh ISO, using the default “iso-profiles”, using kernel 6.18 or higher (have not tested with anything lower), exhibits the same issue.

I have tried switching to Xlibre, switching lightdm-slick-greeter with lightdm-gtk-greeter, nothing changes. I have tried modifying the /etc/pam.d/lightdm-autologin file, I have tried to disable auto login and see what happens if the user is required to enter the password, exactly the same issue. So I don’t believe it to be a lightdm/autologin problem, but I cannot pinpoint the issue?

So, I am left with pushing an ISO with a known issue, and just tell everyone to wait about 90 seconds, then manually login or hit the pub early and often.

-João

Probably the same issue as with the official flavors. @linux-aarhus invested a lot of time debugging it and more or less it is clear how this happens but why is still a mystery. Don’t know if you can access the Dev section of the forum where this topic is.

So you are not alone with the head banging but so far there is no solution :slightly_frowning_face:

Hi @Teo ,

I can access the “Manjaro Development” categories, but I have not found any posts there regarding this issue. Maybe it is only for internal devs.

Good to know it is trying to be addressed…

João

1 Like

Here are the findings so far

1 Like

You may eliminate the need for entering the password if you place following files in the <edition>/livefs/etc/pam.d folder

The files are related to lightdm and is slightly modified.

Technically I took the files from <builddir>/buildiso/<profile>/x86_64/desktopfs/etc/pam.d and copied them to the iso-profiles <edition>/livefs/etc/pam.d folder.

Then I inserted the following line as the second line in the files and saved them

auth      sufficient   pam_succeed_if.so user ingroup wheel

The line allows lightdm to continue if the user is member of wheel group.

The line also makes the greeter to omit the query for password - simply press enter after waiting for the system to settle.

There’s a newer ISO here:

@linux-aarhus I will try messing with pam.d, Thank you.

I was going through the logs of a live ISO and I noticed something, probably nothing to do with the issue, but here it is:

What is being configured for the root user and shouldn’t anything with the root user happen before the manjaro user is created and added to SUDOers?

/var/log/manjaro-live.log

Loaded /etc/manjaro-tools/live.conf: 0.009ms
Detected cinnamon-session-cinnamon cinnamon: 0.016ms
Got consolefont and arch x86_64: 0.013ms
Configured language: en_US
Configured keymap: us
Configured timezone: UTC
Finished localization: 1.593ms
Created user manjaro with password manjaro: 0.645ms
Configured sudoers: 0.003ms
Deleting existing machine-id ...
Setting machine-id ...
Configured machine-id: 0.009ms
Configured accountsservice: 0.003ms
Configured displaymanager: 0.025ms
Configured root user: 0.243ms
Configured samba: 0.005ms

Also, on cinnamon, when the password prompt first comes up, the greeter is not fully loaded, no background is shown, then when the password eventually works, then it will show the background, then you have to enter the password again and it will login… just an observation in case it helps.

I also enabled logs on and here is the output, note, this boot required waiting and entering the password word. From what I can see, once the greeter loads, it is fine.

seat0-greeter.log

[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0.00s] DEBUG: settings.vala:169: Overriding dconf setting for background with /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for background-color to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for logo to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for other-monitors-logo to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for theme-name to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for icon-theme-name to default
[+0.00s] DEBUG: settings.vala:169: Overriding dconf setting for cursor-theme-name with Bibata-Modern-Classic
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for font-name to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for play-ready-sound to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for xft-hintstyle to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for xft-rgba to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for enable-hidpi to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for only-on-monitor to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for clock-format to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for onscreen-keyboard-layout to default
[+0.00s] DEBUG: settings.vala:169: Overriding dconf setting for content-align with center
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for draw-user-backgrounds to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for stretch-background-across-monitors to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for draw-grid to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-hostname to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-power to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-a11y to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-clock to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-keyboard to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-quit to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for xft-antialias to default
[+0.00s] DEBUG: settings.vala:187: Overriding dconf setting for activate-numlock
[+0.00s] DEBUG: settings.vala:214: Resetting dconf setting for xft-dpi to default
[+0.00s] DEBUG: settings.vala:214: Resetting dconf setting for cursor-theme-size to default
[+0.00s] DEBUG: settings.vala:232: Resetting dconf setting for hidden-users to default
[+0.00s] DEBUG: settings.vala:232: Resetting dconf setting for group-filter to default
[+0.00s] DEBUG: slick-greeter.vala:723: HiDPI support: auto
[+0.26s] DEBUG: slick-greeter.vala:738: Activating numlock
[+0.32s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.35s] DEBUG: slick-greeter.vala:747: Starting slick-greeter 2.2.6 UID=959 LANG=en_US.UTF-8
[+0.35s] DEBUG: slick-greeter.vala:750: Setting cursor
[+0.35s] DEBUG: slick-greeter.vala:764: Loading command line options
[+0.35s] DEBUG: slick-greeter.vala:791: Setting GTK+ settings
[+0.39s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0.41s] DEBUG: slick-greeter.vala:795: Setting GTK theme: Adwaita
[+0.42s] DEBUG: slick-greeter.vala:800: Setting icon theme: gnome
[+0.42s] DEBUG: slick-greeter.vala:805: Setting cursor theme: Bibata-Modern-Classic
[+0.42s] DEBUG: slick-greeter.vala:810: Settings cursor theme size: 24
[+0.42s] DEBUG: slick-greeter.vala:829: Creating Slick Greeter
[+0.42s] DEBUG: slick-greeter.vala:55: Creating background surface
[+0.43s] DEBUG: Connecting to display manager...
[+0.43s] DEBUG: Wrote 26 bytes to daemon
[+0.43s] DEBUG: Read 8 bytes from daemon
[+0.43s] DEBUG: Read 161 bytes from daemon
[+0.43s] DEBUG: Connected api=1 version=1.32.0 hide-users=false has-guest-account=false default-session=cinnamon show-manual-login=false show-remote-login=true
[+0.55s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.55s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.56s] DEBUG: user-list.vala:1064: Adding/updating user manjaro ()
[+0.56s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] DEBUG: main-window.vala:259: Monitor 0 is 1280x800 pixels at 0,0
[+0.57s] DEBUG: main-window.vala:275: MainWindow is 0x0 pixels
[+0.57s] DEBUG: slick-greeter.vala:832: Showing greeter
[+0.57s] DEBUG: slick-greeter.vala:314: Showing main window
[+0.58s] DEBUG: background.vala:66: Making background #000000 at 1280x800
[+0.58s] DEBUG: background.vala:77: Render of background #000000 complete
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/cinnamon.desktop (Cinnamon, This session logs you into Cinnamon)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/cinnamon2d.desktop (Cinnamon (Software Rendering), This session logs you into Cinnamon (using software rendering))
[+0.58s] DEBUG: Loaded session /usr/share/wayland-sessions/cinnamon-wayland.desktop (Cinnamon on Wayland (Experimental), This session logs you into Cinnamon)
[+0.58s] DEBUG: Starting authentication for user manjaro...
[+0.58s] DEBUG: Wrote 23 bytes to daemon
[+0.58s] DEBUG: slick-greeter.vala:842: Starting main loop
[+0.59s] DEBUG: background.vala:622: Regenerating backgrounds
[+0.59s] DEBUG: background.vala:66: Making background #000000 at 1280x800
[+0.59s] DEBUG: background.vala:77: Render of background #000000 complete
[+0.59s] DEBUG: background.vala:66: Making background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg at 1280x800
[+0.59s] DEBUG: background.vala:622: Regenerating backgrounds
[+0.59s] DEBUG: background.vala:66: Making background #000000 at 1280x800
[+0.59s] DEBUG: background.vala:77: Render of background #000000 complete
[+0.59s] DEBUG: background.vala:66: Making background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg at 1280x800
[+0.64s] DEBUG: Read 8 bytes from daemon
[+0.64s] DEBUG: Read 37 bytes from daemon
[+0.64s] DEBUG: Prompt user with 1 message(s)
[+0.84s] DEBUG: slick-greeter.vala:302: starting system-ready sound
[+1.44s] DEBUG: background.vala:119: Render of background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg complete
[+1.50s] DEBUG: background.vala:119: Render of background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg complete
[+3.61s] DEBUG: Providing response to display manager
[+3.61s] DEBUG: Wrote 23 bytes to daemon
[+3.63s] DEBUG: Read 8 bytes from daemon
[+3.63s] DEBUG: Read 19 bytes from daemon
[+3.63s] DEBUG: Authentication complete for user manjaro with return code 0
[+3.63s] DEBUG: main-window.vala:234: Killing orca and onboard
[+3.63s] DEBUG: Starting session cinnamon
[+3.63s] DEBUG: Wrote 20 bytes to daemon
[+3.63s] DEBUG: Read 8 bytes from daemon
[+3.63s] DEBUG: Read 4 bytes from daemon
[+3.63s] DEBUG: slick-greeter.vala:837: Got a SIGTERM
[+3.63s] DEBUG: slick-greeter.vala:845: Cleaning up
[+3.63s] DEBUG: slick-greeter.vala:858: Exiting

Here is the lightdm log, not the time gap @ +2.15s that is how long it took for the password to work, about 10 seconds.

/var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=1321
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating user session
[+0.11s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.11s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.14s] DEBUG: Seat seat0: Creating greeter session
[+0.14s] DEBUG: Seat seat0: Creating display server of type x
[+0.14s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.14s] DEBUG: Using VT 7
[+0.14s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.14s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.14s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.14s] DEBUG: XServer 0: Launching X Server
[+0.14s] DEBUG: Launching process 1359: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.14s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.14s] DEBUG: Seat seat0: Creating display server of type x
[+0.14s] DEBUG: Using VT 8
[+0.14s] DEBUG: Seat seat0: Starting local X display on VT 8
[+0.14s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.14s] DEBUG: XServer 1: Writing X server authority to /var/run/lightdm/root/:1
[+0.14s] DEBUG: XServer 1: Launching X Server
[+0.14s] DEBUG: Launching process 1360: /usr/bin/X :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+0.14s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.14s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.14s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.17s] DEBUG: Got signal 10 from process 1359
[+1.17s] DEBUG: XServer 0: Got signal from X server :0
[+1.17s] DEBUG: XServer 0: Connecting to XServer :0
[+1.25s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.25s] DEBUG: Session pid=1518: Started with service 'lightdm-greeter', username 'lightdm'
[+1.27s] DEBUG: Session pid=1518: Authentication complete with return value 0: Success
[+1.27s] DEBUG: Seat seat0: Session authenticated, running command
[+1.27s] DEBUG: Session pid=1518: Running command /usr/bin/slick-greeter
[+1.27s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.27s] DEBUG: Session pid=1518: Logging to /var/log/lightdm/seat0-greeter.log
[+1.28s] DEBUG: Activating VT 7
[+1.83s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+2.13s] DEBUG: Greeter start authentication for manjaro
[+2.13s] DEBUG: Session pid=1619: Started with service 'lightdm', username 'manjaro'
[+2.15s] DEBUG: Session pid=1619: Got 1 message(s) from PAM
[+2.15s] DEBUG: Prompt greeter with 1 message(s)
[+12.91s] DEBUG: Continue authentication
[+12.92s] DEBUG: Session pid=1619: Authentication complete with return value 0: Success
[+12.92s] DEBUG: Authenticate result for user manjaro: Success
[+12.92s] DEBUG: User manjaro authorized
[+12.92s] DEBUG: Greeter requests session cinnamon
[+12.92s] DEBUG: Seat seat0: Returning to existing user session manjaro
[+12.92s] DEBUG: Activating VT 8
[+13.00s] DEBUG: Seat seat0: Stopping greeter
[+13.00s] DEBUG: Session pid=1518: Sending SIGTERM
[+13.00s] DEBUG: Session pid=1619: Exited with return value 0
[+13.00s] DEBUG: Seat seat0: Session stopped
[+13.00s] DEBUG: Greeter closed communication channel
[+13.00s] DEBUG: Session pid=1518: Exited with return value 0
[+13.00s] DEBUG: Seat seat0: Session stopped
[+13.00s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+13.00s] DEBUG: Sending signal 15 to process 1359
[+13.06s] DEBUG: Process 1359 exited with return value 0
[+13.06s] DEBUG: XServer 0: X server stopped
[+13.06s] DEBUG: Releasing VT 7
[+13.06s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+13.06s] DEBUG: Seat seat0: Display server stopped
[+13.15s] DEBUG: Got signal 10 from process 1360
[+13.15s] DEBUG: XServer 1: Got signal from X server :1
[+13.15s] DEBUG: XServer 1: Connecting to XServer :1
[+13.19s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+13.19s] DEBUG: Session pid=1643: Started with service 'lightdm-autologin', username 'manjaro'
[+13.20s] DEBUG: Session pid=1643: Authentication complete with return value 0: Success
[+13.20s] DEBUG: Seat seat0: Session authenticated, running command
[+13.20s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+13.21s] DEBUG: Session pid=1643: Running command /etc/lightdm/Xsession cinnamon-session-cinnamon
[+13.21s] DEBUG: Creating shared data directory /var/lib/lightdm-data/manjaro
[+13.21s] DEBUG: Session pid=1643: Logging to .xsession-errors
[+13.32s] DEBUG: Seat seat0 changes active session to 1
[+13.32s] DEBUG: Seat seat0 changes active session to 1
[+13.44s] DEBUG: Session pid=1643: Exited with return value 0
[+13.44s] DEBUG: Seat seat0: Session stopped
[+13.44s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+13.44s] DEBUG: Sending signal 15 to process 1360
[+13.48s] DEBUG: Seat seat0 changes active session to 
[+13.60s] DEBUG: Process 1360 exited with return value 0
[+13.60s] DEBUG: XServer 1: X server stopped
[+13.60s] DEBUG: Releasing VT 8
[+13.60s] DEBUG: XServer 1: Removing X server authority /var/run/lightdm/root/:1
[+13.60s] DEBUG: Seat seat0: Display server stopped
[+13.60s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+13.60s] DEBUG: Seat seat0: Creating greeter session
[+13.60s] DEBUG: Seat seat0: Creating display server of type x
[+13.60s] DEBUG: Using VT 7
[+13.60s] DEBUG: Seat seat0: Starting local X display on VT 7
[+13.60s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+13.60s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+13.60s] DEBUG: XServer 0: Launching X Server
[+13.60s] DEBUG: Launching process 1706: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+13.60s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+13.83s] DEBUG: Got signal 10 from process 1706
[+13.83s] DEBUG: XServer 0: Got signal from X server :0
[+13.83s] DEBUG: XServer 0: Connecting to XServer :0
[+13.85s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+13.85s] DEBUG: Session pid=1712: Started with service 'lightdm-greeter', username 'lightdm'
[+13.87s] DEBUG: Session pid=1712: Authentication complete with return value 0: Success
[+13.87s] DEBUG: Seat seat0: Session authenticated, running command
[+13.87s] DEBUG: Session pid=1712: Running command /usr/bin/slick-greeter
[+13.87s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+13.87s] DEBUG: Session pid=1712: Logging to /var/log/lightdm/seat0-greeter.log
[+14.10s] DEBUG: Activating VT 7
[+14.10s] DEBUG: Activating login1 session c2
[+14.10s] DEBUG: Seat seat0 changes active session to c2
[+14.10s] DEBUG: Session c2 is already active
[+14.10s] DEBUG: Seat seat0 changes active session to c2
[+14.10s] DEBUG: Session c2 is already active
[+14.54s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+14.69s] DEBUG: Greeter start authentication for manjaro
[+14.69s] DEBUG: Session pid=1859: Started with service 'lightdm', username 'manjaro'
[+14.71s] DEBUG: Session pid=1859: Got 1 message(s) from PAM
[+14.71s] DEBUG: Prompt greeter with 1 message(s)
[+17.72s] DEBUG: Continue authentication
[+17.73s] DEBUG: Session pid=1859: Authentication complete with return value 0: Success
[+17.73s] DEBUG: Authenticate result for user manjaro: Success
[+17.73s] DEBUG: User manjaro authorized
[+17.74s] DEBUG: Greeter requests session cinnamon
[+17.74s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+17.74s] DEBUG: Terminating login1 session c2
[+17.74s] DEBUG: Session pid=1712: Sending SIGTERM
[+17.75s] DEBUG: Greeter closed communication channel
[+17.75s] DEBUG: Session pid=1712: Exited with return value 0
[+17.75s] DEBUG: Seat seat0: Session stopped
[+17.75s] DEBUG: Seat seat0: Greeter stopped, running session
[+17.75s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+17.75s] DEBUG: Session pid=1859: Running command /etc/lightdm/Xsession cinnamon-session-cinnamon
[+17.75s] DEBUG: Creating shared data directory /var/lib/lightdm-data/manjaro
[+17.75s] DEBUG: Session pid=1859: Logging to .xsession-errors
[+17.96s] DEBUG: Activating VT 7
[+17.97s] DEBUG: Activating login1 session 3
[+17.97s] DEBUG: Seat seat0 changes active session to 3
[+17.97s] DEBUG: Session 3 is already active
[+17.97s] DEBUG: Seat seat0 changes active session to 3
[+17.97s] DEBUG: Session 3 is already active

Now this fix works, can it be included in livefs automatically or is this a problem?

I have included it in my test repo - using the shared live-overlay folder structure (see codeberg.org/wonky/iso-profiles/shared/manjaro/live-overlsy) for reference.

I have not yet tested the iso yet, perhaps you will have the honor?

You can get the signed and checksummed ISO at manjaro.dk/community/cinnamon/199.16

1 Like

manjaro-cinnamon-199.16-minimal-260718-linux618.iso
Intel IGP Lenovo ThinkPad T480 … Ventoy
There is a background image in the login window.
After about 2 minutes of waiting, the live system starts when I click on the
“log in” option

I am afraid it does not boot into a live session for me
actually it does boot but needs from 5 to 20 enters to do so

Considering that LightDM will (still) only start an Xorg session as root (see [HowTo] Rootless Graphical Session (rootless xorg, rootless wayland), for a recent example), why not switch to something much simpler (that works) like ly?

It’s not like the user will see the TUI login screen anyway. In my experiences with Arch-based systems, LightDM has been buggier that any other DM, and that includes SDDM.

In the meantime lightdm was ruled out as the problem. It also happens with other greeters.

Oh, ok - did not see that. Still not a fan of the root-only Xorg sessions.

ly does not support autologin, so there is that…

I was wrong - it is possible to autologin with ly.

It is described in the /etc/ly/config.ini file.

The problem is not the chosen login manager but the missing dbus session for the user.

See the topic linked in comment #4 above.

1 Like

Have you any idea why you have to hit enter a few times before it goes in?

Hi @robin0800

There is a whole discussion going on over here: Troubleshooting launching xfce/any session on live ISO - #74 by philm

Come over and help do some testing. I am trying to help as much as I can, but work has me buried.

The issue is very mysterious, but linux-aarhus & philm are attacking it pretty hard.

There is a break-through in the troubleshooting

Troubleshooting launching xfce/any session on live ISO - #100 by linux-aarhus

I have tested almost all iso-profiles using the mentioned approach - and it works for all of them.

There may be some polishing left but I think @philm hit an ore with this comment.

1 Like