Re: Possible additions to x11.en.xml?

Michèle Garoche <[email protected]>
Newsgroups gmane.os.apple.fink.i18n
Message-ID <[email protected]>
Le 17 mai 2004, à 14:47, Lenin Dominguez a écrit :

> I believe the aditions are quite appropiate..
There are already done. See the messages with 
[translation]/[Translation]/[TRANSLATION] on the mailing list. To get 
it, just issue:
cvs update -dP in your xml tree.

> And I would really like a section about forwarding.
I'm not sure what to put in it, here's what I use on 10.3.3 with 
Apple's X11 and zsh shell:

Steps 1,2,4 are to be done once (more acurately each time a Software 
Update occurs, at least check that there was no change in sshd_config 
regarding X11Forwarding setting). Steps 3 and 5 each time you connect.

1 - Enable X11Forwarding on the host machine in sshd_config:
sudo pico /etc/sshd_config
replace the line: #X11Forwarding no
with: X11Forwarding yes
save with: ctrl-O, return, ctrl-X

2 - Enable Remote login in the Preferences/Sharing panel on the host 
machine
or reenable it to take x11Forwarding into account, if it was already 
enabled.

3 - Establish the connection via ssh on the local machine
ssh -X username@remotemachinename

where username is a valid user's name on the remote machine, and 
remotemachinename is either of type foo.local, or an IP or fully 
qualified domain name (you'll find it the System Preferences panel, 
under Sharing, by click on Remote login).

Enter the user's name password on the remote server when prompted.

4 - Set your DISPLAY on the remote server permanently:

>> • For tcsh users:
>>  Add the following to your .cshrc:
>> if (! $?DISPLAY) then
>>   setenv DISPLAY :0.0
>> endif
>> •For zsh users:
>> Add the following to your .zhrc file:
>> [[ -z $DISPLAY ]] && export DISPLAY=":0.0"

5 - Open X11 remotely and launch any X11 application:
open-x11 foo

Michèle
<http://micmacfr.homeunix.org>
PGP.sig (application/pgp-signature, 186 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.