You are not logged in.
I believe needs root rights as i have to install xserver-xorg-legacy and the modify /etc/X11/Xwrapper.config
to have..
needs_root_rights=yes
Nope.
Devuan beowulf can now run rootless X OOTB (as long as the startx command is used) thanks to elogind ![]()
so it is sounding like I MIGHT not be able to escape installing that proprietary driver.
Firmware is not the same as driver. Your AMD card will perform very poorly without the firmware.
Hard drive controller? That seems to be one I didn't know about. I would be quite interested to hear more about that.
https://media.kasperskycontenthub.com/w … nswers.pdf
The risk level is very low for that sort of exploit, especially compared to something like Firefox or Chrom{e,ium}, but the motherboard hardware controllers contain blobs and some of them can be rather complex.
...Both the non-backports version (20190114-2) and the beowulf-backports version (20190717-2~bpo10+1) fixed the backlight problem but then introduced another problem. I tried to load Caja and the display glitched hard, distorting the windows to the point of the system being unusable. tty1 worked fine still. I tried to screenshot the problem but in the screenshots the problem isn't there. I was able to take screenshots by just pressing prtsc and hitting enter.
Sounds like a compositor issue, check ~/.xsession-errors for clues.
If the backlight problem is now fixed then please mark the thread [SOLVED]. If you want to continue with the screen corruption issue then open a new thread, thanks.
What about if you have ~/.xsession with just exec dwm and then add ~/.xsessionrc to source ~/.profile?
You probably shouldn't use xdm any way because it will run X under the root user. The startx command runs X under your normal user, which is much better.
Oh really? In which case sorry for the misinformation. I've never actually tried xdm.
EDIT: hold on, did you source ~/.profile before the exec dwm line? Nothing in that file will be read after an exec statement.
And ~/.xsessionrc isn't really intended as a replacement for ~/.xsession, it is an adjunct to that file.
Devuan's display managers should automatically start whatever is set as the x-session-manager alternative with no need for further configuration, or /etc/alternatives/x-window-manager otherwise.
How did you install dwm? Is it the Devuan package or did you compile it yourself?
I put "login incorrect linux" into the search box at startpage.com and this was the top result: https://www.linuxquestions.org/question … ed-881131/
Does that help?
Head_on_a_Stick wrote:
Try either disabling the desktop compositorHere I need a bit more detailed information about what you are suggesting.
If you're also experiencing the flicker in the console then it's nothing to do with the compositor or the DDX driver.
FWIW your X.Org log shows that X.Org's builtin modesetting driver is being used for your Intel iGPU.
I really don't know anything about NVIDIA (I would never give money to that company) so I can't help with that, sorry.
If you place a file at ~/.xsessionrc it will be read by any and all display managers (and also the startx command) without any need for special hacks.
https://wiki.debian.org/Xsession
And you should use ~/.xsession instead of ~/.xinitrc (rather than as well as), at least according to the startx man page.
There is an /etc/cron.daily program 'popularity contest' that logs and reports weekly which packages you have/use.
It is optional (you can turn it off) and anonymous in intent.
Popcon is opt-in — the installer asks the user but the default reply is "no".
Firefox can be configured to provide telemetry (but you can turn it off) and it can check for updates to add-ons you have installed (also optional).
Mozilla's guide to enabling better privacy is here: https://support.mozilla.org/en-US/kb/ho … onnections
They're a bunch of deceptive bastards though because that page makes no mention of their Beacon API, disable that in about:config.
The router is configured to use cloud flare so that covers the dns for me.
Not necessarily, Firefox are moving towards enabling DoH by default: https://support.mozilla.org/en-US/kb/fi … over-https
You don't need an application to tether, just bring the interface up and assign some addresses (eg, with dhclient).
What happened with nano:
brightness: [ Error writing lock file /sys/class/backlight/acpi_video0/.brightness.swp: Permission denied ]
max_brightness: [ File '/sys/class/backlight/acpi_video0/max_brightness' is unwritable ]
actual_brightness: [ File '/sys/class/backlight/acpi_video0/actual_brightness' is unwritable ]
Looks like nano was trying to write to a backup for the brightness file, not sure why. It works on my system if I ensure that it's saving to the actual backlight file.
Note that the max_brightness and actual_brightness files can't be changed so that result is expected (sysfs doesn't work like normal filesystems, it is virtual in nature and just exposes kernel values to user space).
No idea why my tee & echo suggestions didn't work though. At a guess it's because you don't have a kernel module loaded for your video card.
And if I must, I will try firmware-amd-graphics. I wish to avoid proprietary software if possible, but if there's no other way.
You're already loading non-free firmware from Devuan for your Intel wireless card. Your UEFI firmware, CPU management engine and hard drive controller are all running blobs anyway. There is no escape...
Also, I found this. Do you think this could solve my problem? https://cannibalcandy.wordpress.com/201 … acpi-woes/
That's an interesting find but I'm pretty sure that the backlight will be controllable once you have a video driver loaded.
Oh, also it looks like the same thing happened again with the amdgpu modification to 10-backlight.conf:
[ 15.550] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
AMD cards require KMS and that needs a kernel driver.
printf $titles "os:" ; cat /etc/os-release | awk 'NR==1' | sed 's/............//;s/.//;s/.$//g'
You don't need cat:
printf $titles "os:" ; awk 'NR==1' /etc/os-release | sed 's/............//;s/.//;s/.$//g'Or with awk alone:
printf $titles "os:" ; awk -F'"' '/PRETTY/{print $2}' /etc/os-releaseprintf $titles "pkgs:" ; dpkg -l | wc -l
That will return a slightly larger number because the dpkg output prints an information section and also lists some non-installed packages, try this instead:
printf $titles "pkgs:" ; dpkg -l | grep -c '^ii'sudo nano /sys/class/backlight/acpi_video0/brightness
That's an unusual way to modify the file but it should work (it did when I tried it in my Alpine Linux box). What actually happened when you tried? Did you see any error messages?
Do my suggested echo commands work?
$ lspci -k | grep -A3 VGA 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da) Subsystem: Acer Incorporated [ALI] Stoney [Radeon R2/R3/R4/R5 Graphics] Kernel modules: amdgpu 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
Looks like the amdgpu module is available but not loaded. Without a loaded kernel module your system will fall back to the VESA driver, which will offer poor performance and may be the reason why you're having trouble with the backlight.
Try adding radeon.cik_support=0 amdgpu.cik_support=1 as a kernel command line parameter to force the amdgpu module for your card.
Also check that you have installed the firmware-amd-graphics package, that will be needed for full performance.
Xorg.0.log:
[ 16.992] (EE) no screens found(EE)
Your configuration file is forcing the wrong driver for your card, it needs amdgpu(4) rather than radeon(4).
For some reason root can't write to any of these files:
/sys/class/backlight/acpi_video0/brightness
/sys/class/backlight/acpi_video0/max_brightness
/sys/class/backlight/acpi_video0/actual_brightness
You should show us the exact command(s) that you used to try to write to the file.
I'm guessing that you tried something like
sudo echo $value > /sys/class/backlight/acpi_video0/brightness^ That won't work because the elevated privileges conferred by the sudo command are lost in the redirection operation (>).
Use this instead:
sudo tee /sys/class/backlight/acpi_video0/brightness <<<'$value'Or
sudo sh -c 'echo $value > /sys/class/backlight/acpi_video0/brightness'In both cases replace $value with the actual numerical value (with the maximum determined by the content of /sys/class/backlight/acpi_video0/max_brightness).
I tried making a /usr/share/X11/xorg.conf.d/10-backlight.conf with this:
Section "Device" Identifier "Radeon" Driver "radeon" # Option "AccelMethod" "uxa" EndSectionBut then when I rebooted, it never went to lightdm.
Perhaps your card needs the amdgpu driver, check the LightDM & X.Org logs and also the output of
lspci -k | grep -A3 VGAI'm too ashamed to tell what went wrong
No need to be embarressed, everybody makes mistakes :-)
If you share the problem and your solution here it may be useful if others also make the same mistake.
I did not install Bumblebee so far, since I think that could cause the trouble to restart again.
Bumblebee is for when you want the Intel iGPU to run the display most of the time but use the NVIDIA card for graphically-intensive programs (with the optirun command), this will give the best battery life and is the intended mode of operation for Optimus devices.
Another alternative would be PRIME, which can be used for display offloading and suchlike.
In both cases "switchable graphics" will need to be selected in your machine's firmware ("BIOS") options.
Any ideas of how to get the display into a non-flickering mode?
Try either disabling the desktop compositor or switching from the xserver-xorg-video-intel DDX driver to X's builtin modesetting version. Check the X.Org log to see which is being used at the moment.
Also check the log to see if any X.Org configuration files are being read — the NVIDIA proprietary drivers now integrate with X automatically and a configuration file may be breaking things for you.
- LUKS password entry is not visible during bootup, the password has to be entered "blind" (I suspect KMS initialization of display and asking for password are in wrong order?)
I really don't know anything about LUKS but if your theory is correct then you can try to enable an early KMS start by adding the name of your video card kernel module to the list at /etc/initramfs-tools/modules and then update the initramfs to include it:
# update-initramfs -u -k all- Volume control is broken (volume keys do not work) and when launching it manually it only says "connecting to PulseAudio"
This has come up a few times recently, for example: http://dev1galaxy.org/viewtopic.php?pid=22481#p22481
I think the desktops now rely on a systemd user service to initialise PA but you can get the same effect by adding this line to a file at ~/.xsessionrc:
start-pulseaudio-x11There is an XDG autostart file for PA but perhaps LXQt doesn't run those automatically, I don't use LXQt so I'm not sure about the specifics.
- delayed startup due to network not being ready (I removed the dhcp-line for eth0 from
/etc/network/interfacesas network is managed by LXQt's network manager anyways
If you're not using ifupdown then disable the networking service:
# update-rc.d networking disableAt least I think that's how you disable a sysvinit service, @community please correct me if I'm wrong here.
^ The aptitude command will probably offer to replace libsystemd0 with libelogind0.
Are we allowed to post non-Devuan screenshots here?
Here's my Alpine Linux desktop running sway with openrc-init as PID1:
The /usr/bin/sway executable is supplied with the setuid bit enabled but I've disabled that and installed & enabled elogind for a rootless desktop.
Secure Boot is also enabled, which is nice.
Run
# apt update
# apt upgradeThen answer "yes" when it asks.
That's the wrong URL: http://deb.devuan.org/merged/
And for future reference:
there are error messages about files not being downloaded
Please always post the full, verbatim error messages rather than a vague description — it's easier for you and less confusing for us.
learn to recognize bashisms
The devscripts package supplies /usr/bin/checkbashisms to perform that function.
Here is a tool to help you improve your existing shell scripts
That is available as a package: https://pkginfo.devuan.org/stage/beowul … 5.0-3.html
IBM's LPIC-1 exam-preparation tutorials are really good: https://developer.ibm.com/technologies/ … linux-101/
This one is for the command line: https://developer.ibm.com/tutorials/l-lpic1-103-1/
EDIT: nearly five years old but still mostly relevant.
Do you have pulseaudio installed? If so just install and run pavucontrol to set the default output device.
If you don't have pulseaudio installed then golinux's link has all the information you need to configure pure ALSA to set the default device.
ALSA for Dummies
As you appear to have an Intel sound card you can try this, it works for all the laptops I have ever owned:
# tee /etc/modprobe.d/alsa.conf <<<'options snd-hda-intel index=1'
# update-initramfs -u -k allThen reboot.
If that doesn't work remove /etc/modprobe.d/alsa.conf, rebuild the initramfs again and post the output of
aplay -Ll^ That's two ells, one upper case and one lower case.
They are attempting (not necessarily successfully) to prevent shutdowns/reboots while package manager is running
Ah, interesting. Thanks!
i don't know how elogind is going to prevent shutdown/reboot if init system isn't systemd
It probably won't. AFAIUI the developers have made the decision to stub out most of the (unwanted) extra functionality offered by systemd.
I've added another port to the OP — it's called oksh and was created by Brian Callahan (also known as ibara), who is an OpenBSD developer.
would you know any of the motivations of the apt maintainers who made the choice to link apt to libsystemd0?
No but I would hazard a guess that it is related to the systemd timers now supplied with the package (or perhaps the new sandboxing feature).