The officially official Devuan Forum!

You are not logged in.

#126 Re: Hardware & System Configuration » [SOLVED] sudoers.d file for ifup / ifdown » 2025-02-20 16:40:02

couple guesses -

You need to log out and log in for the changes to take effect. (or restart sudo)

I use commas between things in the list, but I also use command aliases.

Cmnd_Alias      HALT = /sbin/shutdown, /sbin/halt, /sbin/poweroff, /usr/sbin/pm-suspend, /usr/sbin/pm-hibernate
Cmnd_Alias      REBOOT = /sbin/reboot, /usr/local/bin/update-machineid
Cmnd_Alias      NET = /sbin/ifconfig, /sbin/ifup, /sbin/ifdown

fsmithred  ALL=NOPASSWD: HALT, REBOOT, NET

#127 Re: Devuan » [SOLVED] Bring back Clearlooks-Phenix-Cinnabar theme » 2025-02-13 09:49:29

It didn't go anywhere.
http://deb.devuan.org/devuan/pool/main/ … -5_all.deb

Download the package and install with dpkg -i clearlooks-phenix-cinnabar*.deb

Go up one directory level and you'll see the other devuan themes. The only one that won't work on current releases is the purpy theme from 2019.

Cinnabar icons: http://deb.devuan.org/devuan/pool/main/ … .0_all.deb

#128 Re: Other Issues » [SOLVED] linux-image not updated » 2025-02-03 11:58:20

I normally do just apt upgrade and I get the newer kernels. I tried it now and I aborted the upgrade because I got a warning of grave bugs in rsync.

Then I tried

apt install linux-image-amd64

which was already installed, and that gets me the newer kernel and headers without the rest of the upgrades.

#129 Re: Off-topic » Statement regarding X community » 2025-01-31 18:57:40

Hey, thanks for clearing up my confusion. I actually thought the post was about computer-related stuff and they were talking about dropping xorg because of security reasons. Unplug your ethernet cable if you want to feel safe.

#130 Re: Off-topic » Statement regarding X community » 2025-01-30 22:55:38

We can assure you that we will provide the xorg packages as long as debian keeps making them. Beyond that, someone would need to fork the packages and maintain them. If you have someone in mind to do that, please get us connected. We only have a handful of maintainers and debian keeps giving us more work.

That twitter post gives me cognitive dissonance. I guess I need to read the new debian social contract. It's obviously much different from the old one.

#131 Re: Installation » [SOLVED] Black screen afte boot » 2025-01-24 19:05:22

Synopsis: You create a keyfile and put it in the root partition. Edit /etc/crypttab so that the keyfile gets used to open your home partition. When you boot, you will enter the luks passphrase to open root, and home will be opened automatically by the keyfile.
https://www.howtoforge.com/automaticall … -a-keyfile
Note: Add a keyslot for the keyfile and keep the passphrase active, in case the keyfile gets lost or corrupted, then you can still use the passphrase.

This one is more detailed:
https://wiki.archlinux.org/title/Dm-cry … n#Keyfiles

A couple notes about encrypted disks.
- The encryption is only effective when the computer is turned off. Turning it on or mounting the drive to another system to access it will not expose your data without entering the passphrase. Once it's open and running, it's no longer hidden in a locked box.
- The unencrypted swap partition is not protected. It might contain sensitive data that could be accessed by booting the system or attaching to another system. Not a good idea if this is a laptop that could be lost or stolen. If you need more that 256mb of swap space, you can make a bigger swapfile.

#132 Re: Installation » Efivarfs, Efibootmgr, hold the grub » 2025-01-23 01:34:04

I think you need to boot the rescue cd, open a shell in the installed system and run grub-install and update-grub. But I've never done an install like yours, so there might be something else to do.

#133 Re: Installation » [SOLVED] Black screen afte boot » 2025-01-22 01:18:02

The live installer won't make a swap partition for you, but it will let you use an existing swap partition. If you still want to use a swap partition, you can run mkswap on it and edit /etc/fstab to use that partition instead of the swapfile. Note that it will be outside your encrypted partitions and insecure.

It also won't set up lvm for you, but it's possible to do it manually using the cli installer instead of the graphical. (run 'refractainstaller' in a terminal for that one.) https://dev1galaxy.org/viewtopic.php?id=2323

That other partitioner you used was cfdisk (for mbr) or gdisk (for gpt).

I didn't expect to see intel graphics. I'm not sure why you got a black screen with the first install.

#134 Re: Installation » [SOLVED] Black screen afte boot » 2025-01-21 10:21:01

To avoid entering a password for both home and root partitions, you could make a keyfile that automatically opens the home partition during boot. This post has a couple of useful links for that: https://dev1galaxy.org/viewtopic.php?pid=38078#p38078

The desktop-live has firmware-amd-graphics installed. If you have amd video, that might explain why it works.

#135 Re: Installation » [SOLVED] Black screen afte boot » 2025-01-20 22:55:07

Press 'e' at the boot menu and add the word nomodeset to the linux line then press ctrl-x to boot. If it's an nvidia problem, this might work. Then you can see what you're doing to install the drivers you need.

