Article View: be.comp.os.unix
Article #149Re: ssh en x starten doorheen ssh
From: Philip Paeps
Date: Wed, 11 Apr 2007 14:23
Date: Wed, 11 Apr 2007 14:23
41 lines
2837 bytes
2837 bytes
Alvin <info@alvin.be> wrote:
> Philip Paeps wrote:
> > Terzijde: ben je wel zeker dat je SSH nodig hebt voor jouw gebruik? Ik
> > weet niet hoe het komt, maar ik zie meer en meer mensen X11 over SSH
> > sleuren waar dat helemal niet nodig is. Als de twee machines op hetzelfde
> > netwerk staan en er niet meteen een nood aan tunnelen is, kan je gewoon
> > DISPLAY op de remote machine zetten en "X11 Werkt Gewoon", zonder ssh
> > tunnel...
>
> Dan gebruik je RSH of iets dergelijks?
rlogin works. Maar op veel systemen is dat niet meer aanwezig (heel erg vind
ik dat eerlijk gezegd niet). Maar rlogin neemt ook het environment niet over.
Ik heb gewoon constructies als dit in mijn .login:
if ($HOST != "xhost") then
setenv DISPLAY xhost:0
endif
> Ik denk dat SSH -X gewoon eenvoudiger is omdat je DISPLAY variabele dan
> automatisch correct is.
Als ik me niet vergis zet ssh -X $DISPLAY "magisch" op remotehost:magic en
neemt die niet $DISPLAY over. Die magic gebruikt hij om X11 te tunnelen.
> Als je vanaf meerdere X servers op dezelfde X client werkt moet je anders
> telkens je DISPLAY variabele verzetten. (Al zal daar dan wel weer een
> oplossing voor bestaan.)
Inderdaad - de magic in kwestie heet NFS. Als je home niet op NFS staat, moet
je inderdaad overal .login aanpassen.
- Philip
--
Philip Paeps Please don't email any replies
philip@paeps.cx I follow the newsgroup.
hundred-and-one symptoms of being an internet addict:
135. You cut classes or miss work so you can stay home and browse the web.
Technical Details
Message-ID:
<slrnf1prr1.3v4.philip+usenet@fasolt.home.paeps.cx>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<2007041018535375249-wimvanclapdurp@macdotcom> <slrnf1o1h6.3v4.philip+usenet@fasolt.home.paeps.cx> <461cd161$0$1284$6c56d894@reader0.news.be.easynet.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 109d4a,710e957dedfabfb7 X-Google-Attributes: gid109d4a,public X-Google-Language: DUTCH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Philip Paeps <philip+usenet@paeps.cx> Newsgroups: be.comp.os.unix Subject: Re: ssh en x starten doorheen ssh Date: 11 Apr 2007 14:23:29 GMT Organization: Happily Disorganized Lines: 41 Message-ID: <slrnf1prr1.3v4.philip+usenet@fasolt.home.paeps.cx> References: <2007041018535375249-wimvanclapdurp@macdotcom> <slrnf1o1h6.3v4.philip+usenet@fasolt.home.paeps.cx> <461cd161$0$1284$6c56d894@reader0.news.be.easynet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net 2xdy/94uivfJG47hPQJA0ww6RUKDYUI8eX4q+ulJ7yT/jVAtT/ X-PGP-Fingerprint: 356B AE02 4763 F739 2FA2 E438 2649 E628 C5D3 4D05 X-Date: Today is Sweetmorn, the 28th day of Discord in the YOLD 3173 X-Date-in-Rome: ante diem III Idus Apriles MMDCCLX ab Urbe Condida X-Phase-of-Moon: The Moon is Waning Crescent (42% of Full) User-Agent: slrn/0.9.8.1pl2 (FreeBSD)