Bug 3714 - sudo kwrite don't work
: sudo kwrite don't work
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2014-01-30 18:40 MSK by Vladimir Potapov
Modified: 2014-10-09 10:02 MSD (History)
2 users (show)

See Also:
RPM Package:
Bad POT generating:

kwrite for root (4.03 KB, application/x-desktop)
2014-01-30 20:14 MSK, Vladimir Potapov

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Potapov 2014-01-30 18:40:31 MSK
$ sudo kwrite
[sudo] password for keleg: 
No protocol specified
kwrite: cannot connect to X server :0
Comment 1 Vladimir Potapov 2014-01-30 20:14:41 MSK
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
Comment 2 FirstLevel 2014-10-08 16:44:47 MSD
Case is actual for 2014.1
Comment 3 Denis Silakov 2014-10-08 23:33:46 MSD
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).
Comment 4 Vladimir Potapov 2014-10-09 10:02:34 MSD
In last versions this case not actual (GUI kwrite (root) exist)