The officially official Devuan Forum!

You are not logged in.

#1 Re: Devuan » Using LKRG module with Devuan Linux » 2021-04-14 16:58:25

Eaglet wrote:

After that, the lkrg module will start running every time a user logs into DE.

What would happen if a user types ctrl-alt-F1 and logged on to a text console? Or logged on from another system via SSH etc? You have to look for ways round any security checks.


#2 Re: Installation » [SOLVED] Help with script » 2021-04-14 16:39:12 … wakeups-sh has backticks round grep '\*disabled' /proc/acpi/wakeup | cut -d ' ' -f1 and grep '\*enabled' /proc/acpi/wakeup | cut -d ' ' -f1. Those tell bash to run the command inside the backticks and assign the output from it to TOGGLE.

You could use $(...) instead, it's easier to read if you don't get muddled about what sort of brackets to use.


#3 Re: Other Issues » Kernel plod? » 2021-04-11 16:29:06

I doubt the keyboard really needed to be pressed harder than normal to get it to work. I've had it seem to need it, but eventually found it was an illusion caused by the system running slowly so it *seemed* to ignore keystrokes. Eventually I found pressing key normally always worked if the system was responding at all.

Why /var filling caused the system to respond slowly is more interesting. Do you have any swap files in /var? Were you logged on as root or as a user? If root where would it's home files be? I would expect anything writing to /var to be slow, eg logon writes to /var/log/wtmp. And anything writing to syslog would struggle.


#4 Re: Desktop and Multimedia » Hard freeze on Cinnamon desktop » 2021-04-06 16:47:28

Micronaut wrote:

I'll have to try Ctrl-Alt-F1 if it happens again. I hadn't heard of that hot-key combination. I think it was Ctrl-Alt-Backspace that forces a desktop environment to quit? I didn't think to try that at the time, but will remember it next time along with Ctrl-Alt-F1....

There are a number of text consoles, accessed by ctrl-alt-F1, ctrl-alt-F2, etc. ctrl-alt-F7 should take you back to the GUI if that's working (it might be some other combination such as ctrl-alt-F6 so it's worth testing before you need it in anger).

And did the logs show anything from the last time it happened? Although I've had systems lock up or suddenly reboot with nothing interesting in the logs before the messages from the system coming back up.


#5 Re: Desktop and Multimedia » Hard freeze on Cinnamon desktop » 2021-04-05 16:33:41

Does ctrl-alt-f1 get you to a console when it's hung?

Does it respond to ping from another system?

Can you log on via ssh from another system and set top running before a hang? Even if that is frozen the last screenful should give you an idea which task(s) were flooding the system.


#6 Re: Desktop and Multimedia » [SOLVED] Random freeze on ASCII » 2021-03-23 17:12:29

Try memtest86 (first single threaded, then multi). If that fails it's not the OS causing it.

Could you put the old CPU back in and see if that still works OK?

Try running watch sensors in another window and see if the system gets too hot under load. If you have another system log on to the faulty one (eg by ssh) and run it. That way you could still see the last screenful of output.

Try other stress tests. If it's stable under CPU load but not graphically intensive ones that might point to the error.

But it's odd the OS needs to be re-installed after a few crashes. What are the symptoms in that state?


#7 Re: Other Issues » [SOLVED] My Devuan is sluggish. » 2021-03-22 17:55:08

Does dmesg show any interesting messages when the system starts running slowly?

Are there any interesting messages in syslog (check /var/log/auth.log /var/log/daemon.log /var/log/kern.log /var/log/messages and /var/log/syslog)?


#8 Re: Desktop and Multimedia » Gnome flashback session failed to launch. » 2021-02-19 17:16:53

AhmadRaniri wrote:

I also dug into /var/log/messages and found log about gnome-flashback get segfault (I am not really sure what it means).

Please post the segfault log entries here (and a few each side of the segfaults).


#9 Re: ARM Builds » sshd via wlan0 only if ethernet cable is plugged - otherwise no sshd » 2021-01-29 17:23:43

If you have a routing problem try sudo route -n on the pi *and* on your other system both when the ethernet cable is plugged in and when it's not. If you can't work out how to fix it after reading the man page for route then post all the output here.

I'm not an expert but I have managed to fix a few routing problems. Although mostly by guesswork.


#10 Re: Installation » SOLVED: Devuan's "systemctl daemon-reload" » 2021-01-12 17:19:20

nobodyuknow wrote:


nobody@toshiba128:~$ pgrep -a expressvpn && echo 'It's running' || echo 'Not running'

The command you were given contains an odd number of quotes. Try

pgrep -a expressvpn && echo 'It is running' || echo 'Not running'


#11 Re: Installation » no ext3 and ext4 option for formatting partitions during installation » 2021-01-06 17:08:58

Where did you get the installation medium from? And when did you download it? What version of Devuan does it say it is?


#12 Re: Installation » lost basic user account i think anyway » 2020-12-30 17:35:55

To save typing I'll assume the user account is called fred. Replace it below if that's not true.

The first thing to try is ctrl-alt-F1 to get to a text console, then try logging on as fred. If it fails you may get interesting messages.

If that fails use ctrl-alt-F7 (or ctrl-alt-F6) to get back to the normal GUI, log on as root, open a console and enter su fred. If that works the account should be OK, but the password may not be what you think it should be.

To fix the password enter passwd fred. This should ask you for a new password for fred. Then try logging on as fred.

If that fails post output from grep fred /etc/passwd here.

If all else fails set up another user account from scratch.


#13 Re: Off-topic » dd command inside script. » 2020-12-27 21:16:31

My first step would be to add:

set -x

near the start of the script. This would tell bash to display the dd command as it will be executed after variable substitution. See the man page for bash for details.

