Debian 10 - LCNC2.9 : Cannot edit file as root

More
18 Apr 2021 12:58 - 18 Apr 2021 12:59 #206304 by rider-83
Since I upgraded to Debian 10 (Buster) and LinuxCNC 2.9 I haven't been able to open any text editor whilst as Root (Sudo su -) via Terminal.
I can open Mousepad or Geany from the Accessory menu, but as soon as I go through Terminal I have errors refaring to GTK.
What's happened here? How are we supposed to edit files via Root ?
Last edit: 18 Apr 2021 12:59 by rider-83.

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 18:49 #206320 by robertspark
sudo geany
?
sudo thunar
then open the file to edit and your file editor will be su authentication level

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 19:26 - 18 Apr 2021 19:26 #206323 by Grotius
Hi,

Maybe "sudo apt-get reinstall sudo"
Or "sudo adduser user" for testing. Check : "sudo adduser root"
Or "sudo passwd" or "sudo passwd root"
If nothing works..

We can edit a systemd service.
Last edit: 18 Apr 2021 19:26 by Grotius.

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum