Re: telnet session problem




Tim Bradshaw wrote:

The easiest and safest way to do this is to use ssh and let it forward
the X session:

* check DISPLAY is set on the local machine
* ssh -X remote-machine
* DISPLAY should now be set appripriately in your login session on the
remote box, and X connections will be forwarded through ssh.

This depends on having ssh of course, and on sshd etc being configured
to allow X forwarding.

If you don't care about security (are on a secure network in other
words, then you can:

* on the local host say xhost +remote-host
* on remote-host set DISPLAY to local-host:0.0, and export it
* run X applications on remote-host

This will send X traffic unencrypted over the wire, including
everythign you type...

--tim

tim thanks for your reply. I tried that out but I'm getting the error "
xterm Xt error: can't open display: localmachine:0.0....what do you
mean by "export it" and do ?I have to be root on the remote machine?
Thanks

steve

.



Relevant Pages

  • Re: which port(s) does the X server listen on?
    ... > but remote X clients are unable to display to it. ... things just quietly fail to display. ... Most of the time one would ssh to the box they want to run the ... If everything is setup ...
    (Fedora)
  • Re: Remote XWindows
    ... I am doing well with putty but have hit a point where I need to bring up my browser in a remote session.. ... With ssh, you can run this to execute the application remotely but have it displayed locally: ... If you want it to be displayed remotely as well, you'll want to look into VNC ... What I get at startx is the message "Server is already active for display 0". ...
    (Fedora)
  • detach/reattach remote GUI applications?
    ... I run a headless server and I've become fond of using the "screen" utility with SSH to allow me to launch a text-based application, detach from it, and then reattach to it later to see how it's going. ... I know that I can tunnel X over SSH to have my remote headless server do the processing and my local machine do the display, but sometimes I have to switch off my local machine. ...
    (freebsd-questions)
  • Re: [SLE] Remote login to SuSE box
    ... I am not an expert, nor in ssh, nor in X but after ... when you use -query you're logging into a display manager on the remote ... If that doesn't kill the X ...
    (SuSE)
  • Re: Remote linux desktop access
    ... > Does anyone know how to have X access remotely through ssh? ... The X server runs on your ... The clients display on to your ... want remote X apps to show up on a different display, ...
    (Debian-User)