Re: MX-23 Rpi Respin -- Beta testing

Message
Author
User avatar
chrispop99
Global Moderator
Posts: 3323
Joined: Tue Jan 27, 2009 2:07 pm

Re: MX-23 Rpi Respin -- Beta testing

#191 Post by chrispop99 »

Only able to do a brief sanity check - next couple of days here in the UK get taken over a bit - but it looks great. The issues I was seeing are all fully resolved. Great work @Jerry3904 and @dolphin_oracle !

Chris
MX Facebook Group Administrator.
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines

User avatar
Jerry3904
Administrator
Posts: 23049
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 Rpi Respin -- Beta testing

#192 Post by Jerry3904 »

I totally agree! The workaround is nearly invisible and removes the problem. I appreciate the change in desktop icons.

Final thoughts
1) would like to see us consider one last time removing shortened desktop icon captions to give this very clear setup.
fullicontitles.png
2) think we might want to speak directly to localization, since the choices are embedded and small on the Installer. Maybe right in the Announcement would be good, and I can add a section to the Tips document adding the methods (RPi and Tools) of changing once installed. Along that line of thinking, I would like to point to rc-config, wondering if it would be better eventually to use that for the menu entry we have for R P Configuration:
rc-config.png
Otherwise, IMO, as Bugs Bunny always said: That's it, folks!
You do not have the required permissions to view the files attached to this post.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 12599
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-23 Rpi Respin -- Beta testing

#193 Post by fehlix »

dolphin_oracle wrote: Sat Dec 23, 2023 10:25 pm
* perhaps disable gnome-keyring in auto-start,
but do enable gnome-keyring-daemon.service as user-service instead.
This might help pam to unlock the newly created login-keyring.
at least in theory...
I did try that, but there was no help.
OK, this works here:

To unlock gnome-keyring automatically at user login with password (not with auto-login):

* masks both user-services :
gnome-keyring-daemon.service
and
gnome-keyring-daemon.socket

* remove from autostart the temp-workaround zz-restart-gnome-keyring-1-time.desktop

Tested this way
First mounted mounted mx23.1_rc2_rpi.img writable
with
gnome-disk-image-mounter -w mx23.1_rc2_rpi.img
and
mounted rootfs from mx23.1_rc2_rpi.img at /media/fehlix/rootfs

Next:
Created two systemd user masks:
sudo mkdir -p /media/fehlix/rootfs/etc/skel/.config/systemd/user
sudo ln -s /dev/null /media/fehlix/rootfs/etc/skel/.config/systemd/user/gnome-keyring-daemon.service
sudo ln -s /dev/null /media/fehlix/rootfs/etc/skel/.config/systemd/user/gnome-keyring-daemon.socket

and removed zz-restart-gnome-keyring-1-time.desktop
sudo rm /media/fehlix/rootfs/etc/skel/.config/autostart/zz-restart-gnome-keyring-1-time.desktop

Now unmounted,
and wrote the image to an USB-stick, with help of BitJam's image writer:

Code: Select all

sudo dd-live-usb -f  mx23.1_rc2_rpi.img
Booted now with this USB-stick from a Raspberry PI 400.
Success Login keyring unlocked after login at the Lightdm login screen.
Also any newly created user, will immediately get the keyring unlocked
after user creation and logout login to the new user.
Suggest to get this onto the release image.
Thanks

User avatar
Jerry3904
Administrator
Posts: 23049
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 Rpi Respin -- Beta testing

#194 Post by Jerry3904 »

Thanks for working through this, @fehlix!
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 23049
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 Rpi Respin -- Beta testing

#195 Post by Jerry3904 »

BTW: I noticed when running a search for "Raspberry" in synaptic that the package rpi-chromium-mods is not installed, has in the comment "Pi-specific modifications." Did we ever look at that?

I'm going to install it this week and try to see what those patches are doing.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22023
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-23 Rpi Respin -- Beta testing

#196 Post by dolphin_oracle »

