You are not logged in.
Is the login session maintained after logging out & back in again?
loginctl user-statusSLiM is dead upstream and it doesn't support logind sessions correctly so perhaps try LightDM or GDM instead. GDM will run X under the normal user so that should probably be preferred.
EDIT: this behaviour is a known problem with SLiM — it doesn't support a 'default' session where multiple sessions have been enabled. Change to a different display manager if you want to avoid this issue.
The best display manager is no display manager at all: http://forums.debian.net/viewtopic.php?f=16&t=29333
Flatpak is also SystemD-exclusive package manager.
Nope: https://pkgs.alpinelinux.org/packages?n … ranch=edge
And it's spelled "systemd" FFS... ![]()
https://unix.stackexchange.com/question … 722#107722
EDIT: using echo & /etc/rc.local is for n00bs so run this instead:
# sysctl vm.dirty_background_bytes=$((16*1024*1024))
# sysctl vm.dirty_bytes=$((48*1024*1024))if that works use a file at /etc/sysctl.d/copy.conf to make the change permanent:
vm.dirty_background_bytes=16777216
vm.dirty_bytes=50331648Looks like the upgrade hasn't gone through properly so you have a FrankenDevuan at the moment, hence the dependency issues.
You should probably tell us exactly how you went about upgrading your system.
I would use this method:
# sed -i 's/ascii/beowulf/g' /etc/apt/sources.list
# apt update
# apt upgrade
# apt full-upgradeBut I'm very lazy so you should read the release notes and do it properly.
For elogind if the full-upgrade doesn't install it then try
# aptitude install elogind^ That should offer several potential solutions so go through them all (keep refusing until it tells you there are no other options) and select the best one.
Have you tried starting PulseAudio? See the beowulf release notes for some potentially relevant advice.
Is the elogind package installed?
And please post actual, verbatim error messages rather than vague descriptions. Thanks.
Thought it better to post this here rather than pollute your new thread but just to let you know that https://shellcheck.net thinks you should double-quote the variables:
Line 13:
mkdir -p /home/${u}/${dir}
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
mkdir -p /home/"${u}"/"${dir}"
Line 19:
dd if=/dev/urandom of=${outfile} bs=${blocksize} count=1 iflag=fullblock
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
dd if=/dev/urandom of="${outfile}" bs="${blocksize}" count=1 iflag=fullblock
Line 27:
losetup ${LOOPDEV} ${img}
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
losetup "${LOOPDEV}" "${img}"
Line 28:
cryptsetup luksFormat ${img}
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
cryptsetup luksFormat "${img}"
Line 29:
cryptsetup open ${img} ${name}
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
cryptsetup open "${img}" "${name}"
Line 30:
mkfs.ext4 /dev/mapper/${name}
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
mkfs.ext4 /dev/mapper/"${name}"
Line 36:
cryptsetup open ${img} ${name}
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
cryptsetup open "${img}" "${name}"
Line 42:
mount -t ext4 /dev/mapper/${name} /home/${u}/${dir}
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
mount -t ext4 /dev/mapper/"${name}" /home/"${u}"/"${dir}"
Line 49:
umount /home/${u}/${dir}
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
umount /home/"${u}"/"${dir}"
Line 50:
cryptsetup close ${name}
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean: (apply this, apply all SC2086)
cryptsetup close "${name}"Oh, and I'm pleased to see that you've dropped bloaty old bash — POSIX sh ftw! :-)
Admin, please delete.
That is very selfish behaviour, threads on these boards are supposed to be a community resource. If you're upset because I accused you of hijacking the other thread then stop being such a baby and grow some thicker skin.
That CPU and the wireless & internet cards are only supported by the kernel version in the beowulf-backports repository. The wireless card also needs the backported iwlwifi firmware package and the ethernet card probably needs the backported Realtek firmware package.
These are known issues and the package versions in the main beowulf repositories will never be bumped because that's not how Devuan works but thank you for your report :-)
what is it for?
See random(4). If you have any other questions then please open a new thread rather than hijack this one, thanks.
You should also be quoting your variables to avoid globbing and word substitution.
i ) crypt_img $2 $3
I think that should be
i) crypt_img "$@"Otherwise $2 & $3 will be interpreted as the third and forth arguments applied to the script.
Not sure about the encryption stuff though, I don't use that.
Not sure I understand your question but $1, $2 & $3 and the first, second and third arguments applied to a script. These are known as positional parameters.
Example script:
$ cat example
#!/bin/sh
echo "$1" "$2" "$3"
$ ./example value.img 100M 1
value.img 100M 1
$This will install the full XFCE desktop:
# apt install --install-recommends task-xfce-desktopThe task includes the tango-icon-theme package, which might be all you need if you don't want everything supplied by the full desktop.
Other icon themes are available :-)
Check which icon theme is currently selected with
xfconf-query -c xsettings -p /Net/IconThemeNamethe sudo line failed (it opened, but after entering my password and hitting enter, the terminal window crashes)
That's strange, I'm using that .desktop file in SharpBang and it works in my tests.
What happens if you try to run the Exec line from an open terminal (as your normal user)?
x-terminal-emulator -e sudo -iAs for skipping to get a RISC-V chip, I would only want that if Devuan or something better has support for Risc-V
Unofficial at the moment but they're working on it:
https://wiki.debian.org/RISC-V
Drew DeVault was working on porting Alpine Linux to RISC-V but I'm not sure how that's going:
https://drewdevault.com/2018/12/20/Port … ISC-V.html
https://lists.alpinelinux.org/~alpine/d … 0hifive%3E
Nothing concrete from OpenBSD yet though, unfortunately:
https://marc.info/?l=openbsd-misc&m=160807140003965&w=2
But it looks like both FreeBSD and NetBSD have made some progress:
if I could just figure out the code for a desktop root terminal launcher
[Desktop Entry]
Version=1.0
Name=Root Terminal
Comment=Run terminal emulator as root
Type=Application
Exec=x-terminal-emulator -e sudo -i
Categories=System;TerminalEmulator;EDIT: if you don't have sudo installed then use Exec=x-terminal-emulator -e su - instead.
I use an xlr mic and external usb soundcard
I missed this bit. A USB card won't show up in lspci, use lsusb instead.
You can open a terminal and run this command:
udevadm monitorThen plug the USB card in and see what the kernel & udev do with the device.
Which kernel versions are Mint & Void using? The stock kernel in Devuan beowulf might be too old to support the devices.
lspci -knn | grep "Audio"
The grep needs to be expanded to show the kernel driver:
lspci -knn | grep -A2 "Audio"@OP: have you read the beowulf release notes? If you have multiple sound cards then PulseAudio might need to be autostarted.
Use pgrep pulse to check if it's running and use aplay -l to list all available audio devices.
if wlan0 is connected first and then usb0, the default is always going to be wlan0 and vice versa, would that be true?
Yes, I think you're right.
Another alternative:
ip link | awk '/UP /{print $2}'ip l shows ifaces even if they are down whereas ifconfig and netstat does not. So this would make the script only output multiple if ip was used.
Ah yes, of course. But ifconfig shows all interfaces that are up, which includes interfaces which are not connected.
How about this:
ip r | awk '/^default/{print $5}'^ That shows the name of the interface currently connected.
If it is old and deprecated why is it still in the kernel?
It's not in the kernel, ifconfig is a(n obsolete) userspace utility.
And anyway what's wrong with
a=$(ip l | grep -ow "wlan0\|usb0")Off topic for this thread but you should check out slstatus — pure C ftw!
Bah ****ing humbug.
EDIT: and a happy new year.
not edit it with either mousepad or geany
Neither mousepad nor geany support the GVFS admin backend. Try gedit instead, that does support it.
Or even better set your chosen editor as $SUDO_EDITOR and create a Thunar custom option to edit system files with the sudoedit command. See http://dev1galaxy.org/viewtopic.php?pid=24244#p24244 for more on this.
EDIT:
My way, I can do it all
Your way runs entire GUIs as root, which exposes your system to major vulnerabilities unnecessarily.
I blame the Debiots kowtowing to their sys'd overlords
I blame GNU/Linux application developers finally taking security in the desktop seriously. Overriding that improvement is silly (IMO).
Tried this ("new") Thunar Custom Action from an Ubuntu forum, no joy...
Name: Open as admin Command: thunar admin://%f File pattern: *
The GVFS admin backend is indeed the "correct" way to use Thunar as root (ie, how the developers of the application intend it to be used).
Do you have the gvfs-backends package installed? Does entering admin:/// into the navigation bar in Thunar work? Start Thunar from a terminal to see any relevant error messages if it fails:
thunar admin:///You also need a graphical authentication agent running for polkit to display a password prompt: