Bon je cherche mais je ne trouve toujours rien pour pouvoir lancer les applications graphique quand on les lances avec un autre utilisateur.
Donc :
su - nomautreutilisateur (ou root)
[nomautreutilisateur@xxxx ~]$ kwrite
qt.qpa.xcb: could not connect to display :1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Abandon (core dumped)
[nomautreutilisateur@xxxx ~]$
Il semble attendre un autre plugin, mais je ne trouve pas comment le lui passer.
Si vous aviez une idée je suis preneur.
C'est pas insurmontable, mais un peu pénible.