You are not logged in.
Lightdm was working just fine for atleast 6 months
Until today I did a upgrade where I can assure you that those packages had nothing to do with lightdm
Lightdm has a log file that shows
** (WebKitWebProcess:1230): CRITICAL **: 10:18:32.399: lightdm_language_get_name: assertion 'LIGHTDM_IS_LANGUAGE (language)' failed
file:///usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/dist/js/Aether.js:1:9201: CONSOLE LOG PixiJS 4.7.3 - WebGL - http://www.pixijs.com/I previously had no idea why computer was not booting up and my computer showed similar symptoms to this guy form . Because I had no idea what was going freak I guessed it to be some bugged update of linux and linux-headers.
so I downgraded linux and linux-headers packages but still no sign of booting up. A dash used to show up on the screen and it used to go away like in a loop. I tried to access tty but it wasn't possible too. Luckily I found that the issue lied in lightdm so I disabled it and Currently I am using SDDM and everything is working just fine
I use aether an additional greeter theme ( which I guess is mostly used my many)
I removed every piece of lightdm and reinstalled lightdm, lightdm-webkit2-greeter (aur/lightdm-webkit2-greeter ) and lightdm-webkit-theme-aether (via git clone and manual installation) from this Git Hub Repo
But still no sign of booting up.....
I just wanted to know what was the issue about. I checked the Journal (Main-PID) which I guess I did it correct.
sudo systemctl status lightdm.service
#then some PID will show up like 703 or something
journalctl -b -u 703 #or the number shown in Main-PIDIt said there were no any entries--------------
I guess this is the way to see the journal please correct me if I did something wrong above.
But there is actual log that lightdm produces above
1.I have no idea how to display the systemctl status of lightdm from the previous boot. Do let me know that as well
2. What is the problem about and how can I fix it?
Last edited by Superadmin (2021-12-15 05:17:59)
Offline
some bugged update of linux and linux-headers.
Hardly.
localectl
locale
locale -aOnline
Hardly.
I know !!
By the way I didn't get what you meant by localectl locale and locale -a
Did you meant hardly these update put the computer into booting issues?
Here is the link for pacman logs that will give more details
$ locale -a
C
POSIX
en_US.utf8$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=$ localectl
System Locale: LANG=C
VC Keymap: n/a
X11 Layout: n/aLast edited by Superadmin (2021-12-13 15:21:59)
Offline
You should post the output of these commands. If we can trust this error message it has problems because it reads an invalid locale string so we need to find out how things look like on your system. FWIW just to check you might also want to post the /var/log/pacman.log covering the problematic update
Last edited by V1del (2021-12-13 15:11:11)
Offline
Start by setting the (system) locale, https://wiki.archlinux.org/title/Locale … the_locale - en_US.UTF-8 seems a good idea.
Edit:
Did you meant hardly these update put the computer into booting issues?
Yes. A kernel update does not lead to that specific error.
Last edited by seth (2021-12-13 15:14:39)
Online
Start by setting the (system) locale - en_US.UTF-8 seems a good idea.
Yeah I tried but nothing changed. It's still not booting
Wait
I need to ask if I did it correct.
It was en_US.UTF-8 when I checked it in /etc/locale.gen
I mean the uncommented line....
but also I did
# localectl set-locale LANG=en_US.UTF-8Did I do it right?
I have also pasted a pacman log files in this url to see if there is something wrong when I did the update
Last edited by Superadmin (2021-12-13 15:39:06)
Offline
Updated output of the commands in #2 and updated lightdm log?
Online
Updated output of the commands in #2 and updated lightdm log?
Still the same
** (WebKitWebProcess:1238): CRITICAL **: 10:26:48.580: lightdm_language_get_name: assertion 'LIGHTDM_IS_LANGUAGE (language)' failed
file:///usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/dist/js/Aether.js:1:9201: CONSOLE LOG PixiJS 4.7.3 - WebGL - http://www.pixijs.com/
(lightdm-webkit2-greeter:1203): Gtk-CRITICAL **: 10:27:55.393: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed$ localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: n/a$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=$ locale -a
C
POSIX
en_US.utf8Last edited by Superadmin (2021-12-13 15:44:05)
Offline
The entire log, please. And also if the commands from #2 still say you're using the C locale, you didn't set it correctly.
Did you reboot after the locale changes?
Last edited by seth (2021-12-13 15:45:04)
Online
The entire log, please. And also if the commands from #2 still say you're using the C locale, you didn't set it correctly.
Did you reboot after the locale changes?
Yes Ofcourse I did
$ history
477 locale -a
478 locale
479 localectl
480 ls /var/log/pacman.log
481 nano var/log/pacman.log
482 nano /var/log/pacman.log
483 cp /var/log/pacman.log paster.log
484 ls
485 /etc/locale.conf
486 nano /etc/locale.conf
487 cd /etc/
488 ls
489 nano locale.conf
490 nano locale.gen
491 sudo localectl set-locale LANG=en_US.UTF-8
492 locale
493 sudo systemctl disable sddm
494 sudo systemctl enable lightdm
495 reboot
496 locale
497 sudo tail /var/log/lightdm/seat0-greeter.log
498 localectl
499 locale
500 locale -a
501 historyLast edited by Superadmin (2021-12-13 15:49:51)
Offline
Som something™ sets the locale to C after the sourced locale.sh - if that still applies to lightdm (likely) that's (likely) a problem.
Check /etc/profile* as (likely) source but also https://wiki.archlinux.org/title/Enviro … s#Globally
Online
The entire log, please.
Although I have used tail but I promise that is all the log says
Offline
Som something™ sets the locale to C after the sourced locale.sh - if that still applies to lightdm (likely) that's (likely) a problem.
Check /etc/profile* as (likely) source but also https://wiki.archlinux.org/title/Enviro … s#Globally
I am sorry from my heart but I didn't understand what to do from the link you gave
I got the point that there are package-specific configuration files containing variable settings like /etc/locale.conf
Check /etc/profile* as (likely) source
see here in pastebin for (nano /etc/profile.d/locale.sh )
Last edited by Superadmin (2021-12-13 16:14:52)
Offline
That script is what applies the configuration you made w/ localectl - the question is whether anything else in /etc/profile* or /etc/environment sets locale variables.
Online
That script is what applies the configuration you made w/ localectl - the question is whether anything else in /etc/profile* or /etc/environment sets locale variables.
$ ls /etc/profile*
/etc/profile
/etc/profile.d:
PackageKit.sh gawk.sh libreoffice-fresh.sh perlbin.sh
freetype2.sh gpm.sh locale.sh vte.csh
gawk.csh libreoffice-fresh.csh perlbin.csh vte.sh$ls /etc/environment*
/etc/environmentcontents of locale.sh is given in pastebin above
Last edited by Superadmin (2021-12-13 16:20:54)
Offline
Yeah, printing some filenames doesn't get you anywhere.
*YOU* are supposed to *look* at those files and *see* whether anything sets locales to C…
You need to get rid of that configuration, but none of us can possibly know where you've injected it.
Online
Yeah, printing some filenames doesn't get you anywhere.
*YOU* are supposed to *look* at those files and *see* whether anything sets locales to C…
You need to get rid of that configuration, but none of us can possibly know where you've injected it.
Look at these pastebin
I have pasted content of every file you possibly wanted
https://pastebin.com/SSAnNC3s
btw I have previously given the pastbin link for locales where locale was mentioned
/etc/enviroment just has
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#I have been following this GitHub For installation of lightdm
You can too once take a look at these troubleshooting methods
I have tried reinstalling method but haven't done reconfiguring graphics driver
Last edited by Superadmin (2021-12-13 16:40:54)
Offline
I want *you* to look around because *you* injected that somewhere™…
It's not in /etc/profile* so let's rule out you just altered that for your current UID. See ~/.locale.conf, your shell rc/profile and https://wiki.archlinux.org/title/Locale … g_language
btw I have previously given the pastbin link for locales where locale was mentioned
And I've previously told you what that file does…
Edit: where does that troubleshooting section mention
** (WebKitWebProcess:1230): CRITICAL **: 10:18:32.399: lightdm_language_get_name: assertion 'LIGHTDM_IS_LANGUAGE (language)' failed?
Last edited by seth (2021-12-13 16:42:31)
Online
I want *you* to look around because *you* injected that somewhere™…
It's not in /etc/profile* so let's rule out you just altered that for your current UID. See ~/.locale.conf, your shell rc/profile and other
here I have some possible finding
Edit: Answer in sudo vim /var/log/lightdm/seat0-greeter.log where the log files lies
Last edited by Superadmin (2021-12-13 16:51:07)
Offline
Are you currently running a plasma session?
Remove that file, re-login. Does that have any impact on the "locale" output?
Online
Are you currently running a plasma session?
Remove that file, re-login. Does that have any impact on the "locale" output?
yes
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=I not only did re-login
I systemctl-ed lightdm after disabling sddm. but no boot what so ever
Offline
Because of https://github.com/canonical/lightdm/bl … language.c the error message you receive implies a a bogus LANG and at the beginning of this thread that was certainly the case (because lightdm also filters for utf-8 locales)
But that should have been sanitized w/ #8 and the following data was skewed by the user- and plasma specific setting.
The only thing left I could think of is that you're exporting a different locale to the lightdm service…
systemctl show lightdm.serviceOnline
The only thing left I could think of is that you're exporting a different locale to the lightdm service…
systemctl show lightdm.service
Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=1min 30s TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity
WatchdogUSec=infinity WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=success
ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 ExecMainStartTimestampMonotonic=0 ExecMainExitTimestampMonotonic=0 ExecMainPID=0 ExecMainCode=0 ExecMainStatus=0 MemoryCurrent=[not set]
MemoryAvailable=infinity CPUUsageNSec=[not set] TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615
IOReadOperations=18446744073709551615 IOWriteBytes=18446744073709551615 IOWriteOperations=18446744073709551615 Delegate=no CPUAccounting=yes CPUWeight=[not set] StartupCPUWeight=[not set] CPUShares=[not set] StartupCPUShares=[not
set] CPUQuotaPerSecUSec=infinity CPUQuotaPeriodUSec=infinity IOAccounting=no IOWeight=[not set] StartupIOWeight=[not set] BlockIOAccounting=no BlockIOWeight=[not set] StartupBlockIOWeight=[not set] MemoryAccounting=yes
DefaultMemoryLow=0 DefaultMemoryMin=0 MemoryMin=0 MemoryLow=0 MemoryHigh=infinity MemoryMax=infinity MemorySwapMax=infinity MemoryLimit=infinity DevicePolicy=auto TasksAccounting=yes TasksMax=18408 IPAccounting=no
ManagedOOMSwap=auto ManagedOOMMemoryPressure=auto ManagedOOMMemoryPressureLimit=0 ManagedOOMPreference=none UMask=0022 LimitCPU=infinity LimitCPUSoft=infinity LimitFSIZE=infinity LimitFSIZESoft=infinity LimitDATA=infinity
LimitDATASoft=infinity LimitSTACK=infinity LimitSTACKSoft=8388608 LimitCORE=infinity LimitCORESoft=infinity LimitRSS=infinity LimitRSSSoft=infinity LimitNOFILE=1073741816 LimitNOFILESoft=1073741816 LimitAS=infinity
LimitASSoft=infinity LimitNPROC=61361 LimitNPROCSoft=61361 LimitMEMLOCK=2022424576 LimitMEMLOCKSoft=2022424576 LimitLOCKS=infinity LimitLOCKSSoft=infinity LimitSIGPENDING=61361 LimitSIGPENDINGSoft=61361 LimitMSGQUEUE=819200
LimitMSGQUEUESoft=819200 LimitNICE=0 LimitNICESoft=0 LimitRTPRIO=0 LimitRTPRIOSoft=0 LimitRTTIME=infinity LimitRTTIMESoft=infinity OOMScoreAdjust=0 CoredumpFilter=0x33 Nice=0 IOSchedulingClass=0 IOSchedulingPriority=0
CPUSchedulingPolicy=0 CPUSchedulingPriority=0 CPUAffinityFromNUMA=no NUMAPolicy=n/a TimerSlackNSec=50000 CPUSchedulingResetOnFork=no NonBlocking=no StandardInput=null StandardOutput=inherit StandardError=inherit TTYReset=no
TTYVHangup=no TTYVTDisallocate=no SyslogPriority=30 SyslogLevelPrefix=yes SyslogLevel=6 SyslogFacility=3 LogLevelMax=-1 LogRateLimitIntervalUSec=0 LogRateLimitBurst=0 SecureBits=0 CapabilityBoundingSet=cap_chown cap_dac_override
cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio
cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin
cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore DynamicUser=no RemoveIPC=no PrivateTmp=no PrivateDevices=no ProtectClock=no ProtectKernelTunables=no ProtectKernelModules=no
ProtectKernelLogs=no ProtectControlGroups=no PrivateNetwork=no PrivateUsers=no PrivateMounts=no PrivateIPC=no ProtectHome=no ProtectSystem=no SameProcessGroup=no UtmpMode=init IgnoreSIGPIPE=yes NoNewPrivileges=no
SystemCallErrorNumber=2147483646 LockPersonality=no RuntimeDirectoryPreserve=no RuntimeDirectoryMode=0755 StateDirectoryMode=0755 CacheDirectoryMode=0755 LogsDirectoryMode=0755 ConfigurationDirectoryMode=0755
TimeoutCleanUSec=infinity MemoryDenyWriteExecute=no RestrictRealtime=no RestrictSUIDSGID=no RestrictNamespaces=no MountAPIVFS=no KeyringMode=private ProtectProc=default ProcSubset=all ProtectHostname=no KillMode=control-group
KillSignal=15 RestartKillSignal=15 FinalKillSignal=9 SendSIGKILL=yes SendSIGHUP=no WatchdogSignal=6 Id=lightdm.serive.service Names=lightdm.serive.service Description=lightdm.serive.service LoadState=not-found ActiveState=inactive
FreezerState=running SubState=dead StateChangeTimestampMonotonic=0 InactiveExitTimestampMonotonic=0 ActiveEnterTimestampMonotonic=0 ActiveExitTimestampMonotonic=0 InactiveEnterTimestampMonotonic=0 CanStart=no CanStop=yes
CanReload=no CanIsolate=no CanFreeze=yes StopWhenUnneeded=no RefuseManualStart=no RefuseManualStop=no AllowIsolate=no DefaultDependencies=yes OnSuccessJobMode=fail OnFailureJobMode=replace IgnoreOnIsolate=no NeedDaemonReload=no
JobTimeoutUSec=infinity JobRunningTimeoutUSec=infinity JobTimeoutAction=none ConditionResult=no AssertResult=no ConditionTimestampMonotonic=0 AssertTimestampMonotonic=0 LoadError=org.freedesktop.systemd1.NoSuchUnit "Unit
lightdm.serive.service not found." Transient=no Perpetual=no StartLimitIntervalUSec=10s StartLimitBurst=5 StartLimitAction=none FailureAction=none SuccessAction=none CollectMode=inactivethe following data was skewed by the user- and plasma specific setting.
.....that you're exporting a different locale to the lightdm service…
I am so unknown about that.... but all I can say is the day I did the update there were lot of plasma updates and stuff. Might be those things have fiddled with locale.
I haven't touched anything affiliated to locale, exporting is a far term I would ever do
Last edited by Superadmin (2021-12-14 03:43:24)
Offline
What's that output? Some trolling attempt?
What happened to the linebreaks? Why's there not even an "ExecStart"?
…
systemctl show lightdm.service | curl -F 'f:1=<-' ix.ioOnline
Hey, from your posting history I saw that you have the same laptop as me, a Lenovo Legion 5. I had the same problem yesterday. Do you by any chance have optimus-manager installed? If so, you'll have to rebuild it, the recent python updates broke optimus-manager, which in turn breaks lightdm.
Offline