The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » backdoor targeting deb and rpm via systemd? » 2024-04-10 22:57:51

Btw. found this pdf: https://edolstra.github.io/pubs/phd-thesis.pdf  I think it is loosely related to that dependency-subject.
Found it from the links-section of https://en.wikipedia.org/wiki/GNU_Guix . Seems intresting distro, init diversity and a different package manager.
Seems to need a bit of effort to make it useful though.

#2 Re: Installation » [SOLVED] Daedalus netinstall partitioning » 2024-04-10 21:49:58

Tried that "efi-checkbox" rolfie mentioned. After that the installation procedure refused to continue. At first the netinstall's installation program started but forze after some time. Next time i didn't get past the efi shell.
So efi is to be avoided, at least with vmachines.

And, with efi disabled in a vm, i couldn't make an efi partition with netinstall's partition tool. But on the other hand there is no real need for that.

#3 Re: Off-topic » What are you reading/want to read ? » 2024-04-10 21:33:17

Something called "Quantum Radio". First half was intresting. But after that it started to remind me of some SG1 episodes i have watched before. Boring.

#4 Re: Other Issues » backdoor targeting deb and rpm via systemd? » 2024-04-10 21:27:11

Sometimes i'm also troubled by dependencies. Though usually dependencies that trouble me have something to do with Docker, pypi or node.
For example, do i really need to have 600 mb container just to run a simple "hello world"-app with Flask ? Or download 100 Python packages for that? And can i trust that the packages i download today even work? And without side-effects?

#5 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-04-10 21:11:39

Looks like i should have installed lxde as a desktop instead of lightdm+xfce.
In virtual machine, i can exit and enter lxde without problems.
Haven't tried how startx or Xorg worked yet. On the other hand there's no actual need for that.

Somehow i don't like the shape of things today. About 20 years earlier i could use twm/fvwm95/fluxbox/kde/xfce/whatever and start those from text mode if i wanted. And they gave me no problems.
Now i cannot do anything GUI-related without a displaymanager.
And even then, there may be a freezing-with-gray-screen-problem.

