You are not logged in.
I am running a fresh installed ASCII with backports kernel 4.16 installed. What is your sources.list looking alike? Mine is clearly pointing to ascii. I get:
root@xxx:/# uname -a
Linux xxx 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.16-2~bpo9+1 (2018-06-26) x86_64 GNU/Linux
root@xxx:/# apt search linux-image-amd64
Sortierung... Fertig
Volltextsuche... Fertig
linux-image-amd64/stable,stable-security,now 4.9+80+deb9u4 amd64 [installiert]
Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg/stable,stable-security 4.9+80+deb9u4 amd64
Debugging symbols for Linux amd64 configuration (meta-package)
root@xxx:/# cat /etc/os-release
PRETTY_NAME="Devuan GNU/Linux ascii"
NAME="Devuan GNU/Linux"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"
Regards, rolfie
Well, the one reason for me to switch to Devuan is that I can use the same setup for decrypting luks devices as it was possible until Wheezy. I understand it, I can setup a script for each device individually, no issues. In terms of speed I do not see any advantage in systemd.
Regards, rolfie
I have used the default ASCII installer to install a LVM into an encrpyted volume, works fine. Was done with the RC version.
I have added an existing encrypted volume (/home on a different drive) after first boot.
Regards, rolfie
I have loaded the Stretch package directly from Oracle and installed it on ASCII. Works fine.
Regards, Rolf
Got my own fight ongoing with this issue: https://dev1galaxy.org/viewtopic.php?id=2023
I just did a manual built graphical system based on ASCII RC in VBox. First installed xorg, the lightdm and finally mate. The console kit stuff was pulled by xorg already.
Regards, rolfie
For the time being I can live with what I have currently. Nevertheless I will try to find out what screws the consolekit settings.
rolfie
You may name the file the way you like. it has nothing to do with the function. I guess *.pkla is mandatory, the internal format too, the rest is to your disposition. I took your solution, split it up in two files called disable-suspend.pkla and disable-hibernate.pkla. Works fine. No more suspend/hibernate in the shutdown dialogue. Choose a name that makes some sense for you.
Good luck, rolfie
Sorry, guess I confused two settings: the pkla I used was for the lightdm panel, not for the entry in the system menu. It has no influence on the system menu. I got a specific problem with ASCII and the lighdm panel solved this way. Thanks for the hint to the wrong directory spec.
Nevertherless, a specific pkla file in the /etc/polkit-1/localauthority/50-local.d/ is most likely the right choice for attacking your problem. What I have learned from posts at askUbuntu.com, using this makes the configuration safe against updates of the general policies.
I would recommend to do a search in askUbuntu.com and maybe uniix.stackexchange.com, there are lots of threads about various ways how to modify settings for shutdown, reboot, hibernate and suspend.
Rolfie
To disable hibernate and shutdown, use the opposite setting as listed in my .pkla file. Got this from askUbuntu.com, you should be able to find a more detailled explantion there.
Rolfie
Hi Ron,
have a look at: https://dev1galaxy.org/viewtopic.php?id=2023, I think it will give you some interesting insight.
Rolfie
Hi there,
checksums are normally available only for complete CD/DVD media. Have a look at: https://files.devuan.org/.
Cheers, rolfie
Also found a fix for the LightDM issue. I knew that I had created a special settings file when troubleshooting the same issue two months ago on my wife's PC. Just couldn't find neither the description nor the file I created.
A thorough search today revealed where I did hide a backup copy and a hint from where I got the tip: I found somebody using LightDM/Mate on askubuntu.com who wanted to disable these functions for all users. That article gave me the handle to do the opposite.
You add this file to /etc/polkit-1/localauthority/50-local.d/enable-shutdown-reboot.pkla
[Enable lightdm shutdown/reboot]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;
ResultAny=yes
ResultInactive=yes
ResultActive=yes
I deliberately did not enable Hibernate and Standby, I never use this.
Hope this helps also other readers.
Thanks, Rolfie
Well, pure LightDM and Mate worked fine with consolekit. Could start Synaptic from the menu, get USB sticks automounted and no access issues, shutdown from menu and the LightDM panel both worked. Have not yet figured out which package really screws the settings.
Anyhow, switched to elongind, and 75% of the problems seem to be gone by now: everything from Mate seems to work.
Open issue: the Shutdown, Reboot etc. options in the LightDM panel are greyed out. Hints what needs to be done?
Thanks, Rolfie
@catprints: thanks for the copy of the link. Helps me to recall the details.
Still I am stuck, though I learned something.
Did a fresh install of ASCII, just base system, no desktop, from DVD, root and home on separate devices and both encrypted.
Edited the sources.list to work from the internet. Update/upgrade.
Made the auto-decrypt work.
Installed xorg, lightdm and mate-extra. Added synaptic.
Reboot: all works as expected, got consolekit installed.
Started to add packages with apt install in blocks to build my usual working enviroment. After each block checked the installed policykit-files with dpkg -l, only got consoleklit stuff back.
When finished, rebooted => issues back again. No change in the policykit-files installed, still on consolekit.
In the moment I am stuck. No idea what may cause the issues. Suspect tools like gnome-system-tools.
Probably need more time to figure out what causes the problems.
Hints are welcome.
Thanks, rolfie
The linked post refers to a PC I setup about a month ago. This PC is used by my wife since two weeks and is working fine. There I used consolekit because it was known to be working (also used on my old Wheezy ....), and the modification did the job to allow shutdown, open USB devices, starts synaptic from menu and solved issues in the menu with root rights. This is why I stick to consolekit.
Looks my notes are shortend, maybe even wrong and following them screwed up the installation of the second PC. Got Mate back up again, but the issues remain. I checked and tried to compare the two installations, it looks like they are mostly identical, but e.g in the moment I can't even mount any USB stick, neither as root nor in Mate: permission denied.
I am stuck.
Thanks, rolfie
Installed an older PC with ASCII beta from DVD: first just to CLI, modified the sources to read everything from the internet, made the automatic decryption work, then installed Xorg, LightDM and Mate desktop. Ended up with the same permission problems as described in https://dev1galaxy.org/viewtopic.php?id=1952.
Looked into my notes und installed:
apt install libpolkit-backend-1-0-consolekit libpolkit-gobject-1-0-consolekit
Unfortunately installing these two packages remove most of the desktop again. How can I fix the issues?
The link in my post a month ago to Lurker is dead now:
Database message source pull failure (not found):
The specified message has been deleted.
I am sure I made a printout, but can't find the paper any more.
Thanks, rolfie
I wanna remove ImageMagick. Never used it, and it seems to be a source of security leaks when seeing the number of updates being spread.
apt remove imagemagick
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
cups-browsed cups-core-drivers cups-daemon cups-filters-core-drivers cups-ppdc cups-server-common libcupscgi1 libcupsmime1
libcupsppdc1 libfontembed1 libgutenprint2 liblouis-data liblouis12 liblouisutdml-bin liblouisutdml-data liblouisutdml7 libqpdf17
libyaml-0-2 qpdf ssl-cert
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
cups cups-filters imagemagick printer-driver-gutenprint
0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 3.626 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n]
I do not want to remove e.g. cups, how can I convice apt just to remove imagemagick, and to keep the dependencies?
Thanks, rolfie
I wonder if the 14.04 and ascii packages are based on the same lightdm version.
Don't think so. I got version 1.18.3 under ASCII.
Interestingly I have quite the same configuration, ASCII upgraded from Jessie, Mate and lightdm. No issues so far on my desktop PC.
What happens if you disable ntp?
Good luck, rolfie
First of all, would you reveal your desktop and WM?
Haven't seen this with lightdm and Mate.
Have a look into the logs e.g. syslog from the previous boot where the bootup is stopping.
Regards, Rolf
The hint to switch to pkgmaster did the job. TB is up from 52.6 to 52.7, and the language packs fit.
Thanks, rolfie
Sorry, forgot to mention: I am on ASCII, and use auto.mirror.devuan.org.
Will wait until tomorrow or so.
Thanks, rolfie
Looks like Thunderbird ist up to date with version 52.6.0-1, while the language packs are lower and won't install with dependency errors.
Is that a bug report or is there another solution?
Thanks, rolfie
Thats it, had the systemd-backend installed. After switching to *-consolekit: all problems fixed.
Thanks, rolfie
Just installed on a PC: Jessie cli, upgraded to ASCII, then installed xorg, lightdm and Mate desktop.
Now I have got a few issues with permissions.
1.) As user when I try to shutdown/reboot the PC the user is logged off, I end up in lightdm. The shutdown/reboot icons in lightdm are also dimmed. I have to go through a root terminal.
2.) When I connect a USB stick I get a message in Mate that I am not authorised to mount the stick. When I mount the stick in a root terminal, its also shown on the desktop, looks like I can use it as usual.
3.) Synaptic does not start from the menu. Does in the root terminal.
4.) Have installed gnome-system-tools. I can call up users-admin and display one or the other property, but I have no access to the advanced settings.
One or the other permission must be off. Where do I need to tweak?
Thanks, rolfie
Thanks, that did the job. Upgrade to ASCII finished successfully.
rolfie