Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma 5: Hibernate, Shutdown and Restart missing SOLVED
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dmal3dm
n00b
n00b


Joined: 05 Oct 2021
Posts: 5

PostPosted: Tue Oct 05, 2021 6:41 am    Post subject: Plasma 5: Hibernate, Shutdown and Restart missing SOLVED Reply with quote

Plasma 5. Missing shutdown, reboot, suspend, hibernate buttons when using OpenRC

Screenshot - https://ibb.co/CJdVbGV


Last edited by dmal3dm on Tue Oct 05, 2021 8:32 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Oct 05, 2021 7:26 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/KDE#Prerequisites
Back to top
View user's profile Send private message
dmal3dm
n00b
n00b


Joined: 05 Oct 2021
Posts: 5

PostPosted: Tue Oct 05, 2021 7:37 am    Post subject: Reply with quote

asturm wrote:
https://wiki.gentoo.org/wiki/KDE#Prerequisites


Not help, problem is not solved for this article
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Oct 05, 2021 7:46 am    Post subject: Reply with quote

You will need to start provide minimum bits of information about your system to receive help. `emerge --info` for a start, `rc-update show`, `loginctl`. How did you emerge Plasma? How do you start Plasma?
Back to top
View user's profile Send private message
dmal3dm
n00b
n00b


Joined: 05 Oct 2021
Posts: 5

PostPosted: Tue Oct 05, 2021 8:00 am    Post subject: Reply with quote

asturm wrote:
You will need to start provide minimum bits of information about your system to receive help. `emerge --info` for a start, `rc-update show`, `loginctl`. How did you emerge Plasma? How do you start Plasma?


emerge --info


Code:
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.61-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.61-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8700K_CPU_@_3.70GHz-with-glibc2.33
KiB Mem:    16363636 total,  12102360 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Mon, 04 Oct 2021 10:30:01 +0000
Head commit of repository gentoo: 9f9142cc7d66fd0b1d1b420723c08519a2c89247
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.6_p2::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j9 --load-average=9"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe"
GENTOO_MIRRORS="https://gentoo-mirror.alexxy.name/ http://gentoo-mirror.alexxy.name/ http://gentoo.bloodhost.ru/ ftp://gentoo.bloodhost.ru/ rsync://gentoo.bloodhost.ru/gentoo-distfiles https://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2019" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="ru ru_RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS




rc-update


Code:
               binfmt | boot                                   
             bootmisc | boot                                   
              cgroups |                                 sysinit
          consolefont | boot                                   
                 dbus |      default                           
                dcron |      default                           
                devfs |                                 sysinit
               dhcpcd |      default                           
      display-manager |      default                           
                dmesg |                                 sysinit
                 fsck | boot                                   
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
              modules | boot                                   
             mount-ro |                        shutdown       
                 mtab | boot                                   
             netmount |      default                           
               procfs | boot                                   
                 root | boot                                   
         save-keymaps | boot                                   
    save-termencoding | boot                                   
            savecache |                        shutdown       
                 sshd |      default                           
        stmpfiles-dev |                                 sysinit
      stmpfiles-setup | boot                                   
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
             sysklogd |      default                           
            syslog-ng |      default                           
         termencoding | boot                                   
                 udev | boot                            sysinit
         udev-trigger |                                 sysinit
              urandom | boot                                   
         vmware-tools |      default                           



loginctl - empty

plasma

Code:
emerge --ask kde-plasma/plasma-meta
emerge --ask x11-misc/sddm
emerge --ask kde-apps/kdeadmin-meta
emerge --ask kde-apps/kde-apps-meta
emerge --ask kde-apps/kdecore-meta
emerge --ask kde-apps/kdeutils-meta
emerge --ask pulseaudio
emerge --ask plasma-pa


Plasma start - sddm
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Tue Oct 05, 2021 8:15 am    Post subject: Reply with quote

check if polkit is running
Code:
 ~ $ ps -aux | grep -i polkit
polkitd   2940  0.0  0.0 231532  4408 ?        Sl   Oct01   0:00 /usr/lib/polkit-1/polkitd --no-debug
alister   2995  0.0  0.2 344556 42052 ?        Sl   10:08   0:00 /usr/lib64/libexec/polkit-kde-authentication-agent-1
Back to top
View user's profile Send private message
dmal3dm
n00b
n00b


Joined: 05 Oct 2021
Posts: 5

PostPosted: Tue Oct 05, 2021 8:24 am    Post subject: Reply with quote

Perfect Gentleman wrote:
check if polkit is running
Code:
 ~ $ ps -aux | grep -i polkit
polkitd   2940  0.0  0.0 231532  4408 ?        Sl   Oct01   0:00 /usr/lib/polkit-1/polkitd --no-debug
alister   2995  0.0  0.2 344556 42052 ?        Sl   10:08   0:00 /usr/lib64/libexec/polkit-kde-authentication-agent-1



Code:
gentoo ~ # ps -aux | grep -i polkit
root      76665  0.0  0.0   7836  2260 pts/0    S+   11:22   0:00 grep --colour=auto -i polkit
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Tue Oct 05, 2021 8:26 am    Post subject: Reply with quote

so, polkit is not running. that's why you have what you have.
install elogind.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Oct 05, 2021 8:28 am    Post subject: Reply with quote

That's why I linked the KDE wiki above - here's how to configure elogind, part of prerequisites: https://wiki.gentoo.org/wiki/Elogind#Service

dmal3dm wrote:
Code:
emerge --ask pulseaudio
emerge --ask plasma-pa

If you want pulseaudio, you should set the flag globally. Then both the library as well as plasma-pa would have already been pulled in by plasma-meta.
Back to top
View user's profile Send private message
dmal3dm
n00b
n00b


Joined: 05 Oct 2021
Posts: 5

PostPosted: Tue Oct 05, 2021 8:32 am    Post subject: Reply with quote

asturm wrote:
That's why I linked the KDE wiki above - here's how to configure elogind, part of prerequisites: https://wiki.gentoo.org/wiki/Elogind#Service

dmal3dm wrote:
Code:
emerge --ask pulseaudio
emerge --ask plasma-pa

If you want pulseaudio, you should set the flag globally. Then both the library as well as plasma-pa would have already been pulled in by plasma-meta.



Thanks, problem solved - rc-update add elogind boot


https://ibb.co/LZ3r38H
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum