You are not logged in.

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

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

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: 21,425

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: 29

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: 21,425

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: 29

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: 29,444
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

Offline

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

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

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: 29

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: 886

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: 29

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: 3

Re: Plank doesn't start after systemd upgrade

Same here. Downgrading helped.

Offline

#12 2019-01-18 21:58:57

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

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 (2019-01-18 21:59:36)

Offline

#13 2019-01-20 15:26:02

carrioncrow
Member
Registered: 2019-01-20
Posts: 2

Re: Plank doesn't start after systemd upgrade

qlem wrote:

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.

Thank you. Added export XDG_SESSION_TYPE='X11' before exec startxfce4 did the trick for me with systemd-240.34-3.
I've tried to downgrade systemd before that but crashed my OS hmm I had to rescue it in chroot with a live usb.

Offline

#14 2019-01-20 17:03:31

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

Re: Plank doesn't start after systemd upgrade

carrioncrow wrote:

I've tried to downgrade systemd before that but crashed my OS hmm

So systemd is behaving exactly like a computer virus, why I am not surprised? Just wait until it gains sentience and turns into Skynet! smile

Meanwhile I have switched from KDE/X11 to Gnome/Wayland for now. Maybe systemd 240 with its X11-breaking ways is a ruse by the Wayland devs to drive adoption... wink

Offline

#15 2019-01-20 17:11:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Plank doesn't start after systemd upgrade

Morn wrote:
carrioncrow wrote:

I've tried to downgrade systemd before that but crashed my OS hmm

So systemd is behaving exactly like a computer virus, why I am not surprised?

No, it's a simple case of partial updates not being supported. It's Arch doing this, and it's intentional.

Offline

#16 2019-01-22 10:53:26

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

Re: Plank doesn't start after systemd upgrade

Scimmia wrote:

No, it's a simple case of partial updates not being supported. It's Arch doing this, and it's intentional.

My revert to systemd 239 worked without problems (including plank), so I do not think this is intentional. But now I'm back on 240 and giving the GNOME dock a try.

GNOME even includes an extension for a window switcher bar at the bottom of the screen, so usability is not too bad compared to KDE. They also copied Night Shift from Apple, so goodbye Redshift. Yay GNOME and its Apple inspiration! smile

Offline

#17 2019-01-22 16:11:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Plank doesn't start after systemd upgrade

Morn wrote:
Scimmia wrote:

No, it's a simple case of partial updates not being supported. It's Arch doing this, and it's intentional.

My revert to systemd 239 worked without problems (including plank), so I do not think this is intentional.

You're wrong. Old systemd packages are linked to the old libidn2 library, and downgrades of an otherwise updated system WILL leave the system unbootable, and that's normal.

Offline

#18 2019-01-22 16:22:58

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

Re: Plank doesn't start after systemd upgrade

Scimmia wrote:

You're wrong. Old systemd packages are linked to the old libidn2 library, and downgrades of an otherwise updated system WILL leave the system unbootable, and that's normal.

I downgraded from 240.0-3 to 239.370 on 2019-01-11 and it worked, including Plank.

The libidn2 update happened 4 days later for me, probably when I decided to upgrade to 240 again, to 240.34-3 to be precise.

So I'm not wrong, I was just very fast with my up- and downgrades. Typically I downgrade immediately when a new package version breaks things.

Offline

#19 2019-01-22 16:44:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Plank doesn't start after systemd upgrade

And  you were responding to a post from 2 days ago with an ignorant shot at systemd, when systemd had nothing to do with it. So yes, you were wrong on all counts.

Offline

#20 2019-01-22 16:51:51

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Plank doesn't start after systemd upgrade

qlem has already posted a workaround to their problem, and a full solution is unlikely to be reached without discussing this upstream, so I'm going to go ahead and close this topic before it gets derailed further.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB