Re: telnet session problem



Stevoo wrote:
Robert Gruener wrote:
Stevoo wrote:

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?
Depending on your local environment, the display number can be any
number, not only 0.0
Just enter echo $DISPLAY on the localmachine before setting it on the
remote system.
Example:
On local machine give command xhost +
echo $DISPLAY ( which may return sth like :17.0 )
On local machine set export DISPLAY=localmachine:17.0 (where local
machine is the name or ip of your machine and shell is bash)
Then start application on remote system.
You don't have to be root.


--


Gruss / Cheers

Robert

Hey Guys,
I tried all suggested options....ie:
on local host: xhost +ssci1 <------my machine
telnet 10.20.x.x. <------remote machine
on remote machine: setenv export DISPLAY = ssci1:0.0
xterm omcr <----------- program i
wish to launch
error = "xterm bla bla" see above...and i confirmed that the display
number is 0.0

Thanks
Steve

oops - setenv or export. not both.
setenv is C-Shell, and the a.m. export command is bash. You mixed both together. What is you current shell?



--


Gruss / Cheers

Robert
.



Relevant Pages

  • Re: telnet session problem
    ... mean by "export it" and do ?I have to be root on the remote machine? ... the display number can be any ... On local machine set export DISPLAY=localmachine:17.0 (where local ... You don't have to be root. ...
    (comp.unix.solaris)
  • Re: telnet session problem
    ... Depending on your local environment, the display number can be any number, not only 0.0 ... Just enter echo $DISPLAY on the localmachine before setting it on the remote system. ... On local machine set export DISPLAY=localmachine:17.0 ... You don't have to be root. ...
    (comp.unix.solaris)
  • Re: telnet session problem
    ... mean by "export it" and do ?I have to be root on the remote machine? ... the display number can be any ... On local machine set export DISPLAY=localmachine:17.0 (where local ... You don't have to be root. ...
    (comp.unix.solaris)
  • Re: Tkinter(2)
    ... from Tkinter import Label ... widget = Label ... no display name and no $DISPLAY environment ... This error usually happens when you're logged in on a remote machine, and you didn't tell the remote machine where you wanted to display the windows you open. ...
    (comp.lang.python)
  • Re: exporting display
    ... On Fri, 2005-01-07 at 14:08 -0500, James Pifer wrote: ... I think the display for root is only ... >> If you log in as root on the local machine and check the X logs you ... with either xhost or the DISPLAY variable - it should just work. ...
    (Fedora)