The officially official Devuan Forum!

You are not logged in.

#251 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?

Chris

#252 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.

Chris

#253 Re: Hardware & System Configuration » [Solved] Password required for startup script » 2020-06-29 16:24:23

All it's doing is checking how many lines containing 'load average' uptime produced. So it's just testing if you can use sudo. But I've not seen this technique before. And as bgstack15 said "sudo -l /actual/command/to/run ; echo $?" is probably better, it should not fail if you can run uptime but can't run the actual command.

Chris

#254 Re: Desktop and Multimedia » (beowulf) mac samba share no longer accessible » 2020-06-09 19:28:07

Why use SAMBA between Linux and Mac? They are both UNIX variants so NFS or something similar is more likely to work.

The only situation I would want to use SAMBA is if I needed to share files between Windows and Linux systems.

Chris

#255 Re: Installation » Beowulf and Legion y540 » 2020-06-09 19:20:57

Can you ssh onto the new system from your old system? That would enable you to read dmesg, /var/log/messages, etc to see if they say anything useful without having to enter commands blind. And to update files on the new system if necessary.

Chris

#256 Re: Hardware & System Configuration » [Solved] CPU frequency scaling on Devuan Beowulf RC » 2020-05-27 17:18:51

Do you have a desktop or a laptop? In either case my first thought would be to clean dust etc out of it to stop it overheating. If that fails on a desktop I would think of improving case ventilation or fitting a better cooler.

I've had systems where clearing dust and fluff out reduced CPU temperature several degrees.

Chris

#257 Re: Installation » Devuan ARM64 depndency issue » 2020-05-21 17:01:54

Before setting up a user called pi you could try ln -s /home/chris /home/pi (replace chris with your id). It probably needs to run as root to update /home.

If it doesn't work delete it before trying to set up a user called pi. Or "interesting" things might happen.

Chris

#258 Re: Other Issues » "configure: error: no acceptable C compiler found in $PATH" » 2020-05-19 17:16:05

The config.log file should be in the same directory you ran ./configure in. Try less config.log to see what's in it.

If that fails ./configure is usually a script so you could look at it to see where it puts config.log. But it might be hard to follow if you don't know shell scripting.

And you may need to build a live CD with gcc on it to make this work.

Chris

#259 Re: Installation » First time install; how do I access rest of packages on DVD(on usb) » 2020-05-09 16:09:20

Assuming the network is working run ifconfig on the new system (or /sbin/ifconfig if not running as root). That should tell you what IP address it has. Then ssh to that IP address from the system you are posting from. That should get round DNS not being set up. You may need to start sshd on the new system and/or update the firewall on it to allow ssh connections. Reply "yes" when ssh says it doesn't know the host key.

Then you can run commands on it and post output from them here (include the command itself in your post).

Chris

#260 Re: Desktop and Multimedia » ssh terminals and how to differentiate between them » 2020-05-04 16:10:38

I've got several systems I administer by ssh'ing from my main system so I had this problem too.

My main system sets the window title to match the prompt, eg to the following:

chris@rigel:~/bin

But most of the other systems don't set it. As a work around I created a directory named after each system on my main system, cd'ed  into it and ssh'ed from there onto the other system. So the window title says something like:

chris@rigel:~/vega

which tags the window as being the one ssh'ed onto vega. It's not ideal but it helps.

Also on all my systems the prompt says the hostname as well as the current directory. Train yourself to look at it before doing anything. You might be able to set the prompt to different colours on different systems (although I prefer green prompt most of the time, but red if I need to run as root).

Chris

#261 Re: Hardware & System Configuration » [Solved] Incomplete install of Tor » 2020-04-04 15:59:19

You might need to install torbrowser-launcher (or one of the other suggested packages)?

I've never used tor so that's just a guess based on it's name.

Chris

#262 Re: News & Announcements » Beowulf Beta is here! » 2020-03-31 16:39:32

aus9 wrote:

@chris2be8

Thanks for the ls command. I did a slight mod to keep a list for later comparisons.

lsinitramfs /boot/initrd.img-4.19.0-8-amd64  > /tmp/init-list.txt

Do you know much about the order of processing initrd?

I don't know anything about the order of processing initrd. Sorry.

I'd run lsinitramfs -l to get a long list of the contents. File sizes etc could be useful.

Chris

#263 Re: News & Announcements » Beowulf Beta is here! » 2020-03-30 15:56:11

