SUMMARY *** Starting kwrite in root mode with 'kdesu -c kwrite' the process stops without any messages. This function is used when dolphin is started in root mode with 'xdg-su -c dolphin' and a text file should be opened with kwrite. *** STEPS TO REPRODUCE 1. Install kwrite with YaST 2. Run: 'kdesu -c kwrite' 3. Launch dolphin in root mode, open a text file with kwrite OBSERVED RESULT The password is asked in a GUI, then the process stops. EXPECTED RESULT The editor kwrite should open as system admin. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Leap 15.4 (available in About System) KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: ADDITIONAL INFORMATION The problem was not before Leap 15.4 kdesu -c kate the password is asked in a GUI, then the editor appears su -c kwrite the password is asked on the command line, then the editor appears
Starting dolphin as root is strongly discouraged. KWrite supports starting as the normal user and then elevating its privileges to edit files with different owners