I am trying to use gedit
to see a file inside a mini-pc I connected through ssh
but it get:
(gedit:3864): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. 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
(gedit:3864): Gtk-WARNING **: cannot open display:
Is there a way to see the file contents inside gedit
in host computer?
cat file-name
. ( And you can edit a text file with e.g. sed or awk commands.) – Knud Larsen May 12 '18 at 12:51