- Posts: 237
- Thank you received: 0
Debian 10 - LCNC2.9 : Cannot edit file as root
5 years 6 months ago #206304
by rider-83
Debian 10 - LCNC2.9 : Cannot edit file as root was created 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 ?
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 ?
Please Log in to join the conversation.
- robertspark
- Offline
- Platinum Member
-
Less
More
- Posts: 913
- Thank you received: 0
5 years 6 months ago #206320
by robertspark
?
then open the file to edit and your file editor will be su authentication level
Replied by robertspark on topic Debian 10 - LCNC2.9 : Cannot edit file as root
Code:
sudo geany
Code:
sudo thunar
Please Log in to join the conversation.
5 years 6 months ago #206323
by Grotius
Replied by Grotius on topic Debian 10 - LCNC2.9 : Cannot edit file as root
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.
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.
Please Log in to join the conversation.
Time to create page: 0.080 seconds
