ROSA Linux Bugzilla – Bug 3714
sudo kwrite don't work
Last modified: 2014-10-09 10:02:34 MSD
$ sudo kwrite
[sudo] password for keleg:
No protocol specified
kwrite: cannot connect to X server :0
Created attachment 2612 [details]
kwrite for root
For easy edit config files from root I create the file.
Add it to /usr/share/applications/kde4/ and new command show in context menu and main menu
Case is actual for 2014.1
sudo is not intended to launch GUI applications that need to connect to X server. You can use kdesu, or "su -" to switch to root and then launch GUI applications ("-" must be used to preserve all necessary environment settings).
In last versions this case not actual (GUI kwrite (root) exist)