0

When I try to open gedit on my localhost using sudo, I am getting the following error. But I am able to open with out root(sudo).

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Mahesh Kumar
  • 21
  • 1
  • 4
  • Before "fixing" that please see [Why should users never use normal sudo to start graphical applications?](https://askubuntu.com/questions/270006/why-should-users-never-use-normal-sudo-to-start-graphical-applications) – steeldriver Oct 09 '17 at 13:19
  • Thanks for the help! You have indeed provided a great resource over this issue :) – Mahesh Kumar Oct 09 '17 at 13:35

0 Answers0