Vanilla Dpup 11.0.x Development Builds

Moderators: dimkr, Forum moderators

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

If you upgraded from <11.0.196, start a new save.

su is not supposed to work because root has no password, it's a very common system hardening technique. Use pkexec to run stuff as root.

(This is equivalent to the situation in distros that ship with sudo preinstalled. They don't allow login as root.)

User avatar
Keef
Posts: 278
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 75 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by Keef »

I knew there was something about su that I'd forgotten.
I'll start with a new save. I only kept it because of the problems with connman-gtk.

User avatar
Keef
Posts: 278
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 75 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by Keef »

Should the yad yes/no dialog still appear when root permissions are needed? I only get it on shutdown/reboot. Otherwise it is a pkexec terminal window asking for the root password. Mostly I can just hit enter and it closes. However, apt only works if I use the root password 'woofwoof', which I thought was no longer used.
I'd provide a screen shot, but the forum is still not displaying them for me (at least in preview).
Yes, I am using a fresh install and savefolder.

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

Keef wrote: Thu Nov 21, 2024 7:52 pm

Otherwise it is a pkexec terminal window asking for the root password. Mostly I can just hit enter and it closes. However, apt only works if I use the root password 'woofwoof', which I thought was no longer used.

If you provide spot's password (default is woof woof), it runs the application as root. If you close the window, don't type any password or provide the wrong password, it doesn't run the application. root has no password.

User avatar
Keef
Posts: 278
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 75 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by Keef »

Ah yes. I understand now. Got there in the end.

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

@dimkr I'm just wondering what's left on your todo list for Dpup 11?

I'm daily driving 197. However I see 200 is out now can I use the same save folder when I upgrade?

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

Currently the TODO list is only bug fixes and polish. I don't have plans for more features, all the big stuff (unprivileged users, better multi-monitor support, security hardening, build system simplification) is in place.

I think you should be able to continue with the same save file from 11.0.197, but if things don't work well you can start with a new save.

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

Thanks @dimkr for creating dpup. It works well for me.
I think security and hardening are a necessary step. Even if it is sometimes a pain. ;) The way things are going I may even put clamav on at some point. Unfortunately the world is changing or at least my view of it.

Have a good day and I'll let you know about dpup 200 ... If there is anything to report.

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

I haven't use Vanilla Dpup for a couple of months. I just did a new manual clean install on the internal nvme drive on my laptop. So far programs are running smoothly. Thanks for the continued development of Vanill Dpup

In setting the install up I attempted to make some configuration changes and see that some of spot's directories have ownership root:root. The directories are :
/home/spot/.config/geany
/home/spot/.config/gtk-3.0
/home/spot/.config/l3afpad
/home/spot/.config/spacefm
/home/spot/.thumbnails

Are these ownerships intentional? To do my change I changed the ownership of the spacefm directory to spot:spot.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

@TerryH No, they must be spot:spot. Are you sure you didn't change ownership?

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

dimkr wrote: Mon Nov 25, 2024 5:31 am

@TerryH No, they must be spot:spot. Are you sure you didn't change ownership?

Nothing I had done should have changed any ownership. This morning I have done the setup of another new installation 3 times, all directories/files have correct ownership spot:spot.

How I did my set up. In EasyOS I downloaded and the Vanilla Dpup 11.0.200 image, extracted using uextract. Manually copied components including save folder to a folder on my internal drive. I added a boot stanza to my grub.cfg.

On initial boot I was asked for a password, I tried many things: woofwoof; woof woof; woof; root or no password just hit Enter. I get an error 'Failed to add key:Operation not supported', then pause 60 seconds, followed by desktop being displayed. At this stage system seems functional, but any attempt to save (using 'Save changes') does not appear to work and following Shutdown/Restart, when I booted this install my changes hadn't been saved. Maybe I should have reported this issue, but as I don't normally use encryption I decided to just bypass this and not use encryption.

I deleted the save folder and re-copied it from the extracted image again. This time I deleted the .pfscrypt file to boot without encryption. This was successful. Saves and Shutdown/Restart were functioning correctly. I have redone this again 3 times today, including attempts to use encryption(which again failed). All saves had correct ownerships.

I did nothing to explicitly change ownership, or to even inadvertently change ownership. How 5 random directories in /home/spot had ownership incorrectly set, is baffling. It may have to remain a mystery.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

TerryH wrote: Mon Nov 25, 2024 4:01 pm

including attempts to use encryption(which again failed).

How did you enable encryption? Did you use the pupsave tool?

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

dimkr wrote: Mon Nov 25, 2024 4:11 pm
TerryH wrote: Mon Nov 25, 2024 4:01 pm

including attempts to use encryption(which again failed).

How did you enable encryption? Did you use the pupsave tool?

I didn't, I stated I attempted to try to use encryption, which failed as had occurred each time. All my installs are unencrypted.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

I am looking for the location of the white icons which are used in the waybar bar2 (program launchers). I have searched throughout /usr/share. I have also done a forum search to check if mentioned in the forum. Thanks in advance for any assistance.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

I was testing bluetooth functionality. I was able to successfully connect bluetooth speaker and Ear buds. The issue is when connected/disconnect they are leaving the message as an artifact on the screen, which I am not able to get rid of. See screen shot image of multiple connection/disconnections.

Edit: Unfortunately the forum won't display my screenshot correctly, in either png or jpg format. The image has the screen with multiple message boxes displayed on the screen, for each change of state. As well a little bluetooth icons for each message box in the main waybar. They can't be clicked or moved.

Edit 2: On reboot the ear buds which were last connected, autoconnected and are working nicely. Thankfully there isn't a message box displayed for this connection.

Note: Re-uploaded the screenshot image.

Attachments
screenshot.png
screenshot.png (83.28 KiB) Viewed 1018 times
Last edited by TerryH on Tue Nov 26, 2024 11:15 pm, edited 2 times in total.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

TerryH wrote: Mon Nov 25, 2024 7:45 pm

I didn't, I stated I attempted to try to use encryption, which failed as had occurred each time. All my installs are unencrypted.

It failed because you didn't enable support for encryption, you just copied a directory. Use pupsave to create a new save folder correctly.

TerryH wrote: Tue Nov 26, 2024 2:44 am

I am looking for the location of the white icons which are used in the waybar bar2 (program launchers).

These are not icons, but glyphs from the FontAwesome font. See ~/.config/waybar/style.css and https://fontawesome.com/v4/icons/.

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

@TerryH
To post to the forum you need to turn off resist fingerprinting in Firefox
about:config search for privacy.resistFingerprinting = true and change it to false

It's a good idea to turn it back on again after your done.

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

dimkr wrote: Tue Nov 26, 2024 7:39 am
TerryH wrote: Mon Nov 25, 2024 7:45 pm

I didn't, I stated I attempted to try to use encryption, which failed as had occurred each time. All my installs are unencrypted.

It failed because you didn't enable support for encryption, you just copied a directory. Use pupsave to create a new save folder correctly.

TerryH wrote: Tue Nov 26, 2024 2:44 am

I am looking for the location of the white icons which are used in the waybar bar2 (program launchers).

These are not icons, but glyphs from the FontAwesome font. See ~/.config/waybar/style.css and https://fontawesome.com/v4/icons/.

Thank you, the website is a good help.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

dimkr
Posts: 2439
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1206 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by dimkr »

11.0.202 should hide Blueman's notifications. I'm debugging a new slow shutdown issue and I just switched to a new (to me) laptop, my first AMD one, so maybe I'll also find hardware support issues to debug.

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

Yes my shutdown is a little slow on both my pc and the laptop. It seems to sleep for a few seconds before it shutdown

I was upgrading the laptop today and had an idea for polish. When doing the setup most of the tools require root access and I found myself typing the password over and over. My idea is to have spacefm open in a root window in a specific folder that has links to all the tools needed to setup a pc that require root permission. That way you only have to type your password once, do all your setup and saves and when done close the window and you are spot again.
Is it possible to call spacefm and have it open in a root window?

TerryH
Posts: 658
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 165 times
Been thanked: 164 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by TerryH »

d-pupp wrote: Wed Dec 04, 2024 11:48 pm

Yes my shutdown is a little slow on both my pc and the laptop. It seems to sleep for a few seconds before it shutdown

I was upgrading the laptop today and had an idea for polish. When doing the setup most of the tools require root access and I found myself typing the password over and over. My idea is to have spacefm open in a root window in a specific folder that has links to all the tools needed to setup a pc that require root permission. That way you only have to type your password once, do all your setup and saves and when done close the window and you are spot again.
Is it possible to call spacefm and have it open in a root window?

Yes, it is very simple, preface the spacefm execution command with pkexec, which runs programs with root access. You will get a password prompt, so have to provide the root password. You could also make a spacefm-root.desktop entry to save entering from a terminal. The command becomes:

Code: Select all

pkexec spacefm

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

Clarity
Posts: 3922
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1651 times
Been thanked: 536 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by Clarity »

Is "su" available? Only once until exit ... if available

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

@TerryH Thank you that works perfectly

@Clarity I have gotten su to work butI can't get it to start spacefm all in one command

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

re polishing ideas

The open spacefm in a root window works ok. I changed the shortcuts to desktop files with icons. It just looks better. There are only 6 or 7 items that need to run as root but it is a big time saver for a new user to dpup. Tested it in my test version with no save folder.

I have another idea to bounce around. Change backgrounds from /usr/local/share/backgrounds to somewhere in $HOME so users don't need root permission to change backgrounds. ~/.local/share/backgrounds seems the default for many.

d-pupp

d-pupp
Posts: 355
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 202 times
Been thanked: 57 times

Re: Vanilla Dpup 11.0.x Development Builds

Post by d-pupp »

I have been tinkering and made 2 apps for my post on polishing above.
1) The background app was easy I just copied dimkr yad app and changed the paths
2) I dropped spacefm for run as root and used a yad launcher that I open with pkexec. This is much more secure as you can't do anything else. It has 6 desktop files to set host name, locale, timezone, services, save2flash, new save file/folder.

I made them self contained as much as possible and will post them in the user customization and tweaks section.

Post Reply

Return to “Vanilla Dpup”