E:Malformed entry 1 in sources file /etc/apt/sources.list.d/third-party.sources (URI parse), E:The list of sources could not be read

Hi @ricmarques and @NilleB,

Following @ricmarques' post, I checked my 22.04, 24.04 and my 24.10 installs to see if the file /etc/lightdm/lightdm.conf existed:

On my 22.04 and 24.04 install the file doesn't exist.
Only on my 24.10 install the file exists and the contents are:

[Seat:*]
allow-guest=false

I removed the file and rebooted.
Result: No difference whatsoever, just booted like always.

Since I use slick-greeter I can use the graphical loginmanager to change lightdm settings. I used this to set the 'allow guest session' to 'disable' and the file '/etc/lightdm/lightdm.conf' reappeared so i think it is indeed safe to delete that file altogether.

3 Likes

Hi again, @NilleB :slight_smile:

Based on @tkn 's last answer, I suggest that you do the following.

First, see what is the current content of your /etc/lightdm/lightdm.conf file, by using the following command:

sudo cat /etc/lightdm/lightdm.conf

Then, please rename that file by using, for example, the following command:

sudo mv -v /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.ORIG

Finally, please reboot.

I hope this helps :slight_smile: Please reply later, in this topic, to tell us if this solves your problem of the Ubuntu MATE GUI (Graphical User Interface) session not starting automatically.

3 Likes

Hi @ricmarques and @tkn

Many thanks to both of You for Your support during these difficult times. :joy: :joy:

My lightdm.conf:
sudo pluma /etc/lightdm/lightdm.conf

greeter-setup-script=/usr/bin/numlockx on

Yes my laptop has numeric keyboard, and my password contains numbers.

Followed tkn example and added
[Seat:*]
greeter-setup-script=/usr/bin/numlockx on

Read and be amazed!

Reboot and normal startup :joy:

This was done during my lunch break ( hauling firewood from my own forest while it is day light, for the next heating season. Living in northern Sweden 65.8 °N, with a "winter" climate).
Saw @ricmarques new posts after my afternoon session with the tractor.

Maybe I'll put back the "guiet" and "splash" if the weather prevents firewood jobs.
(It rained yesterday, terrible winter weather these days. It should be < -10 °C and snow.)

Background:
This was my second attempt at upgrading to 24.04, both failed. The first ended with a reinstall of 22.04 after total collapse.

I'll probably stick to my routine since 2007 of installing new releases on a new /partition , reusing /home. Then there is the old one functioning as security.
Maybe I can learn which folders in /home to copy over to the new release's /home to keep settings, email, websites, etc without disturbing the old working release.

I've been sticking to LTS for a long time now.

Once again, many thanks for Your support. ricmarques and tkn!

4 Likes