Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh -X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Mon Nov 22, 2004 9:22 pm    Post subject: ssh -X Reply with quote

Moin!

Wie bekomme ich es denn hin, dass ich zu meiner Gentoo Kiste eine ssh -X - Verbindung aufgebaut bekomme? Ich bekomme von MacOSX schon beim Einloggen folgende Meldung:
Xlib: connection to "xxx.xxx.xxx.xxx:0.0" refused by server
Xlib: No protocol specified
Mit SuSE klappts aber...

mfg,

Bienchen
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Mon Nov 22, 2004 9:25 pm    Post subject: Reply with quote

Bei deinem MacOS laeuft wahrscheinlich kein XServer. AFAIK muss man da doch was extra starten oder installieren...
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Mon Nov 22, 2004 9:30 pm    Post subject: X läuft... Reply with quote

Nene, die X-Umgebung ist schon gestartet...Aqua ist zwar schon schön, aber mit schön allein kann ich nicht arbeiten :P
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2937
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Mon Nov 22, 2004 9:32 pm    Post subject: Reply with quote

Bei mir geht es genauso, auch wenn ich von localhost aus verusche. Ich hab sogar X11Forwarding & Co in der sshd.conf eingestellt und geht es trotzdem nicht.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
oma
Guru
Guru


Joined: 17 Feb 2004
Posts: 302
Location: /home/markus/heiligenhaus

PostPosted: Mon Nov 22, 2004 9:35 pm    Post subject: Reply with quote

Kann das sein das du in der /usr/X11R6/bin/startx
Code:
defaultserverargs="-nolisten tcp"
stehen hast?
_________________
"...ich bin Guybrush Threepwood - ein mächtiger Pirat!"
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Mon Nov 22, 2004 9:39 pm    Post subject: nolisten Reply with quote

ähem...jupp, da steht was von nolisten tcp...soll ich das auskommentieren?
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Mon Nov 22, 2004 9:42 pm    Post subject: Reply with quote

Genau. Zitat "man Xorg":
Code:

  TCPIP
           Xorg  listens  on port 6000+n, where n is the display number.  This
           connection type can be disabled with the -nolisten option (see  the
           Xserver(1) man page for details).
Back to top
View user's profile Send private message
oma
Guru
Guru


Joined: 17 Feb 2004
Posts: 302
Location: /home/markus/heiligenhaus

PostPosted: Mon Nov 22, 2004 9:43 pm    Post subject: Reply with quote

Jau, mach mal - hab ich auch auskommentiert. Ist die globale Einstellung wenn du nix anderes in der .xinitrc drin stehen hast - wenn ich das richtig im Kopf hab - aber der ist ja schon sooo alt :D
_________________
"...ich bin Guybrush Threepwood - ein mächtiger Pirat!"
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Mon Nov 22, 2004 9:48 pm    Post subject: nolisten Reply with quote

Ne, bringt noch nix...XServer hab ich neu gestartet. Aber immer noch kein X Fenster in Sicht.
Back to top
View user's profile Send private message
oma
Guru
Guru


Joined: 17 Feb 2004
Posts: 302
Location: /home/markus/heiligenhaus

PostPosted: Mon Nov 22, 2004 9:54 pm    Post subject: Reply with quote

Mhh, kenn Mac nicht so - aber hab ich das richtig verstanden: Von Suse zu Gentoo klappts, von MAC zu Gentoo nicht?
_________________
"...ich bin Guybrush Threepwood - ein mächtiger Pirat!"
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Mon Nov 22, 2004 10:03 pm    Post subject: SuSE - Mac Reply with quote

Ne, von SuSE zu Gentoo geht und von SuSE zu MacOSX aber von Gentoo zu MacOSX geht nicht.
Back to top
View user's profile Send private message
oma
Guru
Guru


Joined: 17 Feb 2004
Posts: 302
Location: /home/markus/heiligenhaus

PostPosted: Mon Nov 22, 2004 10:10 pm    Post subject: Reply with quote

Wie siehts mit Telnet aus und export DISPLAY=gentooip:0.0? Just for testing...
_________________
"...ich bin Guybrush Threepwood - ein mächtiger Pirat!"
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Mon Nov 22, 2004 10:22 pm    Post subject: Reply with quote

Also mit telnet kann ich gar nicht umgehen. Wenn ich DISPLAY umsetze bekomme ich die Meldung, dass auf gentooip:0.0 kein Fenster geöffnet werden kann...aber immerhin beschwert er sich schon malnicht mehr, dass das Protokoll fehlen würde.
Back to top
View user's profile Send private message
oma
Guru
Guru


Joined: 17 Feb 2004
Posts: 302
Location: /home/markus/heiligenhaus

PostPosted: Tue Nov 23, 2004 8:52 am    Post subject: Reply with quote

Mhh, und nix in den Logs? Weder MAC noch Gentoo? Nix von wegen Authentifizierung (mit-magic-cookie-Key o.ä.?)
So ins blaue hinein - ssh -Y geht auch nicht?
_________________
"...ich bin Guybrush Threepwood - ein mächtiger Pirat!"
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Tue Nov 23, 2004 9:41 am    Post subject: Reply with quote

Muss ich mal sehen wenn ich wieder zuhause bin...
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 649
Location: Munich, Germany

PostPosted: Tue Nov 23, 2004 10:11 am    Post subject: Reply with quote

Du kannst ssh mit Parameter -v starten um Debug Informationen zu erhalten, wenns ausführlicher sein soll, einfach noch ein oder zwei "v" dranhängen.
Welches Protokoll in der Fehlermeldung gemeint ist, weiss ich nicht, probier mal die Parameter -1/-2 für ssh Protokoll Version 1 bzw 2 und Parameter -4/-6 für IPv4 bzw IPv6, z.B.
Code:
ssh -X -vv -2 -4 Rechnername

_________________
No money back garantee. In case of problems, don't call us, we call you.
Back to top
View user's profile Send private message
wam23
n00b
n00b


Joined: 27 Aug 2004
Posts: 16
Location: Switzerland

PostPosted: Tue Nov 23, 2004 1:20 pm    Post subject: Reply with quote

also ich komme problemlos von osx auf gentoo
geht denn eine normale ssh verbindung ohne -X
und benutzt du auch den xterm von Apple X11 und nicht das Aqua Terminal (dort geht X forward nicht)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum