You are not logged in.
Hi,
I have included the /etc/lightdm/lightdm.conf in this message. I have edited the lightdm.conf as shown in Section 5.5 of the manual listed in the link below
https://wiki.archlinux.org/title/LightDM
My lightdm.conf details are below
[Seat:*]
#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=true
#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
#autologin-guest = false
#autologin-user = mac
#autologin-user-timeout = 0
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session=lightdm-slick-greeter
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
user-session=xfce
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=mac
#autologin-user-timeout=0
#autologin-in-background=false
autologin-session=xfce
#exit-on-failure=false
#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=
#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8I have even edited the PAM file as shown below as mentioned in the link. Section 5.6
#%PAM-1.0
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
auth include system-login
-auth optional pam_gnome_keyring.so
account include system-login
password include system-login
session include system-login
-session optional pam_gnome_keyring.so auto_startSo, the login screen still shows up, but I have no need to enter password.
I have the ./dmrc file and it shows the following info
[Desktop]
Session=xfceLast edited by wassup1326 (2023-06-28 03:32:35)
Offline
Please use [code][/code] tags. Edit your post in this regard.
Also post the entire lightdm.conf, the stuff you posted won't work for sure.
Autologin and PW-less login are different things, what do you actually want to achieve and whata is the status quo behavior?
Last edited by seth (2023-06-24 15:11:19)
Online
Please use [code][/code] tags. Edit your post in this regard.
Also post the entire lightdm.conf, the stuff you posted won't work for sure.Autologin and PW-less login are different things, what do you actually want to achieve and whata is the status quo behavior?
Yup, I have update the post. The goal is to run the machine headless(without monitor, keyboard and mouse) and should be able to access it using ssh, and AnyDesk. SSH and Anydesk works fine, but I am unable to login without the login screen.
Offline
There's a stale "[Seat:*]" block at the top.
No idea whether that prevents the second one from being read but I'd clean it up first.
Online
Yeah, no change. Commented the first line, which said: "[Seat:*]".
Offline
Post your lightdm log (/var/log) and system journal (sudo journalctl -b) after expecting an autologin w/ lightdm
http://ix.io
Online
sudo journal ctl-b log is long, its like 700 lines and counting. I have put in the starting lines in this post. Let me know, if you need it all.
Jun 26 10:03:46 Mac kernel: Linux version 6.3.9-arch1-1 (linux@archlinux) (gcc (GCC) 13.1.1 20230429, GNU ld (GNU Binutils) 2.40.0) #1 SMP PREEMPT_DYNAMIC Wed, 21 Ju>
Jun 26 10:03:46 Mac kernel: Command line: initrd=\582b4742526c437dac911c5b7d09f9ee\6.3.9-arch1-1\initrd nvme_load=YES nowatchdog rw root=UUID=4e223f94-1b10-4b5c-a8f8>
Jun 26 10:03:46 Mac kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jun 26 10:03:46 Mac kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jun 26 10:03:46 Mac kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jun 26 10:03:46 Mac kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Jun 26 10:03:46 Mac kernel: x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
Jun 26 10:03:46 Mac kernel: signal: max sigframe size: 1776
Jun 26 10:03:46 Mac kernel: BIOS-provided physical RAM map:
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000008efff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000000090000-0x000000000009ffff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000bffff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000088d0ffff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088d10000-0x0000000088d52fff] ACPI NVS
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088d53000-0x0000000088d57fff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088d58000-0x0000000088d8efff] ACPI data
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088d8f000-0x0000000088e38fff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088e39000-0x0000000088e8efff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088e8f000-0x0000000088ed1fff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088ed2000-0x0000000088efefff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088eff000-0x0000000088f83fff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088f84000-0x0000000088feffff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000088ff0000-0x0000000088ffffff] usable
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000089000000-0x000000008f9fffff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x00000000e00f8000-0x00000000e00f8fff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x00000000ffe10000-0x00000000ffe3ffff] reserved
Jun 26 10:03:46 Mac kernel: BIOS-e820: [mem 0x0000000100000000-0x000000026f5fffff] usable
Jun 26 10:03:46 Mac kernel: NX (Execute Disable) protection: active
Jun 26 10:03:46 Mac kernel: e820: update [mem 0x73657190-0x736671cf] usable ==> usable
Jun 26 10:03:46 Mac kernel: e820: update [mem 0x73657190-0x736671cf] usable ==> usable
Jun 26 10:03:46 Mac kernel: e820: update [mem 0x73656810-0x73656cca] usable ==> usable
Jun 26 10:03:46 Mac kernel: e820: update [mem 0x73656810-0x73656cca] usable ==> usable
Jun 26 10:03:46 Mac kernel: extended physical RAM map:
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000000000000-0x0000000000057fff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000000059000-0x000000000008efff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x000000000008f000-0x000000000008ffff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000000090000-0x000000000009ffff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x00000000000a0000-0x00000000000bffff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000000100000-0x000000007365680f] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000073656810-0x0000000073656cca] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000073656ccb-0x000000007365718f] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000073657190-0x00000000736671cf] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x00000000736671d0-0x0000000088d0ffff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088d10000-0x0000000088d52fff] ACPI NVS
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088d53000-0x0000000088d57fff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088d58000-0x0000000088d8efff] ACPI data
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088d8f000-0x0000000088e38fff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088e39000-0x0000000088e8efff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088e8f000-0x0000000088ed1fff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088ed2000-0x0000000088efefff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088eff000-0x0000000088f83fff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088f84000-0x0000000088feffff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000088ff0000-0x0000000088ffffff] usable
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000089000000-0x000000008f9fffff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x00000000e00f8000-0x00000000e00f8fff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x00000000ffe10000-0x00000000ffe3ffff] reserved
Jun 26 10:03:46 Mac kernel: reserve setup_data: [mem 0x0000000100000000-0x000000026f5fffff] usable
Jun 26 10:03:46 Mac kernel: efi: EFI v1.1 by Apple
Jun 26 10:03:46 Mac kernel: efi: ACPI=0x88d8e000 ACPI 2.0=0x88d8e014 SMBIOS=0x88d11000 RNG=0x88d5cd90 INITRD=0x74ee5190
Jun 26 10:03:46 Mac kernel: random: crng init done
Jun 26 10:03:46 Mac kernel: efi: Not removing mem252: MMIO range=[0xe00f8000-0xe00f8fff] (4KB) from e820 maplightdm log is below
[+0.29s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=474
[+0.29s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.29s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.29s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.29s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.29s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/10-eos-slick.conf
[+0.29s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.29s] DEBUG: Registered seat module local
[+0.29s] DEBUG: Registered seat module xremote
[+0.29s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.29s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.29s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.29s] DEBUG: Monitoring logind for seats
[+0.29s] DEBUG: New seat added from logind: seat0
[+0.29s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.29s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.29s] DEBUG: Seat seat0: Starting
[+0.29s] DEBUG: Seat seat0: Creating user session
[+1.57s] DEBUG: Loading users from org.freedesktop.Accounts
[+1.57s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+3.02s] DEBUG: Seat seat0: Failed to find session configuration xfce
[+3.02s] DEBUG: Seat seat0: Can't find session 'xfce '
[+3.02s] DEBUG: Seat seat0: Creating greeter session
[+3.09s] DEBUG: Seat seat0: Creating display server of type x
[+3.10s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+3.10s] DEBUG: Using VT 7
[+3.10s] DEBUG: Seat seat0: Starting local X display on VT 7
[+3.10s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+3.10s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+3.10s] DEBUG: XServer 0: Launching X Server
[+3.10s] DEBUG: Launching process 521: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+3.10s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+3.10s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+3.10s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+3.10s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+19.82s] DEBUG: Got signal 10 from process 521
[+19.82s] DEBUG: XServer 0: Got signal from X server :0
[+19.82s] DEBUG: XServer 0: Connecting to XServer :0
[+19.93s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+19.93s] DEBUG: Session pid=592: Started with service 'lightdm-greeter', username 'lightdm'
[+20.51s] DEBUG: Session pid=592: Authentication complete with return value 0: Success
[+20.51s] DEBUG: Seat seat0: Session authenticated, running command
[+20.51s] DEBUG: Session pid=592: Running command /usr/bin/slick-greeter
[+20.51s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+20.52s] DEBUG: Session pid=592: Logging to /var/log/lightdm/seat0-greeter.log
[+23.53s] DEBUG: Activating VT 7
[+23.53s] DEBUG: Activating login1 session c1
[+23.53s] DEBUG: Seat seat0 changes active session to c1
[+23.53s] DEBUG: Session c1 is already active
[+29.95s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+34.71s] DEBUG: Greeter start authentication for mac
[+34.71s] DEBUG: Session pid=917: Started with service 'lightdm', username 'mac'
[+34.99s] DEBUG: Session pid=917: Authentication complete with return value 0: Success
[+34.99s] DEBUG: Authenticate result for user mac: Success
[+34.99s] DEBUG: User mac authorized
[+1066.62s] DEBUG: Greeter requests session xfce
[+1066.62s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+1066.62s] DEBUG: Terminating login1 session c1
[+1066.63s] DEBUG: Session pid=592: Sending SIGTERM
[+1066.73s] DEBUG: Greeter closed communication channel
[+1066.73s] DEBUG: Session pid=592: Exited with return value 0
[+1066.73s] DEBUG: Seat seat0: Session stopped
[+1066.73s] DEBUG: Seat seat0: Greeter stopped, running session
[+1066.73s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+1066.73s] DEBUG: Session pid=917: Running command /etc/lightdm/Xsession startxfce4
[+1066.73s] DEBUG: Creating shared data directory /var/lib/lightdm-data/mac
[+1066.73s] DEBUG: Session pid=917: Logging to .xsession-errors
[+1068.23s] DEBUG: Activating VT 7
[+1068.23s] DEBUG: Activating login1 session 2
[+1068.23s] DEBUG: Seat seat0 changes active session to
[+1068.23s] DEBUG: Seat seat0 changes active session to 2
[+1068.23s] DEBUG: Session 2 is already activeI know its shows xfce is not found, but in dmrc log as shown in my previous post, it shows session is xfce
Offline
[+3.02s] DEBUG: Seat seat0: Can't find session 'xfce 'looks hyper-suspicious because there's a stray blank which isn't in your post above, please upload the lightdm.conf using ix.io
cat /etc/lightdm/lightdm.conf | curl -F 'f:1=<-' ix.ioOnline
Done.
http://ix.io/4z9b
Offline
File looks fine
pacman -Qikk xfce4-sessionAnd yes, please post the entire jouranl - the head is pointlins itc.
sudo journalctl -b | curl -F 'f:1=<-' ix.ioOnline
When I run the pacman command, the following is the output
Name : xfce4-session
Version : 4.18.3-1
Description : Xfce's session manager
Architecture : x86_64
URL : https://docs.xfce.org/xfce/xfce4-session/start
Licenses : GPL2
Groups : xfce4
Provides : None
Depends On : libxfce4ui libwnck3 xfconf libsm polkit xorg-iceauth xorg-xinit xorg-xrdb polkit-gnome hicolor-icon-theme
Optional Deps : gnome-keyring: for keyring support when GNOME compatibility is enabled [installed]
xfce4-screensaver: for locking screen with xflock4 [installed]
xscreensaver: for locking screen with xflock4
light-locker: for locking screen with xflock4
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1493.96 KiB
Packager : Evangelos Foutras <foutrelis@archlinux.org>
Build Date : Mon 29 May 2023 01:25:00 PM EDT
Install Date : Thu 22 Jun 2023 04:14:21 PM EDT
Install Reason : Explicitly installed
Install Script : No
Validated By : SignatureUploaded the journalctl
http://ix.io/4z9r
Offline
The package is fine.
Did you try to simply comment
…
#user-session=xfce
…
#autologin-session=xfce
…and rely on the dmrc?
Online
Hahaha, it worked. Ah, spent so many days trying to figure it. But the solution was so simple.
Thanks once again!
Offline
'key, but at least the "autologin-session=xfce" should™ work and the user-session should™ override the dmrc.
You could try "xfce.desktop" instead of just "xfce" or the full path /usr/share/xsessions/xfce.desktop
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
Made the change and it asks me to enter the password. I have uploaded the lightdm.conf to the following link
http://ix.io/4zam
Offline
That's effectively
[LightDM]
run-directory=/run/lightdm
[Seat:*]
greeter-session=lightdm-slick-greeter
session-wrapper=/etc/lightdm/Xsession
autologin-user=mac
[XDMCPServer]
[VNCServer]How is that different from the one that worked in #13 ?
Online
Honestly, I don't know what happened, it worked, and now when I comment the line, it doesn't work again. The only good thing is that the logs don't show the Xfce error.
Offline
Please post an updated lightdm log.
Online
Done, its uploaded to the link attached
http://ix.io/4zc5
Offline
[+24.33s] DEBUG: Session pid=698: Started with service 'lightdm-autologin', username 'mac'
[+25.14s] DEBUG: Session pid=698: Authentication complete with return value 0: Success
[+25.14s] DEBUG: Seat seat0: Session authenticated, running command
[+25.14s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+25.14s] DEBUG: Session pid=698: Running command /etc/lightdm/Xsession startxfce4
[+25.14s] DEBUG: Creating shared data directory /var/lib/lightdm-data/macLooks like you get auto-logged in, but
[+2.52s] DEBUG: Launching process 505: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+2.52s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+2.53s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+2.53s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+24.15s] DEBUG: Got signal 10 from process 505
[+24.15s] DEBUG: XServer 0: Got signal from X server :0
[+24.15s] DEBUG: XServer 0: Connecting to XServer :0
[+24.33s] DEBUG: Seat seat0: Display server ready, starting session authenticationit takes 22s to start the X11 server.
Jun 26 10:04:08 Mac kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Jun 26 10:04:08 Mac kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Jun 26 10:04:08 Mac kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizeslooks like a pot. problem and look at timestamps of
Jun 26 10:03:59 Mac systemd[1]: Queued start job for default target Graphical Interface.
…
Jun 26 10:04:47 Mac systemd[1]: Reached target Graphical Interface.This has nothing to do w/ the lightdm autologin.
Try https://wiki.archlinux.org/title/LightD … TTY_output but the entire boot seems to move at a glacial speed w/o any major stalls though.
Online
It works! I have tried rebooting multiple times to ensure it logs in to the page, and it does. Thanks again. So, do I have to edit the title and say Solved or is there a reporting, I need to be doing?
Offline
I have to edit the title and say Solved
You might still want to figure why the system is generally booting so slow, but that's at best indirectly related.
Online