You are not logged in.

#1 2019-01-10 11:56:07

qlem
Member
Registered: 2017-05-09
Posts: 18

Plank doesn't start after systemd upgrade

Hi,

After the last pacman upgrade, plank doesn't start:

[INFO 11:48:30.374368] [AbstractMain:229] Plank version: 0.11.4
[INFO 11:48:30.374398] [AbstractMain:230] Kernel version: 4.20.0-arch1-1-ARCH
[INFO 11:48:30.374417] [AbstractMain:231] GLib version: 2.58.2 (2.58.1)
[INFO 11:48:30.374435] [AbstractMain:234] GTK+ version: 3.24.2 (3.24.1)
[INFO 11:48:30.374453] [AbstractMain:237] Wnck version: 3.30.0
[INFO 11:48:30.374474] [AbstractMain:238] Cairo version: 1.16.0
[INFO 11:48:30.374492] [AbstractMain:239] Pango version: 1.42.3
[INFO 11:48:30.374509] [AbstractMain:241] + Cairo/Gtk+ HiDPI support enabled
[INFO 11:48:30.374526] [AbstractMain:247] + XInput Barriers support enabled
[CRITICAL 11:48:30.374562] [AbstractMain:257] Only X11 environments are supported.

I use Xorg and xfce desktop. I haven't wayland installed.

Last edited by qlem (2019-01-11 19:44:06)

Offline

#2 2019-01-10 12:07:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,899

Re: Plank doesn't start after systemd upgrade

How are you starting xfce? If using startx, ensure your .xinitrc conforms to the following conditions: https://wiki.archlinux.org/index.php/Xinit#xinitrc

Offline

#3 2019-01-10 12:15:30

qlem
Member
Registered: 2017-05-09
Posts: 18

Re: Plank doesn't start after systemd upgrade

Yes i followed the wiki for launch xfce with .xinitrc. No problem here.

Offline

#4 2019-01-10 12:40:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,899

Re: Plank doesn't start after systemd upgrade

Output of

printenv | grep DBUS
loginctl session-status

Please also post the .xinitrc verbatim.

Offline

#5 2019-01-10 14:02:00

qlem
Member
Registered: 2017-05-09
Posts: 18

Re: Plank doesn't start after systemd upgrade

$> printenv | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
TERMINATOR_DBUS_NAME=net.tenshu.Terminator20x1a6021154d881c
TERMINATOR_DBUS_PATH=/net/tenshu/Terminator2
$> loginctl session-status
1 - qlem (1000)
           Since: Thu 2019-01-10 11:36:58 GMT; 2h 16min ago
          Leader: 495 (login)
            Seat: seat0; vc1
             TTY: tty1
         Service: login; type tty; class user
           State: active
            Unit: session-1.scope
                  ├─ 495 login -- qlem
                  ├─ 573 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─ 576 /bin/sh /usr/bin/startx -- -keeptty
                  ├─ 606 xinit /home/qlem/.xinitrc -- /usr/bin/X :0 -keeptty vt1 -keeptty -auth /tmp/serverauth.FZnwzXdDYE
                  ├─ 607 /usr/lib/Xorg :0 -keeptty vt1 -keeptty -auth /tmp/serverauth.FZnwzXdDYE
                  ├─ 612 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
                  ├─ 630 xfce4-session
                  ├─ 639 xfwm4
                  ├─ 643 xfce4-panel
                  ├─ 645 Thunar --daemon
                  ├─ 647 xfdesktop
                  ├─ 648 python3 /usr/bin/redshift-gtk
                  ├─ 650 usr/share/jetbrains-toolbox/jetbrains-toolbox --minimize
                  ├─ 655 xfsettingsd
                  ├─ 657 /usr/lib/geoclue-2.0/demos/agent
                  ├─ 664 nm-applet
                  ├─ 669 /home/qlem/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
                  ├─ 675 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
                  ├─ 689 xfce4-power-manager
                  ├─ 733 compton --config /home/qlem/.config/compton.conf -b
                  ├─ 745 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libwhiskermenu.so 16 8388644 whiskermenu Menu Whisker Afficher un menu pour acc der facilement aux applications install es
                  ├─ 755 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 1 8388650 pulseaudio Greffon PulseAudio Ajuster le volume du syst me audio PulseAudio
                  ├─ 760 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 8388651 systray Zone de notification Zone o  les ic nes de notification apparaissent
                  ├─ 811 /usr/bin/redshift -v
                  ├─ 837 /tmp/.mount_jetbralr88pV/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef --toolbox-server-ws=ws://127.0.0.1:43485 --toolbox-server-token=1a1f38e1a77d4008ac6ee01b98666197 --toolbox>
                  ├─ 871 /tmp/.mount_jetbralr88pV/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef-helper --type=zygote --no-sandbox --log-file=/home/qlem/.local/share/JetBrains/Toolbox/logs/cef.log --lang>
                  ├─ 884 /tmp/.mount_jetbralr88pV/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef-helper --type=gpu-process --no-sandbox --log-file=/home/qlem/.local/share/JetBrains/Toolbox/logs/cef.log ->
                  ├─ 889 /tmp/.mount_jetbralr88pV/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef-helper --type=renderer --no-sandbox --service-pipe-token=5526026804179334510 --lang=en-US --log-file=/home>
                  ├─ 916 conky -d -p 5
                  ├─ 945 /bin/bash /usr/bin/teamspeak3
                  ├─ 950 ./ts3client_linux_amd64 -platform xcb
                  ├─1003 /usr/bin/python2 /usr/bin/terminator
                  ├─1012 /usr/bin/fish
                  ├─1077 /usr/lib/firefox/firefox
                  ├─1155 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 171103 -schedulerPrefs 0001,2 -parentBuildID 20181212012434 -greomni /usr/lib/firefox/omni.ja -ap>
                  ├─1225 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 175 -prefMapSize 171103 -schedulerPrefs 0001,2 -parentBuildID 20181212012434 -greomni /usr/lib/firefox/omni.ja ->
                  ├─1562 /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 6723 -prefMapSize 171103 -schedulerPrefs 0001,2 -parentBuildID 20181212012434 -greomni /usr/lib/firefox/omni.ja >
                  ├─3192 loginctl session-status
                  └─3193 less

janv. 10 11:37:00 lenovo pkexec[865]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
janv. 10 11:37:00 lenovo pkexec[865]: qlem: Executing command [USER=root] [TTY=unknown] [CWD=/] [COMMAND=/usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0]
janv. 10 11:37:26 lenovo gnome-keyring-daemon[573]: no private keys found in file
janv. 10 11:37:26 lenovo gnome-keyring-daemon[573]: invalid or unrecognized private SSH key: qlem@archlinux

My .xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
# exec xterm -geometry 80x66+0+0 -name login

# start gnome keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK

# start xfce4
exec startxfce4

Offline

#6 2019-01-11 15:19:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 20,772
Website

Re: Plank doesn't start after systemd upgrade

Probably not relevant to why plank is failing, but your xinitrc is running two competing window managers.  Either that or the twm command is just failing if it isn't installed.

Last edited by Trilby (2019-01-11 16:10:47)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2019-01-11 15:31:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,899

Re: Plank doesn't start after systemd upgrade

For some reason your loginctl session doesn't properly change to an X11 session despite the xinitrc includes happening, likely a regression in systemd 240 though I'm not sure yet whether this is something to fix there or an issue in how startxfce4 sets up it's session. FWIW a

sudo journalctl -b

after session start might provide some clues

Last edited by V1del (2019-01-11 15:31:52)

Offline

#8 2019-01-11 16:19:40

qlem
Member
Registered: 2017-05-09
Posts: 18

Re: Plank doesn't start after systemd upgrade

@Trilby
Yes i have not installed twm. I commented also these commands in my xinitrc to avoid misunderstanding.

@V1del
I downgraded systemd and libsystemd (240.0-3 to 239.370-1) packages via pacman. Plank running as expected.

$> loginctl session-status
1 - qlem (1000)
           Since: Fri 2019-01-11 16:02:20 GMT; 13min ago
          Leader: 459 (login)
            Seat: seat0; vc1
             TTY: tty1
         Service: login; type tty; class user
           State: active
            Unit: session-1.scope
                  ├─ 459 login -- qlem
                  ├─ 534 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─ 537 /bin/sh /usr/bin/startx -- -keeptty
                  ├─ 567 xinit /home/qlem/.xinitrc -- /usr/bin/X :0 -keeptty vt1 -keeptty -auth /tmp/serverauth.t9MbZYSN9z
                  ├─ 568 /usr/lib/Xorg :0 -keeptty vt1 -keeptty -auth /tmp/serverauth.t9MbZYSN9z
                  ├─ 573 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
                  ├─ 587 xfce4-session
                  ├─ 596 xfwm4
                  ├─ 600 xfce4-panel
                  ├─ 602 Thunar --daemon
                  ├─ 604 xfdesktop
                  ├─ 605 python3 /usr/bin/redshift-gtk
                  ├─ 606 plank
                  ├─ 607 usr/share/jetbrains-toolbox/jetbrains-toolbox --minimize
                  ├─ 611 xfsettingsd
                  ├─ 614 /usr/lib/geoclue-2.0/demos/agent
                  ├─ 615 nm-applet
                  ├─ 621 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
                  ├─ 623 /home/qlem/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
                  ├─ 636 xfce4-power-manager
                  ├─ 659 compton --config /home/qlem/.config/compton.conf -b
                  ├─ 683 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libwhiskermenu.so 16 10485796 whiskermenu Menu Whisker Afficher un menu pour acc der facilement aux applications install es
                  ├─ 687 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 1 10485802 pulseaudio Greffon PulseAudio Ajuster le volume du syst me audio PulseAudio
                  ├─ 689 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 10485803 systray Zone de notification Zone o  les ic nes de notification apparaissent
                  ├─ 744 /usr/bin/redshift -v
                  ├─ 774 /tmp/.mount_jetbraas03DU/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef --toolbox-server-ws=ws://127.0.0.1:42045 --toolbox-server-token=c2c2e50f50e044b4b9bec1d5bd5a90ff --toolbox>
                  ├─ 874 /tmp/.mount_jetbraas03DU/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef-helper --type=zygote --no-sandbox --log-file=/home/qlem/.local/share/JetBrains/Toolbox/logs/cef.log --lang>
                  ├─ 894 /tmp/.mount_jetbraas03DU/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef-helper --type=gpu-process --no-sandbox --log-file=/home/qlem/.local/share/JetBrains/Toolbox/logs/cef.log ->
                  ├─ 914 /tmp/.mount_jetbraas03DU/usr/share/jetbrains-toolbox/CEF/jetbrains-toolbox-cef-helper --type=renderer --no-sandbox --service-pipe-token=6120412184209261889 --lang=en-US --log-file=/home>
                  ├─ 961 /usr/bin/python2 /usr/bin/terminator
                  ├─ 971 /usr/bin/fish
                  ├─ 979 conky -d -p 5
                  ├─1005 /usr/lib/firefox/firefox
                  ├─1089 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 171193 -schedulerPrefs 0001,2 -parentBuildID 20190110060648 -greomni /usr/lib/firefox/omni.ja -ap>
                  ├─1163 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 175 -prefMapSize 171193 -schedulerPrefs 0001,2 -parentBuildID 20190110060648 -greomni /usr/lib/firefox/omni.ja ->
                  ├─1254 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 5813 -prefMapSize 171193 -schedulerPrefs 0001,2 -parentBuildID 20190110060648 -greomni /usr/lib/firefox/omni.ja >
                  ├─1303 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 5813 -prefMapSize 171193 -schedulerPrefs 0001,2 -parentBuildID 20190110060648 -greomni /usr/lib/firefox/omni.ja >
                  ├─1568 loginctl session-status
                  └─1569 less

janv. 11 16:02:20 lenovo systemd[1]: Started Session 1 of user qlem.
janv. 11 16:02:20 lenovo login[459]: LOGIN ON tty1 BY qlem
janv. 11 16:02:21 lenovo gnome-keyring-daemon[534]: The SSH agent was already initialized
janv. 11 16:02:21 lenovo gnome-keyring-daemon[534]: The Secret Service was already initialized
janv. 11 16:02:21 lenovo gnome-keyring-daemon[534]: The PKCS#11 component was already initialized
janv. 11 16:02:21 lenovo pkexec[837]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
janv. 11 16:02:21 lenovo pkexec[837]: qlem: Executing command [USER=root] [TTY=unknown] [CWD=/] [COMMAND=/usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0]
janv. 11 16:02:33 lenovo sudo[995]:     qlem : TTY=pts/0 ; PWD=/home/qlem ; USER=root ; COMMAND=/usr/bin/hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0
janv. 11 16:02:33 lenovo sudo[995]: pam_unix(sudo:session): session opened for user root by (uid=0)
janv. 11 16:02:33 lenovo sudo[995]: pam_unix(sudo:session): session closed for user root

Offline

#9 2019-01-11 19:06:39

Morn
Member
Registered: 2012-09-02
Posts: 528

Re: Plank doesn't start after systemd upgrade

Mounting external hard disks from the file manager also fails with systemd 240 (some polkit-related error message), so now I have two reasons to downgrade systemd to 239.

Offline

#10 2019-01-13 20:40:23

qlem
Member
Registered: 2017-05-09
Posts: 18

Re: Plank doesn't start after systemd upgrade

Same issue with systemd 240.34-2

Offline

#11 2019-01-16 14:53:08

saddy
Member
Registered: 2019-01-11
Posts: 2

Re: Plank doesn't start after systemd upgrade

Same here. Downgrading helped.

Offline

#12 Yesterday 21:58:57

qlem
Member
Registered: 2017-05-09
Posts: 18

Re: Plank doesn't start after systemd upgrade

Meanwhile a fix, you can set the env variable XDG_SESSION_TYPE to X11 at each boot to start Plank. This way, you can upgrade systemd and your distribution.

Last edited by qlem (Yesterday 21:59:36)

Offline

Board footer

Powered by FluxBB