Hello, In the Message; Subject : Re: startkde: Could not start kdeinit5. Check your installation. Message-ID : <20221027024122.GP13841@wahoo.no-ip.org> Date & Time: Wed, 26 Oct 2022 22:41:22 -0400 [PS] == Patrick Shanahan <paka@opensuse.org> has written: [...] PS> why not just correct the problem identified by Andrei Borzenkov PS> there are two different versions of libreadline installed ??? PS> libreadline4 and libreadline7 PS> according to marc's post on 26 Oct Different versions of libreadline can essentially co-exist. Also, libreadline does not seem to affect the DISPLAY environment. Of course, if he has libreadlines he doesn't want, he should remove them. Anyway, In the Message; Subject : Re: startkde: Could not start kdeinit5. Check your installation. Message-ID : <2a0852e4-c8d7-6bbe-53e2-d37d2a6e16de@marcchamberlin.com> Date & Time: Wed, 26 Oct 2022 19:40:39 -0700 [MC] == Marc Chamberlin <marc@marcchamberlin.com> has written: [...] MN> > You can see what processes have the DISPLAY variable set by this; MN> > MN> > $ for file in /proc/[0-9]*; do grep -ao 'DISPLAY=[^[:cntrl:]]*' $file/environ 2>/dev/null && grep -ao '(.*)' $file/stat; done | sed 'N;s/\n/\t/' > DISPLAY.log 2>&1 MN> > MN> > Please show this DISPLAY.log. MC> Wow, impressive incantation! Here you go.... MC> marc@nova:~/tmp> for file in /proc/[0-9]*; do grep -ao 'DISPLAY=[^[:cntrl:]]*' MC> $file/environ 2>/dev/null && grep -ao '(.*)' $file/stat; done | sed MC> 'N;s/\n/\t/' > DISPLAY.log 2>&1 MC> marc@nova:~/tmp> ll MC> total 4 MC> -rw-r--r-- 1 marc users 593 Oct 26 19:22 DISPLAY.log MC> marc@nova:~/tmp> more DISPLAY.log MC> DISPLAY=:0 (sed) MC> DISPLAY=:0 (startplasma-x11) MC> DISPLAY=:0 (dbus-daemon) MC> DISPLAY=:0 (ibus-daemon) MC> DISPLAY=:0 (gvfsd) MC> DISPLAY=:0 (gvfsd-fuse) MC> DISPLAY=:0 (ibus-dconf) MC> DISPLAY=:0 (xmessage) MC> DISPLAY=:0 (ibus-ui-gtk3) MC> DISPLAY=:0 (ibus-extension-) MC> DISPLAY=:0 (ibus-x11) MC> DISPLAY=:0 (ibus-portal) MC> DISPLAY=:0 (at-spi-bus-laun) MC> DISPLAY=:0 (dbus-daemon) MC> DISPLAY=:0 (at-spi2-registr) MC> DISPLAY=:0 (xdg-desktop-por) MC> DISPLAY=:0 (ibus-engine-sim) MC> DISPLAY=:0 (xdg-document-po) MC> DISPLAY=:0 (xdg-permission-) MC> DISPLAY=:0 (dconf-service) MC> DISPLAY=:0 (xdg-desktop-por) MC> DISPLAY=:0 (pipewire) MC> DISPLAY=:0 (pipewire-media-) [...] KDE-related, in your case. That's it; DISPLAY=:0 (startplasma-x11) When I got into plasma5 desktop, I have the followings which are related with plasma5; DISPLAY=:0 (plasma_session) DISPLAY=:0 (start_kdeinit) DISPLAY=:0 (kded5) DISPLAY=:0 (kwin_x11) DISPLAY=:0 (kglobalaccel5) DISPLAY=:0 (ksmserver) DISPLAY=:0 (xsettingsd) DISPLAY=:0 (kscreen_backend) DISPLAY=:0 (kaccess) DISPLAY=:0 (org_kde_powerde) DISPLAY=:0 (plasmashell) DISPLAY=:0 (kalendarac) DISPLAY=:0 (kactivitymanage) DISPLAY=:0 (akonadi_control) DISPLAY=:0 (kmail) DISPLAY=:0 (akonadiserver) DISPLAY=:0 (akonadi_akonote) DISPLAY=:0 (akonadi_archive) DISPLAY=:0 (akonadi_birthda) DISPLAY=:0 (akonadi_contact) DISPLAY=:0 (akonadi_followu) DISPLAY=:0 (akonadi_ical_re) DISPLAY=:0 (akonadi_indexin) DISPLAY=:0 (akonadi_maildir) DISPLAY=:0 (akonadi_maildis) DISPLAY=:0 (akonadi_mailfil) DISPLAY=:0 (akonadi_mailmer) DISPLAY=:0 (akonadi_migrati) DISPLAY=:0 (akonadi_newmail) DISPLAY=:0 (akonadi_sendlat) DISPLAY=:0 (akonadi_unified) DISPLAY=:0 (kioslave5) DISPLAY=:0 (kioslave5) How about this way? As an user, 1. $ DISPLAY="${DISPLAY:-:0}"; export DISPLAY 2. $ xauth add $DISPLAY . hexkey Then, 3. echo $DISPLAY Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ " Today’s China is not the old China humiliated and bullied over 100 years ago. It is time for these people to wake up from their imperial dream." -- Hua Chunying’s Regular Press Conference on August 4, 2022 --