1

I am new to Linux, but I was under the impression that you can use GUI to edit text files I mean that is why GUI exists. I opened xrdp.ini and tried to edit it with Mousepad. When I try to save it I get Failed to save document. Permission denied.. I already used this method (How do I grant sudo privileges to an existing user?) to assign myself sudo permissions but I still can't edit this text file using GUI.

1 Answers1

1

If you want to edit configuration files which require root privileges, you have to open application with root privileges. I opened Mousepad with root privileges by typing in terminal:

gksudo mousepad
Melebius
  • 11,431
  • 9
  • 52
  • 78
  • gksudo is being removed from Ubuntu because Wayland has no close counterpart. For workarounds, see pkexec recipe and [opening `admin:///etc/...' in apps using gvfs](https://askubuntu.com/a/999913/232993). – Damian Yerrick Apr 15 '20 at 21:55