Well , at least i know that it is possible to have a working GUI in Daedelus, at least in a vm.
The access-rights of /dev/input/* didn't seem to be a problem. Also no need for normal-user to belong in group "input".

#6 Re: Devuan » this morning... » 2024-04-10 20:55:33

Ngspice seems to take this "analogic thing" seriously. Manual has abt 700 pages and includes, for example, how temperatire effects the currents of pn-junction.
But on the other hand, that software has a steep learning curve.

#7 Re: Installation » Daedalus. Can i switch from openrc to runit without reinstall os? » 2024-04-07 22:35:07

Haven't actually tried to change the init system after the install.
And after some thinking, update-alternatives sounds more like what deepforest is after.

#8 Re: Devuan » liblzma CVE-2024-3094 » 2024-04-07 20:18:27

Maybe moving on to Alpine becomes a good idea. I heard that in that distro there is not so much bloat or unnecessary dependencies.
But i have been using Debian-ish distros almost 20 years. It is not easy to walk away from that.

#9 Re: Devuan » this morning... » 2024-04-07 20:14:30

In that case i'll have to let you know when i have bottle of Jägermeister for breakfast smile

#10 Re: Installation » Daedalus. Can i switch from openrc to runit without reinstall os? » 2024-04-07 18:31:30

Not sure if this helps, but: have you tried dpkg -reconfigure ?

#11 Re: Devuan » this morning... » 2024-04-07 18:21:09

Tried ktechlab. Put some components together and first the output in the oscilloscope looked like what i was expecting.
But then the voltage went flat-lined. Maybe i chose wrong component values or maybe there is some bug somewhere.
Tried first a simple thing, half-wave-rectifier combined with a RC-circuit before going to more complex things.

And there's not so much analog components available in the components menu.
I'll try simulide and the others next.

#12 Re: Devuan » liblzma CVE-2024-3094 » 2024-04-07 17:56:46

sshd in daedalus depends on libsystemd0, which may be satisfied by either the real libsystemd0 or by libelogind0 and libelogind-compat.

Planning to return using Chimaera anyway...

I recently noticed a) this thread and b)https://pkginfo.devuan.org/cgi-bin/pack … =2.03.16-2 .
Package lvm2 has libsystemd0 as a dependency. And in turn https://pkginfo.devuan.org/cgi-bin/pack … -1~deb12u1 libsystemd0 has liblzma5 as a dependency.

So, do i need to run sshd to be in danger or is using lvm2 enough? I prefer to be the one who knocks smile

#13 Re: Installation » [SOLVED] FAILURE to Initiate Xorg or startx and therefore no GUI for my new ins » 2024-04-05 18:36:11

Next time when in the mood for experimenting, maybe i'll try to compile 6.x kernel in Chimaera and find out if problems with x reappear with that. Then there's still that memtest disk i haven't tried yet.

And searching with "(EE) seatd_libseat device not open (/dev/input/event0" resulted, amongst others:

https://www.reddit.com/r/devuan/comment … _20230103/
https://github.com/kennylevinsen/seatd
https://unix.stackexchange.com/question … sock-no-su
https://git.sr.ht/~kennylevinsen/seatd/ … 2b4cdf480c

#15 Devuan » this morning... » 2024-04-04 20:51:57

nahkhiirmees
Replies: 10

i started to think that maybe i have a use for a software that can simulate electric circuits. I mean to show how the voltages and currents change over time. That kind of thing.

I know that there is simulink: https://www.mathworks.com/products/simulink.html . But it is not FOSS .
If i really want, i guess i can write a Python or even C program. But first i would like to ask:
are there any FOSS alternatives to Simulink amongst Debian/Devuan packages ?

#16 Re: Installation » [SOLVED] FAILURE to Initiate Xorg or startx and therefore no GUI for my new ins » 2024-04-04 20:41:04

1) the user that runs Xorg in vtN must have rw access to both /dev/ttyN and /dev/tty, and (I think) have w access to /dev/tty0 as well. This access is required for Xorg's VT ioctls.

2) further, that user must have rw access to /dev/dri/card0, i.e. the graphics card in use which typically is card0 but could possibly by card1 etc. This access is required for Xorg's graphics ioctls.

3) further, that user probably must have access to /dev/fb0 as well.

In my case, 1) seems to be fine. Normal user account owns /dev/ttyN , /dev/tty has o=rw.
And 2) and 3) are achieved by normal users belonging to group video.

With 4) there may be a a problem concerning owners and rights of /dev/input*. That can be fixed one way or another.
But that is not the whole story since running startx as root bypasses the access-problem. And recently i had problems after exiting from xfce even when running as root.

Not too familiar with logind0, elogind or seatd.
Does the logind0 have something to do with systemd ?

Maybe i'll try the ssh-trick in a vm, what does the logs then say. But the easy way out seems to be same as Andrew's .

#17 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-04-02 19:36:50

Maybe i should return to using Chimaera. But a week of installation attempts is enough for a while.

#18 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-04-02 19:28:10

Did some testing today.

With chimaera live dvd (burned last july i think) i can exit xfce4 and no freezing.
With daedalus live dvd (burned abt 2 weeks ago) i cannot exit xfce4 without freezing.

Booted the installed Daedalus and ran startx as root in init 2 mode:
mouse work, pad worked
exited xfce4 and my machine froze.
There was no lxdm running.

(i think for a while i could exit xfce4 without problems when running as root, but that must have been before the latest reinstall attempt)

Booted the installed Daedalus and ran startx as normal user.
mouse didn't work nor the pad
exited and machine froze.
No lxdm running either in this case.

Booted again and said "telinit 3" as root.
Now mouse works. Pad works.
Ctrl+alt+F-keys work.
Don't dare to exit xfce4 just yet when writing this message.

Looks like the problem is somehow tied to Daedalus. Running a graphical  login manager(like slim/lightdm/slim) helps with the mouse. But it is not enough.
With Chimaera i think i could run xorg without problems most of the time. (May last year there were some temporary mouse/pad-problems but they went away.)
Maybe there are still some bugs hiding in elogind/logind/seatd/whatever. Or maybe i should run that memtest.

Right now command "uname -r" says:6.1.0-18-amd64.
"dpkg -l seal*" says: "dpkg-query: no packages found matching seal*"
ditto for libseat
... EDit:

on the other hand dpkg -l seat* says:

un  seatd          <none>       <none>       (no description available)

and
dpkg -l libseat:

ii  libseat1:amd64 0.7.0-6      amd64        flexible user, seat and session management library

dpkg -l login*:

ii  login          1:4.13+dfsg1-1+b1 amd64        system login tools
un  logind         <none>            <none>       (no description available)

dpkg -l elogin* :

ii  elogind        246.10-5     amd64        user, seat and session management 

dpkg -l xserver* :

un  xserver                        <none>                    <none>       (no description available)
ii  xserver-common                 2:21.1.7-3+deb12u2devuan1 all          common files used by various >
ii  xserver-xorg                   1:7.7+23                  amd64        X.Org X server
ii  xserver-xorg-core              2:21.1.7-3+deb12u2devuan1 amd64        Xorg X server - core server
un  xserver-xorg-driver-all        <none>                    <none>       (no description available)
ii  xserver-xorg-input-all         1:7.7+23                  amd64        X.Org X server -- input drive>
un  xserver-xorg-input-evtouch     <none>                    <none>       (no description available)
ii  xserver-xorg-input-libinput    1.2.1-1+b1                amd64        X.Org X server -- libinput in>
ii  xserver-xorg-input-wacom       1.1.0-1                   amd64        X.Org X server -- Wacom input>
ii  xserver-xorg-legacy            2:21.1.7-3+deb12u2devuan1 amd64        setuid root Xorg server wrapp>
ii  xserver-xorg-video-all         1:7.7+23                  amd64        X.Org X server -- output driv>
ii  xserver-xorg-video-amdgpu      23.0.0-1                  amd64        X.Org X server -- AMDGPU disp>
ii  xserver-xorg-video-ati         1:19.1.0-3                amd64        X.Org X server -- AMD/ATI dis>
ii  xserver-xorg-video-fbdev       1:0.5.0-2                 amd64        X.Org X server -- fbdev displ>
ii  xserver-xorg-video-intel       2:2.99.917+git20210115-1  amd64        X.Org X server -- Intel i8xx,>
un  xserver-xorg-video-mach64      <none>                    <none>       (no description available)
un  xserver-xorg-video-modesetting <none>                    <none>       (no description available)
ii  xserver-xorg-video-nouveau     1:1.0.17-2                amd64        X.Org X server -- Nouveau dis>
ii  xserver-xorg-video-qxl         0.1.5+git20200331-3       amd64        X.Org X server -- QXL display>
un  xserver-xorg-video-r128        <none>                    <none>       (no description available)
ii  xserver-xorg-video-radeon      1:19.1.0-3                amd64        X.Org X server -- AMD/ATI Rad>
ii  xserver-xorg-video-vesa        1:2.5.0-1+b1              amd64        X.Org X server -- VESA displa>
ii  xserver-xorg-video-vmware      1:13.3.0-3.1+b1           amd64        X.Org X server -- VMware disp>

dpkg -l xorg-* :

un  xorg-docs         <none>       <none>       (no description available)
ii  xorg-docs-core    1:1.7.1-1.2  all          Core documentation for the X.org X Window System
un  xorg-driver-input <none>       <none>       (no description available)
un  xorg-driver-video <none>       <none>       (no description available)
un  xorg-input-abi-24 <none>       <none>       (no description available)
un  xorg-video-abi-25 <none>       <none>       (no description available)

dpkg -l lxdm* :

ii  lxdm           0.5.3-4      amd64        LXDE display manager

dpkg -l xfce* :

un  xfce-keyboard-shortcuts        <none>          <none>       (no description available)
ii  xfce4                          4.18            all          Meta-package for the Xfce Lightweight D>
ii  xfce4-appfinder                4.18.0-1        amd64        Application finder for the Xfce4 deskto>
un  xfce4-cddrive-plugin           <none>          <none>       (no description available)
rc  xfce4-clipman                  2:1.6.2-1       amd64        clipboard history utility
un  xfce4-goodies                  <none>          <none>       (no description available)
ii  xfce4-helpers                  4.18.2-1        amd64        helpers for the Xfce4 desktop environme>
ii  xfce4-notifyd                  0.7.3-1         amd64        simple, visually-appealing notification>
ii  xfce4-panel                    4.18.2-1        amd64        panel for Xfce4 desktop environment
ii  xfce4-power-manager            4.18.1-1        amd64        power manager for Xfce desktop
ii  xfce4-power-manager-data       4.18.1-1        all          power manager for Xfce desktop, arch-in>
ii  xfce4-power-manager-plugins    4.18.1-1        amd64        power manager plugins for Xfce panel
ii  xfce4-pulseaudio-plugin:amd64  0.4.5-1         amd64        Xfce4 panel plugin to control pulseaudio
ii  xfce4-screenshooter            1.10.3-1        amd64        screenshots utility for Xfce
ii  xfce4-session                  4.18.1-1devuan2 amd64        Xfce4 Session Manager
ii  xfce4-settings                 4.18.2-1        amd64        graphical application for managing Xfce>
ii  xfce4-terminal                 1.0.4-1         amd64        Xfce terminal emulator
un  xfce4-utils                    <none>          <none>       (no description available)
un  xfce4-volstatus-icon           <none>          <none>       (no description available)
rc  xfce4-whiskermenu-plugin:amd64 2.7.2-1         amd64        Alternate menu plugin for the Xfce desk>
lines 1-25/25 (EN

... and root:tty are still the owners of the files /dev/input/ .

Attempts to run startx without lxdm caused these "EE"-rows to appear in ~/.config/local/share/xorg/Xorg.0.log:

[    82.770] (EE) [libseat/backend/logind.c:317] Could not activate session: Permission denied
[    82.777] (EE) [common/terminal.c:162] Could not open target tty: Permission denied
[    82.778] (EE) [seatd/seat.c:61] Could not open tty0 to update VT: Permission denied
[    82.781] (EE) [common/terminal.c:162] Could not open target tty: Permission denied
[    82.782] (EE) [seatd/seat.c:72] Could not open terminal for VT 0: Permission denied
[    82.784] (EE) [seatd/seat.c:461] Could not open VT for client
[    82.785] (EE) [common/terminal.c:162] Could not open target tty: Permission denied
[    82.786] (EE) [seatd/seat.c:86] Could not open terminal to clean up VT 0: Permission denied
[    83.808] (II) Initializing extension MIT-SCREEN-SAVER
[    83.927] (EE) xf86OpenSerial: Cannot open device /dev/input/event5
[    83.927] (EE) libinput: Fujitsu FUJ02E3: Failed to create a device for /dev/input/event5
[    83.928] (EE) PreInit returned 2 for "Fujitsu FUJ02E3"
[    83.930] (EE) xf86OpenSerial: Cannot open device /dev/input/event8
[    83.930] (EE) libinput: Video Bus: Failed to create a device for /dev/input/event8
[    83.930] (EE) PreInit returned 2 for "Video Bus"
[    83.932] (EE) xf86OpenSerial: Cannot open device /dev/input/event3
[    83.932] (EE) libinput: Power Button: Failed to create a device for /dev/input/event3
[    83.932] (EE) PreInit returned 2 for "Power Button"
[    83.934] (EE) xf86OpenSerial: Cannot open device /dev/input/event1
[    83.934] (EE) libinput: ELAN0D01:00 04F3:3092 Mouse: Failed to create a device for /dev/input/event1
[    83.934] (EE) PreInit returned 2 for "ELAN0D01:00 04F3:3092 Mouse"
[    83.935] (EE) xf86OpenSerial: Cannot open device /dev/input/event7
[    83.935] (EE) libinput: ELAN0D01:00 04F3:3092 Touchpad: Failed to create a device for /dev/input/event7
[    83.935] (EE) PreInit returned 2 for "ELAN0D01:00 04F3:3092 Touchpad"
[    83.937] (EE) xf86OpenSerial: Cannot open device /dev/input/event0
[    83.937] (EE) libinput: AT Translated Set 2 keyboard: Failed to create a device for /dev/input/event0
[    83.937] (EE) PreInit returned 2 for "AT Translated Set 2 keyboard"
[    83.938] (EE) xf86OpenSerial: Cannot open device /dev/input/event2
[    83.938] (EE) libinput: ETPS/2 Elantech Touchpad: Failed to create a device for /dev/input/event2
[    83.938] (EE) PreInit returned 2 for "ETPS/2 Elantech Touchpad"
[    96.412] (EE) xf86OpenSerial: Cannot open device /dev/input/event15
[    96.412] (EE) libinput: INSTANT USB GAMING MOUSE  Keyboard: Failed to create a device for /dev/input/event15
[    96.412] (EE) PreInit returned 2 for "INSTANT USB GAMING MOUSE  Keyboard"
[    96.460] (EE) xf86OpenSerial: Cannot open device /dev/input/event14
[    96.460] (EE) libinput: INSTANT USB GAMING MOUSE : Failed to create a device for /dev/input/event14
[    96.460] (EE) PreInit returned 2 for "INSTANT USB GAMING MOUSE "
[   132.256] (EE) xf86OpenSerial: Cannot open device /dev/input/event15
[   132.256] (EE) libinput: INSTANT USB GAMING MOUSE  Keyboard: Failed to create a device for /dev/input/event15
[   132.256] (EE) PreInit returned 2 for "INSTANT USB GAMING MOUSE  Keyboard"
[   132.336] (EE) xf86OpenSerial: Cannot open device /dev/input/event14
[   132.336] (EE) libinput: INSTANT USB GAMING MOUSE : Failed to create a device for /dev/input/event14
[   132.336] (EE) PreInit returned 2 for "INSTANT USB GAMING MOUSE "
[   169.957] (EE) [common/terminal.c:162] Could not open target tty: Permission denied
[   169.957] (EE) [seatd/seat.c:86] Could not open terminal to clean up VT 0: Permission denied
[   170.179] (EE) [libseat/backend/seatd.c:122] Could not flush connection: Broken pipe

the cause for these errors is clear but adding normal_user to group input won't necessarily help since the "freezing problem" now exists with root-account also.

#19 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-03-31 05:53:25

Reinstalled AGAIN. This time i was more careful when restoring the backups of /etc.

Now lxdm starts in init 3.
GUI mostly works. Audio works also.

ps -aux says:

root      1623  3.9  1.3 1487280 105316 tty7   Ssl+ 11:32   0:02 /usr/lib/xorg/X

... i guess X is supposed to run as root when started from lxdm?

But there is still that freezing-problem after logging out of xfce. When that is present, there is very little point in running lxdm at all. I could instead say startxfce in init 2.

#20 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-03-30 19:45:17

Btw. is it dangerous to add my normal_user_account into group input?
I guess it is OK to add normal user account into group video. But not convinced that input is ok form normal user...

Answering to myself:
don't think it's OK because, for example:

https://github.com/LizardByte/Sunshine/discussions/1086
https://www.reddit.com/r/linuxquestions … up_secure/
https://askubuntu.com/questions/1057120 … oup-secure

so another kind of solution should be found. Or at least use that udev-trick.

#22 Re: Installation » Fujitsu Lifebook U728 + Devuan 4 » 2024-03-30 18:55:52

I'm worried that i have to re-install windows to Fujitsu so that i can get a proper EFI-partition back. Yuck.

Using w10 or ubuntu install disk is not necessary. Running grub-install with right parameters is enough as it should be.
Could also bypass reading /boot/efi/something/grub.cfg before going to /boot.

#23 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-03-30 18:47:16

Tried installing with the Daedalus desktop install dvd.
X "worked out of the box".
X worked even after i removed some not-so-necessary packages.
I think the alt-f-keys worked and exiting xfce didn't cause any freezing.

But then i returned some files under /etc which i saved into another partition just before reinstall.
That ruined X, i mean that the "gray screen returned".

So configuration files play some role in this problem.
Should restore /etc more carefully next time.

#24 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-03-30 00:06:59

Now the GUI works, kind of better.
After adding normal_user to groups "video" and "input", i noticed that startx started behaving more normal.

I mean ctrl+alt+F-keys did what they're supposed to.
Could exit xfce without freezing.

But starting X with -config , that still froze.
I started to think that maybe window manager has something to do with this situation.
At least twm is missing for some reason. Propably as a collateral damage for removing and reinstalling x-related packages.

Btw. is it dangerous to add my normal_user_account into group input?
I guess it is OK to add normal user account into group video. But not convinced that input is ok form normal user...

#25 Re: Installation » Fujitsu U728+lightdm+xfce , results in "gray screen" after logging out » 2024-03-29 21:58:26

I'll soon try again. See what dmesg and files under /var/log say about that "gray screen situation".
Have to also find out what that "working mixer software in the xfce's top menu" exactly was.
But the easy way out seems to be using the desktop installer disk.

Planning to return that "Docker&Python&postgres"-thing inside that vm some day.

PS. Google and Duckduckgo know something about "xorg freezes after logging out"-situation but most of the results are 10+ year old. Not sure if those are relevant.

Board footer

Forum Software