The officially official Devuan Forum!

You are not logged in.

#1 2018-09-04 07:54:21

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

[Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Hi,

I came here for SysV/OpenRC based distro. I have a 6 years old desktop which presently has Ubuntu 18.04 from a few weeks. I personally don't really liked it especially the systemd errors waiting for services to close eternally at startup or shutdown. I, earlier had LMDE in my system and a Debian user since Woody's time.

As a desktop user, I like Gnome 3 or Cinnamon. But, after reading about Gnome 3 strongly have systemd linked as dependency in their packages, I wonder if Gnome 3 smoothly works with OpenRC or other init's. I kind of started to believe sooner or later it will be difficult to get Gnome up without systemd. If not Gnome, Cinnamon seems to be good enough. Also, is it possible to pull out newer packages from beowolf or ceres through apt-pinning? For example, to pull newer Cinnamon. Is there a blacklist of packages which cannot be installed due to systemd dependency. I had earlier, booted a Devuan XFCE live usb and wondered what is the right method to install for a UEFI GPT system? Will the default live usb supports UEFI? Is there a minimal network cd through which, we can install base with OpenRC and build up a Cinnamon system that supports dbus udisks etc (easy mount and unmounting of partitions)? Does any manual configuration needed to get OpenRC work. Also, which init is the preferred one here? runit or OpenRC.

Thank you

Last edited by Debuser2018 (2018-09-12 12:42:03)

Offline

#2 2018-09-04 10:23:50

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 251  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I can't really answer many of your questions, except perhaps that there is indeed a "blacklist of  packages which cannot be installed due to systemd dependency", HERE.

But I wanted to suggest that you try a different approach, for greater success on the forum, and just raise one issue or ask one question in a thread. Start a new thread for each. Otherwise the thread just ends up as a mishmash of half-answers and counter questions, without really being useful for anyone, including yourself, probably.

Online

#3 2018-09-04 10:33:25

Andre4freedom
Member
Registered: 2017-11-15
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I could tell you this:
Install ASCII using the full iso and select "special install" (kind of).
Then during the install process you will be asked to select options and software. You are offered the choice of using Init-SysV or OpenRC, and as a desktop environment you may choose Cinnamon. It works wonderfully, I use it on all computers now.
There is one little snag though: Lid-Close action does not work with cinnamon on Devuan ASCII.
I cannot tell about pulling in a newer Cinnamon-release from the Beowulf repos - I have never dared. I'd like to see a more recent Cinnamon desktop. Please tell when you are successful, here on the forum. Good luck.

Offline

#4 2018-09-04 19:41:18

ivanovnegro
Member
Registered: 2018-05-15
Posts: 57  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

So many questions but at least I will answer this.
You can install Gnome from the repos but it is not really supported by Devuan, like you said, too many things in Gnome need systemd.
Cinnamon on the other side is just fine and one of the recommended desktop environments in Devuan. But to have a newer version would be tricky and I would be against pinning but that is just me. Beowulf is really too far away from ready to use, I guess. Someone can prove me wrong.

As for the other questions go and open separate threads to get quality answers.

Offline

#5 2018-09-05 08:21:07

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Thanks for the answers. I did try Devuan yesterday. The minimal iso did not work with UEFI. So, I used the Devuan live usb and used refractainstaller to complete the installation. Whenever I ran apt update, a "gdbus error 127" was shown at the end. Some other "failed" messages also seen on booting:
waiting for /dev to be populated...[    S.22898] pstore: decompression failed:returned -5

apparmor also failed..

apt-listchanges recommended moving off /etc/pulse/client.conf.d/00-disable-autospawn.conf (which contains autospawn=no). So, I moved it.

Here is the content of /etc/apt/preferences.d/preferences:

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 130

Package: *
Pin: release a=unstable
Pin-Priority: 10

I purged xfce and xorg packages completely off and tried installing cinnamon-desktop-environment package from Beowulf (testing). That pulled a lot of packages (600MB or so). lightdm is the default. Cinnamon from the testing failed when logged in.
http://image.noelshack.com/fichiers/201 … esized.jpg

Here is the .xsession-errors:
https://pastebin.com/c6NzKXDe

I have now purged all the packages to bare minimum. I can chroot from existing Ubuntu installation. I think, will go with stable version of Cinnamon now? I am not able to figure out what causes the Cinnamon session to fail.

Last edited by Debuser2018 (2018-09-05 09:31:07)

Offline

#6 2018-09-05 17:44:35

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I did managed to get the Cinnamon 3.28 working - But temporarily. Next boot onwards, it's the same error. The shutdown/reboot/logout buttons are missing when it did completed loading Cinnamon DE. I digged the ~/.xsession-errrors file and it showed:

devuan dbus-daemon[5076]: [system] Activated service 'org.bluez' failed: Launch helper exited with unknown return code 1
devuan dbus-daemon[5076]: [system] Activating service name='org.freedesktop.Accounts' requested by ':1.127' (uid=1000 pid=7285 comm="cinnamon --replace ") (using servicehelper)
devuan dbus-daemon[5076]: [system] Activated service 'org.freedesktop.Accounts' failed: Launch helper exited with unknown return code 127
devuan dbus-daemon[5076]: [system] Activating service name='org.freedesktop.Accounts' requested by ':1.129' (uid=1000 pid=7362 comm="cinnamon-screensaver
                             ") (using servicehelper)
devuan dbus-daemon[5076]: [system] Activated service 'org.freedesktop.Accounts' failed: Launch helper exited with unknown return code 127
devuan cinnamon-session[6980]: WARNING: t+6.77449s: Detected that screensaver has left the bus
AccountsService:ERROR:act-user-manager.c:2566:load_users: assertion failed: (manager->priv->accounts_proxy != NULL)

I have elogind installed.

mount shows this:

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=2980588k,nr_inodes=745147,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=600552k,mode=755)
/dev/sdb7 on / type ext4 (rw,noatime)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1620520k)
/dev/sdb8 on /home type ext4 (rw,noatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
none on /sys/kernel/security type securityfs (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/elogind type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/elogind/elogind-cgroups-agent,name=elogind)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=600548k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

Last edited by Debuser2018 (2018-09-05 18:12:45)

Offline

#7 2018-09-09 16:06:05

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Cinnamon crashing due to polkit issue?

Offline

#8 2018-09-09 16:28:21

golinux
Administrator
Registered: 2016-11-25
Posts: 1,217  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Have you read the release notes?

Online

#9 2018-09-09 17:32:06

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

golinux wrote:

Have you read the release notes?

Yes. I read it, but never checked whether both consolekit and elogind are installed. I've purged Consolekit now (chroot). Hoping to see Cinnamon works fine on next reboot. Thanks for the hint. smile

update-initramfs: Generating /boot/initrd.img-4.17.0-0.bpo.3-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
    nor crypto modules. If that's on purpose, you may want to uninstall the
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
    integration and avoid this warning.

I saw a warning message and error on boot - pstore: crypt-compression error -22. I have removed cryptsetup* cryptsetup-bin* cryptsetup-initramfs* cryptsetup-run* . Is these packages necessary?

EDIT: pstore compression error already in the Debian BTS. https://groups.google.com/forum/#!msg/l … dRC4GvBwAJ

Last edited by Debuser2018 (2018-09-09 18:03:43)

Offline

#10 2018-09-09 17:59:13

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Bad luck! After purging consolekit, still not working. Cinnamon crashes. I've honestly ran out of ideas. Is there anywhere to look now? I did go through /var/log files.

Polkit or dbus?

Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 127

dbus-daemon[2112]: [system] Activated service 'org.freedesktop.Accounts' failed: Launch helper exited with unknown return code 127

dbus-daemon[2112]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 127

dbus-daemon[2112]: [system] Activated service 'org.freedesktop.ModemManager1' failed: Launch helper exited with unknown return code 127

dbus-daemon[2112]: [system] Activated service 'org.freedesktop.Accounts' failed: Launch helper exited with unknown return code 127

dbus-daemon[2112]: [system] Activating service name='org.freedesktop.Accounts' requested by ':1.14' (uid=113 pid=2504 comm="/usr/sbin/lightdm-gtk-greeter ") (using servicehelper)

dbus-daemon[2112]: [system] Activated service 'org.freedesktop.Accounts' failed: Launch helper exited with unknown return code 127

dbus-daemon[2112]: [system] Activating service name='org.freedesktop.Accounts' requested by ':1.15' (uid=0 pid=2535 comm="lightdm --session-child 13 22 ") (using servicehelper)

Do we need to manually edit /etc/elogind/logind.conf? All the parametres are commented, by default.

Last edited by Debuser2018 (2018-09-09 18:50:10)

Offline

#11 2018-09-09 23:12:26

fsmithred
Administrator
Registered: 2016-11-25
Posts: 847  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Post the output of dpkg -l | egrep "consolekit|elogind|libpam|policykit|polkit

Also for apt-cache policy libc6

Offline

#12 2018-09-10 04:13:17

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I can login into Cinnamon 3.8.8 (but without shutdown and other options) after installing libpolkit-gobject-1-0-elogind, libpolkit-gobject-elogind-1-0 packages. But, libpolkit-backend-elogind-1-0 cannot be installed due to version conflict. (0.105-18 and 0.105-21 )

fsmithred wrote:

Post the output of dpkg -l | egrep "consolekit|elogind|libpam|policykit|polkit

Also for apt-cache policy libc6

It is almost Devuan testing now.

ii  gir1.2-polkit-1.0                     0.105-21                                amd64        GObject introspection data for PolicyKit
ii  libelogind0:amd64                     234.4-2                                 amd64        user, seat and session management library
ii  libpam-cap:amd64                      1:2.25-1.2                              amd64        POSIX 1003.1e capabilities (PAM module)
ii  libpam-elogind:amd64                  234.4-2                                 amd64        elogind PAM module
ii  libpam-gnome-keyring:amd64            3.28.2-1                                amd64        PAM module to unlock the GNOME keyring upon login
ii  libpam-modules:amd64                  1.1.8-3.8                               amd64        Pluggable Authentication Modules for PAM
ii  libpam-modules-bin                    1.1.8-3.8                               amd64        Pluggable Authentication Modules for PAM - helper binaries
ii  libpam-runtime                        1.1.8-3.8                               all          Runtime support for the PAM library
ii  libpam0g:amd64                        1.1.8-3.8                               amd64        Pluggable Authentication Modules library
ii  libpolkit-agent-1-0:amd64             0.105-21                                amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0:amd64           0.105-21                                amd64        PolicyKit backend API
ii  libpolkit-gobject-1-0:amd64           0.105-21                                amd64        PolicyKit Authorization API
ii  libpolkit-gobject-1-0-elogind         0.105-18+devuan2.11                     all          PolicyKit Authorization API
ii  libpolkit-gobject-elogind-1-0:amd64   0.105-18+devuan2.11                     amd64        PolicyKit Authorization API
ii  policykit-1                           0.105-21                                amd64        framework for managing administrative policies and privileges
ii  policykit-1-gnome                     0.105-7                                 amd64        authentication agent for PolicyKit

$ apt policy libc6
libc6:
  Installed: 2.27-5
  Candidate: 2.27-5
  Version table:
     2.27-6 10
         10 http://deb.devuan.org/merged unstable/main amd64 Packages
*** 2.27-5 130
        130 http://deb.devuan.org/merged testing/main amd64 Packages
        100 /var/lib/dpkg/status
     2.24-11+deb9u3 900
        900 http://deb.devuan.org/merged ascii/main amd64 Packages
     2.24-11+deb9u1 500
        500 http://deb.devuan.org/merged ascii-security/main amd64 Packages

Last edited by Debuser2018 (2018-09-10 04:13:55)

Offline

#13 2018-09-10 04:23:48

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I managed to login into Cinnamon 3.8.8 few hours back. But, shutdown, poweroff, restart buttons are missing. Cannot mount partitions as polkit error "Not authorized to perform operation (polkit authority not available and caller is not uid 0). So udisks2 and other packages also may be affected by polkit+elogind missing packages.

Desktop: http://image.noelshack.com/fichiers/201 … 2-00-4.png
Cannot mount error: http://image.noelshack.com/fichiers/201 … -19-01.png
Shutdown button missing: http://image.noelshack.com/fichiers/201 … -42-37.png

I did not need to edit logind.conf, but it worked only after installing:
:~$ dpkg -l |grep elogind
ii  elogind                               234.4-2                                 amd64        user, seat and session management daemon
ii  libelogind0:amd64                     234.4-2                                 amd64        user, seat and session management library
ii  libpam-elogind:amd64                  234.4-2                                 amd64        elogind PAM module
ii  libpolkit-gobject-1-0-elogind         0.105-18+devuan2.11                     all          PolicyKit Authorization API
ii  libpolkit-gobject-elogind-1-0:amd64   0.105-18+devuan2.11                     amd64        PolicyKit Authorization API

ii  policykit-1                           0.105-21                                amd64        framework for managing administrative policies and privileges
ii  policykit-1-gnome                     0.105-7                                 amd64        authentication agent for PolicyKit

Apart from missing shutdown and other keys, I get below errors also:

Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 127

Error: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.PackageKit': timed out (service_start_timeout=25000ms)

I launched dconf-editor and below error message from the terminal:

(process:7902): dconf-CRITICAL **: 01:12:41.423: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.
No such key “screensaver-uses-logind”
pkexec: error while loading shared libraries: libpolkit-gobject-1.so.0: cannot open shared object file: No such file or directory

I believe if I can downgrade libpolkit-agent, gir1.2-polkit-1.0 and few other packages from version 0.105-21 to 0.105-18, then, the missing packages: libpolkit-backend-1-0-elogind, libpolkit-backend-elogind-1-0 can be installed and possibly all error messages resolved.

Last edited by Debuser2018 (2018-09-10 04:35:05)

Offline

#14 2018-09-10 10:54:28

fsmithred
Administrator
Registered: 2016-11-25
Posts: 847  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I managed to install cinnamon from beowulf yesterday, but I can't tell you exactly how I did it. Basically, I installed from desktop-live, added beowulf to sources, removed xfce and slim a couple of times, installed cinnamon a couple of times (without recommends), installed lightdm and had to remove it and install libpam-elogind first, then I could have lightdm without consolekit...

Power buttons are working. I didn't try mounting removable drives. Here are some suggestions for you:

Use codenames in your sources.list. (beowulf/ceres instead of testing/unstable)

Install the devuanized policykit-1 (0.105-18+devuan2.11) and the missing libpolkit-backend (same version)

I got an error about some glib package that needed to be installed because of the newer libc6 but couldn't be installed because it needed a newer kernel. That's when I realized that libc6 was from beowulf. This is where mixing stable and testing can get ugly. You may run into some difficult conflicts with libraries.

In one of your pastes, I saw nm-applet and wicd mentioned. (.xsession-errors, I think.) I got rid of anything network-managy or wicd and installed connman, because that's the default when you install cinnamon from the tasksel window in the installer. Either way, you should pick one package to manage network connections, so they don't fight with each other.

For reference, here's a recent account of another trail-blazer who upgraded ascii to beowulf -
https://dev1galaxy.org/viewtopic.php?id=2301

Offline

#15 2018-09-12 12:41:39

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

@fsmithred: Thank you for your help.

Yes, I got the policykit related errors resolved now. The polkit packages some of them were version 0.105-21. I downgraded some of the upgraded packages to 0.105-18 and policykit problems resolved.  No errors in /var/log/daemon.log. These are the packages from beowulf that were downgraded to get polkit work -
I downloaded manually using "apt -t ascii download gir1.2-polkit-1.0/ascii"
gir1.2-polkit-1.0_0.105-18+devuan2.11_amd64.deb             
libpolkit-gobject-1-0_0.105-18+devuan2.11_all.deb
libpolkit-agent-1-0_0.105-18+devuan2.11_amd64.deb           
policykit-1_0.105-18+devuan2.11_amd64.deb
libpolkit-backend-1-0_0.105-18+devuan2.11_all.deb           
policykit-1-gnome_0.105-6_amd64.deb
libpolkit-backend-elogind-1-0_0.105-18+devuan2.11_amd64.deb

Removed the above packages using "dpkg --ignore-depends=libpolkit-backend-1-0 --purge libpolkit-backend-1-0" (example) and installed above packages from ascii, manually. Afterwards, ran apt install -f to ensure all dependencies are satisfied. Yet to get udisks to mount as local user. Rest, everything works fine.

Franken Debian or is it Franken Devuan, I have learned the lesson now smile.  I did a full upgrade to beowulf somewhere and it borked the system.  Upgrade to beowulf added /etc/debian_version with the upgraded base-files ! (apart from /etc/devuan_version) updated grub showed Debian Buster/Sid instead of Devuan.
Also, Ceres repository contains older packages than ascii?
udisks2:
  Installed: 2.7.6-3
  Candidate: 2.7.6-3
  Version table:
*** 2.7.6-3 500
        500 http://deb.devuan.org/merged beowulf/main amd64 Packages
        100 /var/lib/dpkg/status
     2.1.8-1+devuan2 500
        500 http://deb.devuan.org/merged ascii/main amd64 Packages
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
     2.1.3-5+devuan2 500
        500 http://deb.devuan.org/merged ceres/main amd64 Packages

I wanted to check if Cinnamon or Gnome 3 is installable from beowulf.  It worked. Both the Cinnamon 3.8.8 of beowulf and Gnome-shell 3.30 from Ceres are installable and working in beowulf.
http://image.noelshack.com/fichiers/201 … -11-56.png

Now, will have to do a clean install of ascii only system, with a Cinnamon desktop. The problem is, only Devuan live cd is detected in UEFI menu of this desktop PC. Refracta installer installs a lot of packages and XFCE. Is there ncurses based debian-tui-installer for Devuan exists? I tried Devuan minimal and it shows as booting in BIOS mode. Is there a minimal installation step to get Devuan with only needed packages?

Last edited by Debuser2018 (2018-09-12 12:47:55)

Offline

#16 2018-09-12 15:59:39

fsmithred
Administrator
Registered: 2016-11-25
Posts: 847  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

If you want to install a minimal system, you could use one of the installer isos (not the live) and when you get to the tasksel window, un-check everything except "Standard system utilitites". Then you can add xorg and whatever desktop stuff you want after you boot into the new system.

If you want to start with the desktop-live iso, I suppose you could drop to console and uninstall the desktop stuff before running the cli installer. I've never tried that, but I think it would work.

Offline

#17 2018-09-13 17:31:02

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

@fsmithred: I have installed Devuan ascii successfully with devuan-net-amd64 iso. I'm planning to install Cinnamon on ascii now. Which one should I choose for ascii Cinnamon - Consolekit or elogind? Already installed xserver-xorg-video-intel, which pulled elogind and co. While older versions of Cinnamon seems to go with consolekit.

Offline

#18 2018-09-13 17:44:07

golinux
Administrator
Registered: 2016-11-25
Posts: 1,217  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

Online

#19 2018-09-14 02:30:59

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

The release notes says lightdm+elogind for Cinnamon. While, Cinnamon package will pull consolekit for installation (haven't installed Cinnamon yet).

Also, is it OK to pull only Cinnamon-session, Cinnamon-settings-daemon, cinnamon-control-centre instead of choosing Cinnamon or Cinnamon-desktop-environment which seems to pull almost 70% of Gnome 3.

Offline

#20 2018-09-14 03:11:14

fsmithred
Administrator
Registered: 2016-11-25
Posts: 847  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I think if you have elogind and libpam-elogind installed first, nothing will pull in consolekit. And you should be safe pulling in parts of cinnamon to get only what you want. That's a common way to have a leaner desktop, regardless of which DE you're using.

Offline

#21 2018-09-14 03:36:26

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

fsmithred wrote:

I think if you have elogind and libpam-elogind installed first, nothing will pull in consolekit. And you should be safe pulling in parts of cinnamon to get only what you want. That's a common way to have a leaner desktop, regardless of which DE you're using.

I have elogind and libpam-elogind already installed, when I pulled xserver-xorg-video-intel. But, Cinnamon wants consolekit installed:
apt install cinnamon-session cinnamon-control-center cinnamon-settings-daemon cinnamon-screensaver
Recommended packages:
  libpam-ck-connector iio-sensor-proxy dbus-user-session
The following NEW packages will be installed:
  accountsservice acl adwaita-icon-theme apache2-bin apg aspell aspell-en at-spi2-core avahi-daemon bind9-host bluez bluez-obexd ca-certificates cheese-common
  cinnamon-control-center cinnamon-control-center-data cinnamon-desktop-data cinnamon-screensaver cinnamon-screensaver-x-plugin cinnamon-session cinnamon-session-common
  cinnamon-settings-daemon colord colord-data consolekit libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0 cracklib-runtime crda cups-pk-helper dbus-x11 dconf-gsettings-backend dconf-service desktop-file-utils 

https://pastebin.com/NJx0DZu9

I will go forward installing Cinnamon and later, purge consolekit. Past experience with beowulf, polkit+elogind related packages are manually needed to be installed.

Last edited by Debuser2018 (2018-09-14 03:46:35)

Offline

#22 2018-09-14 10:33:11

fsmithred
Administrator
Registered: 2016-11-25
Posts: 847  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

It looks like libpam-ck-connector is what's pulling in consolekit. But it's only a recommended package, not a dependency. Try installing the cinnamon packages without recommends, and you should be able to do it without consolekit.

Offline

#23 2018-09-14 19:05:05

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I have to use "cinnamon" package to get lightdm to start cinnamon. cinnamon package completely installs network-manager, network-manager-gnome, libnm0 among other things. I removed these later and installed wicd.

Still, I have no clue, lightdm is missing shutdown, restart buttons. I have elogind and related dependencies including polkit packages installed.

Offline

#24 2018-09-14 22:42:49

fsmithred
Administrator
Registered: 2016-11-25
Posts: 847  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I tried it again, this time pulling cinnamon from ascii. It seems lightdm wants consolekit, but there's a way around it. And you're right - the power buttons in lightdm don't work, but shutdown/reboot/logout all work from the desktop. I did not install the cinnamon metapackage. I installed what you showed and then had to add cinnamon-core. Something may be missing. It all works when you choose cinnamon from the tasksel window in the installer. Maybe looking at the list produced by aptitude -s install task-cinnamon-desktop would provide the answer. (I'm looking at it now, it's long, and I don't see anything related to consolekit, policykit or elogind.)

Anyway, here's what I did.

# apt-get --no-install-recommends install elogind libpam-elogind
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libelogind0
Recommended packages:
  policykit-1
The following NEW packages will be installed:
  elogind libelogind0 libpam-elogind
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
# apt-get --no-install-recommends install lightdm
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  liblightdm-gobject-1-0 libxklavier16 lightdm-gtk-greeter
Suggested packages:
  iso-codes accountsservice upower
Recommended packages:
  desktop-base gnome-themes-standard policykit-1
The following NEW packages will be installed:
  liblightdm-gobject-1-0 libxklavier16 lightdm lightdm-gtk-greeter
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
]# apt-get --no-install-recommends install libpolkit-gobject-1-0-elogind libpolkit-backend-1-0-elogind
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpolkit-backend-elogind-1-0 libpolkit-gobject-1-0
  libpolkit-gobject-elogind-1-0