You can use lsinitramfs to list the contents of an initrd.img. Also check the man page for unmkinitramfs (that's a script to extract content from an initramfs image). And other related commands.

An old trap is to update something in initramfs and reboot without rebuilding your initramfs (the update gets ignored). I found this the hard way getting CUDA working.

Chris

#264 Re: Hardware & System Configuration » [SOLVED] Nvidia warning at boot #2 » 2020-03-25 17:49:18

You probably need to run update-initramfs (or live-update-initramfs) to make the blacklist take effect. Without that the initial ramdisk will still tell the OS to load nouveau. Check the man page first though.

Chris

#265 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-03-20 18:22:21

I've just tried copying the two sample logs you gave above and running awk against them and get 3 both times:

chris@rigel:~/ecm-3031$ cat cupslog1 
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 4 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
chris@rigel:~/ecm-3031$ awk '/groucho/{pages += $7} END {print pages}' cupslog1 
3
chris@rigel:~/ecm-3031$ cat cupslog2 
Samsung_M2020_Series groucho 13 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 13 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 14 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
chris@rigel:~/ecm-3031$ awk '/groucho/{pages += $7} END {print pages}' cupslog2 
3

So I can't see what's going wrong for you.

Chris

#266 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-03-19 17:30:57

awk counts words separated by spaces. So as long as the number of pages printed is just a string of digits awk will total it correctly. I've run similar code to total multi digit numbers without problems.

You could make a copy of some of the log, edit the numbers, run awk against it and see what you get. That should find any problems in time to fix them

Chris

#267 Re: Other Issues » Can't execute program. System doesn't recognize it's location. » 2020-03-11 17:11:14

take_a_number wrote:
[username]@[hostname]:~$ file ~/Desktop/palemoon/palemoon
/home/[username]/Desktop/palemoon/palemoon: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=85a9932d8111ba3bb1c58f85331435adab6e79e8, stripped

That's probably the wrong architecture. Unless your system is very old you want a 64-bit executable.

Post output from uname -a which will tell us what sort of system you are running on, and what OS it runs.

Also post output from ls -ld ~/Desktop/palemoon/palemoon so we can see what permissions it has.

Chris

#268 Re: Installation » Installing Devuan Ascii 2.1 with virt-install » 2020-02-22 17:57:24

Thanks, got it installed now, and apt-file installed as well.

Chris

#269 Re: Installation » Install Devuan over existing Linux system? » 2020-02-22 17:42:57

You should be able to boot off a live CD (or equivalent), su/sudo to root, mount the hard disk and chroot to it. That should get you into the new system as root, where you could reset passwords as desired. Then you could reboot and log on normally to investigate it. But I've not had to do it myself so I'm not sure if I've missed a step.

Or you could just back up the hard disk from the live system, eg over the network to one of your existing systems.

Or use the live system to edit /etc/shadow on the new system to set the root password hash to the same as on a system where you know the root password.

Chris

#270 Re: Installation » Installing Devuan Ascii 2.1 with virt-install » 2020-02-21 20:58:38

Which package contains isoinfo? And is there a way to search for packages containing a particular file?

Chris

#271 Re: News & Announcements » Sources.list broken » 2020-02-06 17:37:39

Are there tabs instead of spaces in your /etc/apt/sources.list ? Or any other strange characters?

If you can't see anything post output from od -xc /etc/apt/sources.list here (it will be a bit lengthy).

Chris

#272 Re: News & Announcements » Sources.list broken » 2020-02-05 17:13:25

My /etc/apt/sources.list contains

## package repositories
deb http://deb.devuan.org/merged/ ascii main contrib non-free 
deb http://deb.devuan.org/merged/ ascii-updates main contrib non-free 
deb http://deb.devuan.org/merged/ ascii-security main contrib non-free 
# deb http://deb.devuan.org/merged/ ascii-backports main 

## source repositories
# deb-src http://deb.devuan.org/merged/ ascii main 
# deb-src http://deb.devuan.org/merged/ ascii-updates main 
# deb-src http://deb.devuan.org/merged/ ascii-security main 
# deb-src http://deb.devuan.org/merged/ ascii-backports main 

Note there is a / after merged which you do not have. Try adding that.

Chris

#273 Re: Installation » installing nvidia drivers on ascii 2.1 » 2020-01-09 17:26:22

Also try lspci | grep -i NVIDIA followed by lspci -v -s 01:00 (replace 01:00 with the first 5 chars of output from the first command). That should show what kernel driver is in use. Post output here if you are not sure what it means.

Also search the forum for CUDA. I had a lot of "fun" getting it working on my system and posted details of what I had to do. They should help.

Chris

#274 Re: Other Issues » Please let me know why there are so many suid programs and even dirs? » 2019-12-12 17:37:14

Directories like /var/local/ and /var/mail/ are OK, the "s" just means that newly created files and subdirectories in them will have the same group as they do.

Programs like sudo and passwd do need to run as root. So they are the ones you need to worry about.

Chris

#275 Re: Desktop and Multimedia » lightdm wicd error » 2019-12-01 16:54:26

Does lightdm read the user's groups when it starts up and cache them (thus missing groups if LDAP isn't fully up then)? That's the only thing I can think of that would explain why restarting lightdm would make it start working.

Can you delay lightdm starting until after LDAP, wicd, etc are fully initialiased?

Chris

Board footer

Forum Software