Also look at set -n which tells bash to read commands but not execute them. This could be useful to syntax check the script before letting it do anything.


#14 Re: Other Issues » dhcp problem after upgrade » 2020-12-16 16:56:22

Does a directory called /var/db exist? If not try sudo mkdir /var/db

NB: I'm only guessing since I don't use DHCP. But the "can't create /var/db/dhclient.leases: No such file or directory" message looks suspicious.


#15 Re: Installation » Friend wants to know ... » 2020-11-21 17:08:14

It runs well enough on the core i5 with 4Gb desktop I'm posting from. So he should be OK (unless being a notebook causes a problem).


#16 Re: Installation » two questions, new to Devuan » 2020-11-07 17:19:26

caieng wrote:

Reading distro notes:   Until Devuan, never wasted one minute reading them.  Either an  OS is transparent, and works effortlessly, or it needs criticism.

The release notes should be the first place to look if you do have problems. Or want to know the distro in depth.

And please allow for the fact that it's impossible to test a distro with *every* combination of hardware etc that any user could have.

Also remember that the people who built it are doing it in their own free time. Ask yourself how you would feel if you were the one being asked about something you built in your own time. Politeness will be more likely to get you helped. As will providing details of what you are doing and think is wrong.


#17 Re: Hardware & System Configuration » LUKS crypt fail to open on recent kernel 5.8.x » 2020-10-30 17:26:10

At a guess FDE stands for Full Disk Encryption. Which seems to match his description.

But we still need more details to have any chance of solving the problem.


#18 Re: Off-topic » Choose your browser carefully » 2020-10-27 17:32:32

It sounds like it would be a good idea to disconnect from the Internet before starting Firefox for the first time. So you could configure it to disable telemetry etc without giving it a chance to phone home first.

But it's a bad sign if you need to do that. Ideally it should be shipped with telemetry etc disabled by default.


#19 Re: Other Issues » how to activate root gui at logon screen + problem with root password » 2020-09-19 16:09:46

Try sudo -i in a terminal window. Hopefully that should ask for your user password then take you into a root shell. Then you can use passwd root to change the root password (it sounds as if it's not what you think it is).


#20 Re: Installation » [Solved] Beowulf - Nvidia legacy 340XX driver will not install. » 2020-09-14 16:14:56

Altoid wrote:
root@devuan3:/# ls /dev/nvidia
ls: cannot access '/dev/nvidia': No such file or directory

Try ls -l /dev/nvidia* (the file names just start /dev/nvidia so the * is important). And ls -l to see what permissions they have is useful.

I get:

chris@rigel:~/bin$ ls -l /dev/nvidia*
crw-rw-rw-+ 1 root root 195,   0 Aug 25  2019 /dev/nvidia0
crw-rw-rw-+ 1 root root 195, 255 Aug 25  2019 /dev/nvidiactl
crw-rw-rw-+ 1 root root 195, 254 Aug 25  2019 /dev/nvidia-modeset
crw-rw-rw-+ 1 root root 248,   0 Aug 27  2019 /dev/nvidia-uvm
crw-rw-rw-+ 1 root root 248,   1 Aug 27  2019 /dev/nvidia-uvm-tools


#21 Re: Hardware & System Configuration » Making Devuan more secure. » 2020-08-19 19:00:26

Hello bimon,

The staphylococcus poisoning was probably an accident. It's impossible to say exactly what effect it would have on any given individual. So it's not any use to control someone.

There's an old saying, "Never ascribe to malice anything adequately explained by stupidity". Which fits this case quite well.

But if you do need to keep secrets:
1: The safest option is to keep it all in your head. If you must share information talk face to face and make sure there are no listening devices around.

2: Use pencil (or pen) and paper. Mass surveilance of mail is too much work for the authorities (at least in civilised countries). If you must use a computer use one that's not connected to the internet (check for wireless adapters etc). This is standard for tax advisers etc (not illegal but laws can be changed to your disadvantage if they know what you are planning).

3: If you have to use the internet then use normal computer security procedures. And keep anything really sensitive off the system.


#22 Re: Documentation » HOWTO: Firefox DoH (DNS over HTTPS) » 2020-08-14 16:26:14

My approach is to put entries in /etc/hosts for local hardware. See the man page for hosts for details of how to format entries. This is quite manageable if you only have a few systems which all have fixed IP addresses (eg 1 router and  1 printer). And then use DNS for everything on the internet.


#23 Re: Devuan » Fotoxx not complaining about low RAM » 2020-08-11 16:17:04

To ask the obvious question, how much RAM and swap space has your new laptop got? Run free -ht on it to find out (and on your old one to see the difference).


#24 Re: Desktop and Multimedia » Screen Randomly Freezing » 2020-07-30 16:40:32

Try ctrl-alt-f1 (pressing all 3 keys at once in that order). That may get you to a text console. Then you could log on and investigate.

If you have another system try logging on over the network.

How hard is it hung? Does pressing caps/num/scroll lock toggle the LEDs on the keyboard?

What sort of system is it (laptop or desktop, make, model, cpu, etc)?

Does it have a reset button? If so does it work in the hung state?


#25 Re: Other Issues » DeleteService » 2020-07-03 16:26:47

ps -e | grep DeleteService should tell you the PID in the first column of output. Try ps -p xxx where xxx is the PID. Then ps -fp xxx and ps -Fp xxx.

If the last two don't work look in /proc/xxx and see if you can find out what it is (compare with /proc/n for tasks that appear normal).

If you can't find the PID try ps -e | less and ps -ef | less etc.

But I don't have such a task running so I'm guessing if this will help.


Board footer

Forum Software