General discussion

Locked

Export GUI in the telnet session

By yong510 ·
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

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Export GUI in the telnet session

by tdw In reply to Export GUI in the telnet ...

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..

Collapse -

Export GUI in the telnet session

by yong510 In reply to Export GUI in the telnet ...

The question was auto-closed by TechRepublic

Collapse -

Export GUI in the telnet session

by clifton_hairston In reply to Export GUI in the telnet ...

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

Collapse -

Export GUI in the telnet session

by yong510 In reply to Export GUI in the telnet ...

The question was auto-closed by TechRepublic

Collapse -

Export GUI in the telnet session

by kotuday In reply to Export GUI in the telnet ...

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 + <ipaddress>
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

Collapse -

Export GUI in the telnet session

by yong510 In reply to Export GUI in the telnet ...

The question was auto-closed by TechRepublic

Collapse -

Export GUI in the telnet session

by steve_alston In reply to Export GUI in the telnet ...

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

Collapse -

Export GUI in the telnet session

by yong510 In reply to Export GUI in the telnet ...

The question was auto-closed by TechRepublic

Collapse -

Export GUI in the telnet session

by yong510 In reply to Export GUI in the telnet ...

This question was auto closed due to inactivity

Back to Linux Forum
9 total posts (Page 1 of 1)  

Operating Systems Forums