gedit on telnet

Asked by Mário Poeta on 2012-02-01

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:
2012-02-01
Last reply:
2012-02-01
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.