ssh/telnet & x11-anwendungen

Post Reply
Message
Author
andre

ssh/telnet & x11-anwendungen

#1 Post by andre »

hi,
wie kann ich von entfernten rechnern per telnet/ssh grafische anwendungsprogramme so starten, dass sie in auf meinem monitor erscheinen (aber trotzdem auf dem entfernten rechner ablaufen)?

thnxs,
andre

schlops
Posts: 102
Joined: 17. Feb 2000 12:12

Re: ssh/telnet & x11-anwendungen

#2 Post by schlops »

In einem Terminalfenster:
xhost + ip.des.entfernten.Rechners
ssh entfernterRechner -l loginname
export DISPLAY=ip.des.lokalen.Rechner:0.0 (je nach Shell halt, export wenn bash)
./Programme_starten <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">

Stay Rude!
Schlops

andre

Re: ssh/telnet & x11-anwendungen

#3 Post by andre »

hi,
cool, funzt <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">

eine frage haettich aber noch, wofuer steht beim befehl 'export DISPLAY=ip.des.lokalen.Rechner:0.0" die ":0.0" ?

thnxs,
andre

Basti_litho

Re: ssh/telnet & x11-anwendungen

#4 Post by Basti_litho »

hi,

Also ich würde nur über ssh diese sachen machen ( ssh +X ip) damit wird X zu dir umgeleitet.

Die :0.0 steht für die 1. Grafikkarte und den 1. Monitor (soweit ich weiß).

Gruß

Basti_litho

Descartes

Re: ssh/telnet & x11-anwendungen

#5 Post by Descartes »

> wofuer steht beim befehl 'export DISPLAY=ip.des.lokalen.Rechner:0.0" die ":0.0" ?

liest heute eigentlich noch einer die Manpages ?

man 7 X
info X

<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
...
DISPLAY NAMES
From the user's perspective, every X server has a display name of the form:

hostname:displaynumber.screennumber

This information is used by the application to determine how it should connect to
the server and which screen it should use by default (on displays with multiple
monitors):

hostname
The hostname specifies the name of the machine to which the display is
physically connected. If the hostname is not given, the most efficient way
of communicating to a server on the same machine will be used.

displaynumber
The phrase "display" is usually used to refer to collection of monitors
that share a common keyboard and pointer (mouse, tablet, etc.). Most work­
stations tend to only have one keyboard, and therefore, only one display.
Larger, multi-user systems, however, frequently have several displays so
that more than one person can be doing graphics work at once. To avoid
confusion, each display on a machine is assigned a display number
(beginning at 0) when the X server for that display is started. The display
number must always be given in a display name.

screennumber
Some displays share a single keyboard and pointer among two or more
moni­tors. Since each monitor has its own set of windows, each screen is
assigned a screen number (beginning at 0) when the X server for that display
is started. If the screen number is not given, screen 0 will be used.
...
</font><hr></pre></blockquote>

panthera

Re: ssh/telnet & x11-anwendungen

#6 Post by panthera »

@descartes

das ist nicht mehr "in" :(

Post Reply