If that doesn't work, boot a live system as suggested and at least run lspci so you can see what hardware you have.

#136 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-19 14:16:16

You need to make the first partition big enough to hold the iso (packed or unpacked) plus kernel and initramfs. If you plan on adding more than one iso to the stick, then make it big enough to hold all the isos. ISO_1 or ISO_2 will work. One unpacks the iso file and the other one keeps it intact and uses the 'fromiso=' boot option. That option is useful if you think you want to have a copy of the intact iso to use it somewhere else or share it.

If you think you might want to use the stick to share files with windows computers, make the first partition big enough to hold those files, too.

Yes, you need to give the fat32 partition the boot flag. You can do that in gparted.

To boot to ram, you need to add the boot option: toram=/path-to/live/filesystem.squashfs  (where path-to is the name you give the directory that holds the OS.) I'm not sure how or if that will work with persistence. You would only boot the read-only live system without any of your persistent changes. There might be a way to do it using overlays. Let me know if you figure it out.

You could boot to ram and manually mount a data partition to hold selected files, but that's not the same thing as persistence.

Look in the refracta2usb help to see what the disk layout looks like on the usb stick. Diagrams are near the bottom.

#137 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-18 16:07:32

The refractasnapshot log file would be a good place for hints, but I didn't think to tell you to save it. It can be found at /var/log/refractasnapshot.log but since you were in a live session, that file is gone. (Unless that same live system is still running and hasn't been rebooted.)

How did you make the live-usb? If you used dd or cat to image the isohybrid, I don't think you'll be able to make a second partition. That doesn't seem to work in all situations. I use refracta2usb to make a live usb and it will set up the persistent partition for either full persistence (that's what you want) or else just a persistent /home. It's not in the repo. You can get it here: https://sourceforge.net/projects/refrac … -2.4.3.deb

Other live-usb software might work, but I don't know which. First partition should be fat32 with boot flag and second should be ext2/3/4 with a persistence.conf in the root of the persistent volume. See 'man live-boot' for more details.

#138 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-17 19:18:08

If you run refractasnapshot in a live session, be sure to edit the config file to use some real storage space for the work directory and the snapshot directory.

If you make a live-usb with an extra partition for full persistence, you can install packages and they will still be there on the next reboot. If you run apt-upgrade and apt-update on such a system, it will install the updated packages into the persistent volume. You could keep updating such a system until you fill up your usb stick. Better to update the iso and re-image the read-only part of the stick.

#139 Re: Installation » Live cd unable to boot with secure boot enabled » 2025-01-10 19:04:00

Thanks for testing. Here's a new live iso. This one has bootx64.efi and shimx64.efi.signed in efi/boot. I made this one using refractasnapshot and had to copy the shim into the iso build tree manually. If it works, I'll work it into live-sdk so it gets into the official isos.

devuan_5_signed-test_amd64-20250110_1825.iso
https://distro.ibiblio.org/refracta/files/experimental/

sha256sum:

ec458d2e023b7d6abc982c8c0f690250c562133a5b0491ced3226602d662903d  devuan_5_signed-test_amd64-20250110_1825.iso

#140 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-08 09:02:07

I meant the setting for the gamma. For example, if you set it to 0.8 and then run the script again, the gamma settings window comes up and shows the value as 1.4 instead of 0.8.

If you need the desktop to come up at a decreased brightness, you could add the one-liner script that was posted above in your startup applications.

#141 Re: Devuan Derivatives » Refracta "Good-bye i386" iso » 2025-01-08 01:17:41

Oh, duh! I did it. See, I'm so distraught over this I didn't even notice the size of those packages. Thanks.

#142 Devuan Derivatives » Refracta "Good-bye i386" iso » 2025-01-07 16:05:46

fsmithred
Replies: 6

I guess this is the last 32-bit Refracta "release". In quotes because I normally don't publish isos for the new release before Debian freezes their testing suite. But this one has the last 686-pae kernel that was in Trixie/Excalibur until they removed it.

https://get.refracta.org/files/testing/

Release notes:

This is the No-X version of Refracta 13 using the last 686-pae kernel
available in Devuan Excalibur (and since removed from the repository).
Kernel packages including source are in the user's home in case you
feel like compiling or need to reinstall. If you lose them, they can be
found at snapshot.debian.org with a bit of searching.

At this time, Trixie/Excalibur has not even gone into freeze, so as soon
as you get this iso, it'll be outdated.

I'm not sure what the point of this is, since you won't be able to get kernel
security updates, but I figured I should make a final 32-bit Refracta iso.

fsmithred    January 7, 2025

P.S. If anyone knows why this iso is twice as big as the daedalus version, I'd be interested to get the explanation.
Thanks

#143 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-07 14:56:56

@mtbvfr - you don't need to comment out any lines for the gamma settings. If you want to play with the gamma settings, just click on the gamma button when the window comes up and you can adjust it. If you run it a second time, it won't show your last setting. I obviously don't understand how it works.

#144 Re: Devuan » Devuan runit system pauses during first boot at net connect manager. » 2025-01-07 11:29:15

I didn't have to do anything special to get sddm to work. It is being handled by runit. Here are the relevant commands I used to install kde.

apt install xorg xinit xterm
apt install kde-standard  xserver-xorg-video-all xserver-xorg-input-all --no-install-recommends
reboot
apt install sddm --no-install-recommends
reboot

I don't have any good ideas for why sddm is running but you don't see it. Is there anything in the sddm log file? (/var/log/sddm.log)

I'd say check the sddm config file, but there doesn't seem to be a simple sddm.conf. Another option might be to replace sddm with lightdm or some other display manager that has a normal config file instead of unintelligible stuff in /etc/pam.d.

#145 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-07 10:34:00

This one is a little fancier and requires yad to be installed. It gives you a graphical slider. I'm not sure I did the gamma parts right and I never use that.

#!/usr/bin/env bash
# set_bright3b

set -x

# Set these names according to what xrandr tells you.
# For a single monitor, comment out the second xrandr command
# at the bottom of the script.

monitor_1="LVDS-1"
monitor_2=""

get_current_values () {
	
	current_bright=$(xrandr --verbose | grep -m1 Brightness | cut -d"." -f2)
	
	if  [ "$current_bright" = 0 ] ; then
		let current_bright="9"
	fi
	
	current_gamma=$(xrandr --verbose |grep -m1 Gamma | cut -d":" -f3)
	gamma1="$current_gamma"
}

select_brightness () {
	
	br1=$(yad --scale --title=Brightness --width=300 --min-value=2 --max-value=10  --value="${current_bright:0:1}" \
		--mark=2:2  --mark=3:3 --mark=4:4 --mark=5:5 --mark=6:6 --mark=7:7 --mark=8:8 --mark=9:9 --mark=10:10 \
		--page=1 --button=OK:0 --button="Gamma":1 --button=Exit:2)
		
		exit_code="$?"
		
		if [[ $exit_code -eq 1 ]] ; then
			br1="${current_bright:0:1}"
			select_gamma
		elif [[ $exit_code -eq 2 ]] ; then
			exit 0
		fi
}

select_gamma () {
	gm1=$(yad --form --field=Gamma:NUM "${current_gamma}\!0.5..1.5\!0.1\!1")
	gamma1="${gm1:0:3}"
}

get_current_values
select_brightness

if [ "$br1" = 10 ] ; then
	bright1="1.0"
	bright2="1.0"
else
	bright1="0.$br1"
	bright2="$bright1"
	# Uncomment the following 3 lines if monitor2 should be less bright.
	#br2="$br1"
	#(( br2-=1 ))
	#bright2="0.$br2"
fi

xrandr --output "$monitor_1" --brightness "$bright1" --gamma "${gamma1}:${gamma1}:${gamma1}"
#xrandr --output "$monitor_2" --brightness "$bright2" --gamma "${gamma1}:${gamma1}:${gamma1}"

exit 0

#146 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-06 21:39:38

I don't know what's going on with excalibur size. I just made a refracta excalibur i386 No-X iso with the last 686-pae kernel and it comes out to 1.5G using xz compression instead of 700MB like the daedalus iso. Looks like the excalibur iso has fewer packages installed, too.

Every release gets bigger, but this is the biggest jump I've seen.

#147 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-04 12:48:44

I already did try it yesterday. The iso with zstd booted about 5 seconds faster than xz in qemu. That was about 1 minute, 20 seconds of which were at the boot menu. Building the iso was about 2 minutes faster (9 vs. 11). I haven't tried it on usb yet.

This will be in the next build of refractasnapshot. I already added support for zstd in the initramfs.

#148 Re: Off-topic » [SOLVED] "A future for the i386 architecture" and other good(???) news » 2025-01-03 22:01:03

Perfect! Thanks, I forgot about snapshot.debian.org.

I got linux-image, linux-headers and linux-source for 6.10.9-1 696-pae.

#149 Re: Off-topic » [SOLVED] "A future for the i386 architecture" and other good(???) news » 2025-01-03 15:20:25

The 32-bit kernels in excalibur and ceres have been removed. Did anyone happen to save the last deb packages for 686-pae? The last live-iso I made has 6.5 from last April. Not that using those versions is a real solution since they won't get security updates. But it would be nice to have an iso with the last one.

Meanwhile, I've made an excalibur 32-bit live-iso with the daedalus backports kernel. That's another unsatisfactory solution for the same and other reasons, but it does work.

N.B. When trying to upgrade my i386 excalibur VM, aptitude puked on the t64 versions of packages. 'apt upgrade' and 'apt dist-upgrade' worked ok and all the t64 packages got installed.

#150 Re: Installation » [SOLVED] No exit from sleep after devuan installation » 2025-01-02 22:09:11

testing=excalibur NOW. When debian trixie (current testing) becomes stable, then sid (unstable) will move down to testing and all our forked packages will still be for trixie until excalibur goes stable.

That's why we recommend using codenames in sources.list.

Board footer

Forum Software