??
Code:
root@scott-MS-7596:/home/scott# sudo -H gedit
No protocol specified
Unable to init server: Could not connect: Connection refused
(gedit:5268): Gtk-WARNING **: cannot open display: :0
root@scott-MS-7596:/home/scott# sudo -H gedit /etc/fstab
No protocol specified
Unable to init server: Could not connect: Connection refused
(gedit:5273): Gtk-WARNING **: cannot open display: :0
root@scott-MS-7596:/home/scott# sudo -H
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-T timeout] [-u user] file ...
root@scott-MS-7596:/home/scott#
Code:
root@scott-MS-7596:/home/scott# sudo -H gparted
Created symlink /run/systemd/system/-.mount → /dev/null.
Created symlink /run/systemd/system/home.mount → /dev/null.
Created symlink /run/systemd/system/run-user-0.mount → /dev/null.
Created symlink /run/systemd/system/run-user-1000.mount → /dev/null.
Created symlink /run/systemd/system/run-user-121.mount → /dev/null.
Created symlink /run/systemd/system/tmp.mount → /dev/null.
No protocol specified
(gpartedbin:5386): Gtk-WARNING **: cannot open display: :0
Removed /run/systemd/system/-.mount.
Removed /run/systemd/system/home.mount.
Removed /run/systemd/system/run-user-0.mount.
Removed /run/systemd/system/run-user-1000.mount.
Removed /run/systemd/system/run-user-121.mount.
Removed /run/systemd/system/tmp.mount.
root@scott-MS-7596:/home/scott#
Bookmarks