The following NEW packages will be installed:
  libpolkit-backend-1-0-elogind libpolkit-backend-elogind-1-0
  libpolkit-gobject-1-0 libpolkit-gobject-1-0-elogind
  libpolkit-gobject-elogind-1-0
0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
# apt-get --no-install-recommends install cinnamon-session cinnamon-control-center cinnamon-settings-daemon
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  accountsservice apg cinnamon-control-center-data cinnamon-desktop-data
  cinnamon-session-common dbus-x11 gir1.2-cvc-1.0 iso-codes
  libaccountsservice0 libcinnamon-control-center1 libcinnamon-desktop4
  libcinnamon-menu-3-0 libcvc0 libgnomekbd-common libgnomekbd8
  libimobiledevice6 libmm-glib0 libnm-glib-vpn1 libnm-glib4 libnm-gtk0
  libnm-util2 libplist3 libpulse-mainloop-glib0 libupower-glib1
  libupower-glib3 libusbmuxd4 upower
Suggested packages:
  gnome-control-center gstreamer1.0-pulseaudio libcanberra-gtk-module
  cinnamon-screensaver isoquery libusbmuxd-tools
Recommended packages:
  libcanberra-pulse mesa-utils mousetweaks policykit-1-gnome pulseaudio hwdata
  usbmuxd modemmanager policykit-1
The following NEW packages will be installed:
  accountsservice apg cinnamon-control-center cinnamon-control-center-data
  cinnamon-desktop-data cinnamon-session cinnamon-session-common
  cinnamon-settings-daemon dbus-x11 gir1.2-cvc-1.0 iso-codes
  libaccountsservice0 libcinnamon-control-center1 libcinnamon-desktop4
  libcinnamon-menu-3-0 libcvc0 libgnomekbd-common libgnomekbd8
  libimobiledevice6 libmm-glib0 libnm-glib-vpn1 libnm-glib4 libnm-gtk0
  libnm-util2 libplist3 libpulse-mainloop-glib0 libupower-glib1
  libupower-glib3 libusbmuxd4 upower
0 upgraded, 30 newly installed, 0 to remove and 5 not upgraded.

I could log in, but that wasn't enough to get to the desktop, so I installed cinnamon-core. A lot more got installed here than what I'm showing, but no consolekit. I can now get to the desktop, and it seems to be working.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  at-spi2-core caribou cinnamon cinnamon-common cinnamon-screensaver cjs
  cups-pk-helper darkpurpy-icon-theme desktop-base dh-python dmz-cursor-theme
  gawk gir1.2-accountsservice-1.0 gir1.2-atspi-2.0 gir1.2-caribou-1.0
  gir1.2-cinnamondesktop-3.0 gir1.2-clutter-1.0 gir1.2-cmenu-3.0
  gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gdesktopenums-3.0
<snip>

Offline

#25 2018-09-16 17:10:38

Debuser2018
Member
Registered: 2018-01-24
Posts: 18  

Re: [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning

I have Cinnamon desktop working fine. Removed network-manager, network-manager-gnome, gir1.2-nmgtk-1.0 from the system. Cannot remove libnm0. Wicd is taking care of networking in this desktop. Odd issue with things like usermanagement expects user root is created. I'm split whether user root is needed.

Only problem remaining is, lightdm has shutdown, restart all greyed out. I don't know if it is related to elogind or polkit packages. Seems all are installed. Currently, going through task-cinnamon-desktop dependency list. BTW, I saw the lightdm buttons grayed out is already reported in BTS? 3 years old issue, still persisting. (I haven't fully read below bug details).
https://git.devuan.org/devuan-packages/lightdm/issues/2

I remember, last time with task-cinnamon-desktop installed too, lightdm missed the shutdown/restart menus. Even SDDM also missing menus. I'm not technical. But, there should be some org.freedesktop.x for managing shutdown options somewhere in /usr/share/polkit* or in /usr/share/dbus* that is working fine for cinnamon desktop to use shutdown, restart options?

Last edited by Debuser2018 (2018-09-18 04:14:13)

Offline

Board footer