fehlix wrote: Mon Dec 25, 2023 12:06 pm
dolphin_oracle wrote: Sat Dec 23, 2023 10:25 pm
* perhaps disable gnome-keyring in auto-start,
but do enable gnome-keyring-daemon.service as user-service instead.
This might help pam to unlock the newly created login-keyring.
at least in theory...
I did try that, but there was no help.
OK, this works here:

To unlock gnome-keyring automatically at user login with password (not with auto-login):

* masks both user-services :
gnome-keyring-daemon.service
and
gnome-keyring-daemon.socket

* remove from autostart the temp-workaround zz-restart-gnome-keyring-1-time.desktop

Tested this way
First mounted mounted mx23.1_rc2_rpi.img writable
with
gnome-disk-image-mounter -w mx23.1_rc2_rpi.img
and
mounted rootfs from mx23.1_rc2_rpi.img at /media/fehlix/rootfs

Next:
Created two systemd user masks:
sudo mkdir -p /media/fehlix/rootfs/etc/skel/.config/systemd/user
sudo ln -s /dev/null /media/fehlix/rootfs/etc/skel/.config/systemd/user/gnome-keyring-daemon.service
sudo ln -s /dev/null /media/fehlix/rootfs/etc/skel/.config/systemd/user/gnome-keyring-daemon.socket

and removed zz-restart-gnome-keyring-1-time.desktop
sudo rm /media/fehlix/rootfs/etc/skel/.config/autostart/zz-restart-gnome-keyring-1-time.desktop

Now unmounted,
and wrote the image to an USB-stick, with help of BitJam's image writer:

Code: Select all

sudo dd-live-usb -f  mx23.1_rc2_rpi.img
Booted now with this USB-stick from a Raspberry PI 400.
Success Login keyring unlocked after login at the Lightdm login screen.
Also any newly created user, will immediately get the keyring unlocked
after user creation and logout login to the new user.
Suggest to get this onto the release image.
Thanks
I thought about doing it that way. It’s essentially the way it works on sysvinit. Will make the adjustment.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
dolphin_oracle
Developer
Posts: 22023
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-23 Rpi Respin -- Beta testing

#197 Post by dolphin_oracle »

@fehlix keeping in mind that the pi uses systemd do we have any issues with missing sockets this way.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
fehlix
Developer
Posts: 12599
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-23 Rpi Respin -- Beta testing

#198 Post by fehlix »

dolphin_oracle wrote: Mon Dec 25, 2023 2:43 pm @fehlix keeping in mind that the pi uses systemd do we have any issues with missing sockets this way.
The socket /run/user/$UID/keyring/control used by gnome-keyring's secrets
seems to get created by gnome-keyring-daemon itself, if not exists.
Not sure why systemd thinks to need all and every socket created by it's own.

User avatar
dolphin_oracle
Developer
Posts: 22023
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-23 Rpi Respin -- Beta testing

#199 Post by dolphin_oracle »

fehlix wrote: Mon Dec 25, 2023 3:47 pm
dolphin_oracle wrote: Mon Dec 25, 2023 2:43 pm @fehlix keeping in mind that the pi uses systemd do we have any issues with missing sockets this way.
The socket /run/user/$UID/keyring/control used by gnome-keyring's secrets
seems to get created by gnome-keyring-daemon itself, if not exists.
Not sure why systemd thinks to need all and every socket created by it's own.
Ok good
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
fehlix
Developer
Posts: 12599
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-23 Rpi Respin -- Beta testing

#200 Post by fehlix »

Hmm, seems machine-id get's not re-generated during oobe-install as it always is the same as on the image.
Suggest to have dbus-uuidgen call also somwehre added to oobe.cpp, and not only on the normal mx-installer part.
Otherwise I guess systemd related local network activities might get confused with two identical machine-id's.
Probably an easy one.

Another point is about the FS-UUID for the ext4 partition, which is not change and taken from the image,
which creates confusion, eg. if some plugs-in a 2nd USB with the image, b/c two identical UUID cannot be handled by the kernel properly, and would make one partition invisible
Probably a bit more involved, as we cannot run uuid-generation during the oobe-installer b/c it's already mounted.
So somewhere to inject in the early expansion phase of the image during first boot.

Locked

Return to “General”