gedit on telnet

Asked by Mário Poeta

hello,
I am using telnet , and i wanna make gedit comand to a file which is in the other computer and then appear Gtk-WARNING **: cannot open display:.
This errror appear when i am using zenity or dialog too.
And i wanna make that without using a SU or root, is that possible?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gedit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wyatt Smith (wyatt-smith) said :
#1

To run graphical programs.....

I suggest using ssh with x forwarding, rather that telnet.
The command with x forwarding would look something like.

ssh user@ipaddresss -X

If you must use telnet, things get a little more complicated, as you will need set the DISPLAY environment variable to redirect x from the server to you client

Hope this helps,
Wyatt

Can you help with this problem?

Provide an answer of your own, or ask Mário Poeta for more information if necessary.

To post a message you must log in.