The officially official Devuan Forum!

You are not logged in.

#1 Desktop and Multimedia » user programm keeps monitor on NVidia card from going into standby » 2025-04-23 10:02:21

bai4Iej2need
Replies: 0

In https://dev1galaxy.org/viewtopic.php?id=6472 I have described the situation of my 2 monitors

My Monitor connected to the Nvidia card does not always power off. Sometimes It remains on (green LED and backlight on , sometimes it turns off. (LED yellow)
I have not found a logic behind these behaviors. How can I debug further apart from Xorg.0.log ?

cat /etc/X11/xorg.conf.d/*

Section "ServerFlags"
    Option "BlankTime"   "2"
    Option "StandbyTime" "3"
    Option "SuspendTime" "5"
    Option "OffTime"     "10"
EndSection
Section "OutputClass"
    Identifier "nvidia-primary"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "PrimaryGPU" "true"
    Option "HardDPMS" "true"
EndSection

cat /etc/X11/Xsession.d/45custom-xrandr-setting.sh

#!/bin/sh
#
xrandr --setprovideroutputsource modesetting NVIDIA-0 && xrandr --auto
sleep 3

xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off --output DP-7 --mode 1440x900 --pos 1920x0 --rotate normal --output HDMI-1-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1-1 --off --output HDMI-1-2 --off --output DP-1-2 --off --output HDMI-1-3 --off

when logging out, both monitors go into power standby, LED is yellow
Nvidia Quadro P2000 connected Monitor is first in standby.

It looks like some user application is keeping NVidia from entering standby. On the net there are electron apps mentioned from doing things. I have slack and  signal sometimes running . leftovers or settings goofed from these programs  ? also chromium has a similar mention.

With above programs not used after login , both monitors go in standby after 3 minutes.

#3 Re: Devuan Derivatives » Announcing Movuan » 2025-03-05 11:49:46

I still run my Fairphone 2, which is out of software support since 2 years now. Is there a chance to adopt movuan for the FP2 ?

#4 Re: Other Issues » [SOLVED] linux-image not updated » 2025-02-02 18:56:20

Probably  your linux image 6.1.76 is set on "hold".

dpkg --status linux-image-6.1.76-1

check for third line Status :  MUST NOT contain hold

apt-mark unhold linux-image-6.1.76-1

To unhold all held packages, use this command:

apt-mark unhold $(apt-mark showhold)

Then try a new update

#5 Re: Other Issues » "Temporary failure resolving 'deb.devuan.org' " » 2024-11-18 08:47:30

2 years eight days later !
Threads which sleep that long should really be buried automatically after a grace period. 90/180/365 Days ?

maybe sth for the admins

#6 Re: Installation » [SOLVED] kernel command line from pkg hardening-runtime with bug » 2024-11-01 20:36:00

Did that but result remains the same.
This stems from debian package hardening-runtime
which I installed some time ago. see there (if installed)

cat /usr/share/doc/hardening-runtime/README.Debian
cat /etc/default/grub.d/01_hardening.cfg 
# Linux command line options recommended by the KSPP
# https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings#kernel_command_line_options
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT kaslr pti=on slab_nomerge page_poison=1 slub_debug=FPZ nosmt"

# Other interesting options are:
# - intel_iommu=on (sometimes intel_iommu=on,igfx_off) for enabing I/OMMU

# When done editing the file, rebuild grub configuration with: update-grub

now must find out why kernel refuses its parameter

#7 Installation » [SOLVED] kernel command line from pkg hardening-runtime with bug » 2024-11-01 18:50:27

bai4Iej2need
Replies: 3
root@host /proc # cat cmdline 
BOOT_IMAGE=/boot/vmlinuz-6.1.0-26-amd64 root=UUID=...... ro nvidia-drm.modeset=1 quiet kaslr pti=on slab_nomerge page_poison=1 slub_debug=FPZ nosmt
root@host /proc # grep CMDLINE /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1"

everything behind

quiet

is not in the grub settings.
Kernel complains because kaslr is unknown to it.

2024-11-01T19:14:44.792356+01:00 host kernel: [    0.013968] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-26-amd64 root=UUID=e26f69aa-878b-46ca-8a16-c90ac9e06e62 ro nvidia-drm.modeset=1 quiet kaslr pti=on slab_nomerge page_poison=1 slub_debug=FPZ nosmt
2024-11-01T19:14:44.792357+01:00 host kernel: [    0.014070] Unknown kernel command line parameters "kaslr BOOT_IMAGE=/boot/vmlinuz-6.1.0-26-amd64 pti=on", will be passed to user space.
2024-11-01T19:14:44.793285+01:00 host kernel: [    3.354434]     kaslr

where do these settings come from and what I have to test and get rid off false entries?

#8 Re: Installation » [SOLVED] /etc/cron.hourly/somejob starts a bash script as dash » 2024-10-31 22:15:53

It is not possible to set the shell for a particular task in /etc/cron.hourly, etc/cron.daily, etc/cron.weekly and /etc/cron.monthly.
Setting shell for all jobs is in /etc/default/cron.
I moved the job into the crontab (crontab -e) of root.
Now  we go to the next problem.

#10 Re: Installation » [SOLVED] ssh ipv6 offending host key and internet provider » 2024-10-29 16:35:03

Found suitable settings inside router to not promote external IP range internally.
Now I have an independent IPv6 subnet behind the router.

#11 Re: Installation » [SOLVED] /etc/cron.hourly/somejob starts a bash script as dash » 2024-10-28 10:43:40

Hi
I failed to explain that  I have a protocol function in the script which writes to /var/log/somejob/somejob.log, if executed as root.
I verified now that the script starts indeed as a dash script instead of starting as bash. Some command inside requires a bashism and then the script fails.
Works as root !
I correct now the headline as well.

#12 Installation » [SOLVED] /etc/cron.hourly/somejob starts a bash script as dash » 2024-10-17 12:21:56

bai4Iej2need
Replies: 5

I have tested now several versions
Version 1

head central_sync
#!/bin/bash
# synchronise Unlimited number of directories on different hosts
... 

central_sync is a hardlink to /usr/local/bin/central_sync.bash

version 2

cat central_sync2
#!/bin/sh
set
/bin/bash /usr/local/bin/central_sync.bash

exit 0

version 3

cat central_sync3
#!/bin/sh
set
/bin/bash -x /usr/local/bin/central_sync.bash

exit 0

version 4

cat central_sync4
#!/bin/sh
set
/bin/bash --posix /usr/local/bin/central_sync.bash

exit 0

They all produce in the protocol log:

...
set 
...
SHELL=/bin/sh

Consequently the program fails, which runs when called in the console/terminal
Parameter expansion fails in the rsync command

#13 Re: Desktop and Multimedia » firefox 128 urlbar and searchbar background color » 2024-10-12 04:08:41

was still not able to find the resetting of the search bar.
not in about:preferences / search 
nor in about:config I find the setting for a visible search bar

#14 Desktop and Multimedia » firefox 128 urlbar and searchbar background color » 2024-10-07 07:27:56

bai4Iej2need
Replies: 2

Hi , they keep playing around with things, nobody needs to change. Now I have a grey urlbar and search bar,
which change color when the mouse hovers over it.
What a waste, because now I have to search the bars with the eyes, before I can target them with the mouse.

This Guy, who did it, has no knowledge about workplace ergonomics and MMI design.

Somewhere else I found a huge css script about changing a simple parameter.
Does anyone have a better solution, maybe a parameter for the color in the about:config ?

Searched but was not successful.

I use Mate on daedalus.
Does anyone have a better solution, maybe another browser where they don't fiddle with such ?

Meanwhile I kicked version 128 out and keep version 115

#15 Re: Desktop and Multimedia » [SOLVED] mate desktop pdf opens in terminal with vim » 2024-10-02 17:50:57

When now testing the case, I noted,  that the wrong behavior has disappeared.
It was limited to the "recent files" in the application menu of mate.
I did install some mate-menues-extras Items.
Probably it fixed the case. Possibly after a restart or a logout-login sequence.

#16 Re: DIY » Simple Countdown Timer » 2024-07-21 15:41:16

the oneliner

user@host ~ % sleep 60 ; echo "\a"  & 

should do, whatever you need
60 is time in seconds so put 3600 for an hour

with the & you can close the terminal

#17 Re: Desktop and Multimedia » [SOLVED] mate desktop pdf opens in terminal with vim » 2024-07-16 08:07:28

Thanks for answering.
When opening with atril , the file opens and displays properly. This is not the problem.

file 240703_Importstrategie-2.pdf
240703_Importstrategie-2.pdf: PDF document, version 1.7, 38 pages

The problem is in the calling structure of the mate menu tree, where a flawed command reference is stored somewhere.
See the 'top' listing.
mate-panel invokes vim over a terminal instead of invoking atril.

Where does mate panel store its preferences?

#18 Desktop and Multimedia » [SOLVED] mate desktop pdf opens in terminal with vim » 2024-07-15 16:25:00

bai4Iej2need
Replies: 8

daedalus
From Desktop:
About Mate
mate 1.26.0
about Atril
Atril is a simple multi-page document viewer.   1.26.0

When I download or extract a pdf from a mail, it shows up in "latest documents". Then I click on It , and a terminal with vi opens it.

%PDF-1.7^M and so on.

System /Personal/ Preferred Applications /Büro (office) states atril for Documents . whatever documents means .

~/.config/mimeapps.list Line 21 :
application/pdf=atril.desktop
cd /usr/share/mime/application 
#  grep "pdf" *                   
pdf.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/pdf">
pdf.xml:  <glob pattern="*.pdf"/>
pdf.xml:  <alias type="application/x-pdf"/>
pdf.xml:  <alias type="image/pdf"/>
pdf.xml:  <alias type="application/nappdf"/>
x-bzpdf.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-bzpdf">
x-bzpdf.xml:  <glob pattern="*.pdf.bz2"/>
x-gzpdf.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-gzpdf">
x-gzpdf.xml:  <glob pattern="*.pdf.gz"/>
x-lzpdf.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-lzpdf">
x-lzpdf.xml:  <glob pattern="*.pdf.lz"/>
x-wwf.xml:  <sub-class-of type="application/pdf"/>
x-xzpdf.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-xzpdf">
x-xzpdf.xml:  <glob pattern="*.pdf.xz"/>

What points the application wrongly to vi ?

top:

30511 md        20   0  553320  53296  34844 S   0,0   0,1   1:00.55              `- mate-panel                                                                                                                    
30514 md        20   0  553320  53296  34844 S   0,0   0,1   0:06.22                  `- mate-panel                                                                                                                
30515 md        20   0  553320  53296  34844 S   0,0   0,1   0:00.14                  `- mate-panel                                                                                                                
30516 md        20   0  553320  53296  34844 S   0,0   0,1   0:00.00                  `- mate-panel                                                                                                                
 9803 md        20   0  562952  59816  41856 S   3,3   0,1   0:11.46                  `- mate-terminal                                                                                                             
 9806 md        20   0  562952  59816  41856 S   0,0   0,1   0:00.00                      `- mate-terminal                                                                                                         
 9808 md        20   0  562952  59816  41856 S   0,0   0,1   0:00.00                      `- mate-terminal                                                                                                         
 9809 md        20   0  562952  59816  41856 S   0,0   0,1   0:00.00                      `- mate-terminal                                                                                                         
10188 md        20   0   14064   7808   4828 S   0,0   0,0   0:00.17                      `- zsh                                                                                                                   
10590 md        20   0    8468   4876   2760 R   0,3   0,0   0:01.03                          `- top                                                                                                               
10585 md        20   0   36664  17880  10032 S   0,0   0,0   0:00.02                      `- vim /tmp/240703_Importstrategie-2.pdf                                                                                 
10587 md        20   0   36664  17880  10032 S   0,0   0,0   0:00.00                          `- vim /tmp/240703_Importstrategie-2.pdf  

#19 Re: Documentation » How the heck do I get wireguard to be always on? » 2024-06-14 16:59:29

my /etc/init.d/wg0

cat wg0              
#!/bin/sh -eu
# checkconfig: 2345 30 70
# description: set up a WireGuard interface simply
### BEGIN INIT INFO
# Provides: wg-quick
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Default-Start:	2 3 4 5
# Default-Stop:		0 1 6
# Short-Description: set up a WireGuard interface simply
### END INIT INFO

command=/usr/bin/wg-quick
interface=wg0
description="wg-quick on $interface"
logfile=/var/log/$interface.log

status() {
    /usr/bin/wg show $interface
}

start() {
    touch $logfile && date >>$logfile
    echo "starting $description ..." | tee -a $logfile
    $command up $interface >>$logfile 2>&1
    echo "... started $description" | tee -a $logfile
}

stop() {
    touch $logfile && date >>$logfile
    echo "stopping $description ..." | tee -a $logfile
    $command down $interface >>$logfile 2>&1
    echo "... stopped $description" | tee -a $logfile
}

case "${1-}" in
    status) status ;;
    start) start ;;
    restart) stop || true; start ;;
    stop) stop ;;
    *) echo "usage: $0 {status|start|restart|stop}" ;;
esac

copied with small changes from
https://www.procustodibus.com/blog/2021 … it-script/

Once done run

update-rc.d /etc/init.d/wg0 defaults

server listens at ipv4 and ipv6 :51820
At the moment pinging is possible.
Once this solution has survived some testing, I will add a logrotate file.

If someone has the friendliness to file a bug against the package with this solution, or to complete the missing init-script package ?
(I have problems with reportbug.)

#20 Re: Freedom Hacks » Missing init scripts and how to provide them » 2024-06-14 16:46:02

Hi
I tested this script sysd2v.sh and it failed.
The start stop functions were not created.

YMMV.

#21 Re: Installation » daedalus: network interface names changing with (nearly) each boot » 2024-06-14 14:32:20

In devuan, with eudev you get the old names....

@fsmithred
Thanks for the good explanation.

a)
How can I find out, what the interfaces will actually be called without modifying the _cmdline_?
b)
and then modify the relevant files  (sed ... s/eth0/enpxxx/ somefile)
c)
If I could give it a try modifying / restarting without loosing connection to my remotes without screen?

#22 Re: Other Issues » How does LTSP work ? » 2024-04-03 10:49:29

I worked on such an X installation back in 1987,88. Simple graphics, small network traffic. , low res pixel-centric graphics with no rendering necessary.
Drawing electrical schematics.

What do i miss ?

about one week of work , including the learning curve.

I did that once under S.u.S.E. (<=7.3, < Y2003) . It included compiling a stripped partly non modular kernel for the clients, which had the network card driver compiled in. Once that works, it can pull other modules from the server. All what was not needed, was not compiled to obtain the smallest kernel.
And the distributed X11 server / xclient architecture is interesting .
Nice if you have many many many clients , no distributed maintenance.
I dont know, how this is today with wayland. see here :
https://en.wikipedia.org/wiki/Wayland_( … land_and_X
Lots of rendering today, lots of network traffic today, if distributed and wrong distribution of graphic load..
Power up the client :
PXE
DHCP,
TFTP,
NFS,
(DNS) and only then LTSP ,
and then X11 client server.
And then login on the Thin client

#23 Re: Installation » Windows 10 doesn't get recognized on UEFI bios automatically » 2024-03-30 15:29:46

cat /etc/default/grub
....
# check for other OS https://www.omgubuntu.co.uk/2021/12/grub-doesnt-detect-windows-linux-distros-fix
GRUB_DISABLE_OS_PROBER=false
.....

must set to false

#25 Re: Off-topic » What do you think about electric cars? » 2024-03-06 12:20:49

Just continuing to shout "everyone needs to get on a bike"

Didi anyone say that?
Just for me: I did  30000km in 6 years with my car, 5000 km / year (3000miles) and most of the time it is standing around for a week or so. A waste of resources.
I have 6 options : own car, train, bus, bicycle and walking and an electric rental car here in the village.
No car is MY economic solution.
I choose to live here because of the train station and not in the next village w/o train station.
Why should I keep a car (fuel or electric)?

Those with a huge toolbox and a selection of spare parts are a different task. They might have an electric workshop truck - on wheels .

Electric cars come with high capital cost and it is mandatory , that they roll all the time. Probably rental is the solution .
The old school "living far from dense population" becomes more and more uneconomic, when cheap fuel disappears.
And transport without modal change is also a thing of the past, when transport chains can be organized by internet.

Board footer

Forum Software