You are not logged in.
Pages: 1
I'm having a problem with gparted, everytime I run it by
sudo gpartedI get this
No protocol specified
(gpartedbin:5407): Gtk-WARNING **: cannot open display: :0When I run it by su I get the same error. When I run it outside of the terminal I get a window asking for my password. I type my password and gparted loads and then it just closes.
Does anyone know how to fix this?
Offline
Offline
Does it work if you run gksu instead of sudo?
Offline
Thank you!! It worked with
kdesu gpartedOffline
Please mark your thread [SOLVED].
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
skunktrader wrote:Thank you!! It worked with
kdesu gparted
If you want to run kdesu with the sudo backend instead of su (practically your user password instead of root's) edit/create ~/.kde4/share/config/kdesurc and put in
[super-user-command]
super-user-command=sudoRauchen verboten
Offline
# sudo gparted^ Works fine here.
Here's my sudoers file:
Defaults editor=/usr/bin/nano
root ALL=(ALL) ALL
dspider ALL=(ALL) ALL
dspider ALL=NOPASSWD: /bin/mount, /bin/umount
dspider arch=NOPASSWD: /sbin/reboot, /sbin/poweroff, /usr/bin/pacman -SyuI have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Pages: 1