KDE5 startx errors if nonUTF8
by jrfr from LinuxQuestions.org on (#5DMGY)
As i had some problems with KDE5, i did a linux full
installation from scratch using current.iso
After the boot I set LANG=fr_FR@euro and startx as root :
all things are OK.
But if I startx as a user, I get a lot of errors :
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 30 09:32:14 2021
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
kdeinit5: preparing to launch '/usr/lib64/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 2397, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/test/.gtkrc:/home/test/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/test/.gtkrc-2.0:/home/test/.config/gtkrc-2.0' from launcher.
org.kde.plasma.session: process job "kcminit_startup" finished with exit code 0
Installing the delayed initialization callback.
QSvgPaintEngine::begin(), could not open output device: 'Permission denied'
QPainter::begin(): Returned false
QPainter::save: Painter not active
......
I have executed fcitx-diagnose and added as indicated three
lines in /etc/profile :
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
It was a homeopathic modification except for fcitx-diagnose.
I took root parameters and did modifications for a user acount.
Then I could startx without errors !
It is a very naughty solution but it works.
I have seen on internet, users had in the past this kind of
QT problem using other Linux distributions and corrections
were applied.
Thanks for any information.


installation from scratch using current.iso
After the boot I set LANG=fr_FR@euro and startx as root :
all things are OK.
But if I startx as a user, I get a lot of errors :
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 30 09:32:14 2021
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
kdeinit5: preparing to launch '/usr/lib64/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 2397, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/test/.gtkrc:/home/test/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/test/.gtkrc-2.0:/home/test/.config/gtkrc-2.0' from launcher.
org.kde.plasma.session: process job "kcminit_startup" finished with exit code 0
Installing the delayed initialization callback.
QSvgPaintEngine::begin(), could not open output device: 'Permission denied'
QPainter::begin(): Returned false
QPainter::save: Painter not active
......
I have executed fcitx-diagnose and added as indicated three
lines in /etc/profile :
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
It was a homeopathic modification except for fcitx-diagnose.
I took root parameters and did modifications for a user acount.
Then I could startx without errors !
It is a very naughty solution but it works.
I have seen on internet, users had in the past this kind of
QT problem using other Linux distributions and corrections
were applied.
Thanks for any information.