The officially official Devuan Forum!

You are not logged in.

#101 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-17 05:59:03

@fsmithred: I installed lxdm (without recommended) and it worked. poweroff and restart buttons are working. I had already purged lightdm. Thanks for the tip. But, I wonder if lightdm pulled from testing will work or not with ascii.

#102 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-16 17:10:38

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?

#103 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-14 19:05:05

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.

#104 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-14 03:36:26

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.

#105 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-14 02:30:59

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.

#106 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-13 17:31:02

@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.

#107 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-12 12:41:39

@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?

#108 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-10 04:23:48

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.

#109 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-10 04:13:17

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

#110 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-09 17:59:13

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.

#111 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-09 17:32:06

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

#113 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-05 17:44:35

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)

#114 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-05 08:21:07

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.

#115 Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-04 07:54:21

Debuser2018
Replies: 41

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

Board footer

Forum Software