Discussion Locked

Export GUI in the telnet session

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is it possible to export the GUI in the telnet sesion in linux ?
Since i found that it is possible to be done at Windows 2000

9 replies

by tdw

It is possible but to which o.s. are you exporting?

For Win9x/NT you have to have an X-server running on it to be able to view things. For Linux or *NIX systems you also need the xserver for you videocard but things are easier there... mostly youalready have an X-server. The environment variable your looking for in both cases is:

export DISPLAY=ip.adress.where.to:0.0

More info on:

http://www.linuxdoc.org/HOWTO/mini/Remote-X-Apps.html

Good luck..

by clifton_hairston

Another way to bring up a session which is basically the same as the first answer that was given to you is to get a piece of software called VNC at http://www.cam-orl.co.uk/vnc/index.html . This to be really basic is an Xhost and client to enable remote control over computers in heterogenous environments. You'll run the VNC server on the host computer that you want to access remotely then run the vnc client to hook up to it using the same syntax as you would if you were exporting an x session to another system, your.ip.address.here:0 where :0 is the display number you are trying to connect to. This does work both ways, you can remote control Windows boxen under Linux, MacIntosh, OS/2, anything that the VNC client will run under, including your web browser.

Cliff

by kotuday

Yong,
As the above two answers speak it is possible to run the telnet session on a remote machine but one thing both forgot to mention is that the remoter X-server must accept the connection. For that to happen you will need to include the host ipaddress in the xhosts by running

$xhost +
If you want to accept sessions from any ip then just leave the ipaddress blank .

After that set the DISPLAY variable on the host to point to the session on your remoter terminal .

Eg.
$DISPLAY=192.168.36.53:0.0

That should do it.

uday

by steve_alston

I agree with the above answers ...
But I have to point out that xhost + is unsecure
read up on xauth as an alternative if security is a concern.

This discussion is closed to new replies.