Re: X connection
Am Donnerstag, 11. Juli 2002 13:11 schrieb José Manuel Pérez:
> Hi all.
> I'm trying to connect to a X host and display the application in my laptop.
> I'm running sid with X 4.2 and KDE 3.0.2.
> I do the following:
> - xhost +remote
> - ssh to remote
> - run program that sets DISPLAY as my laptop:0.0
> But this doesn't work, and I've not found where to configure my laptop in
> order to allow remote to make X connection.
> Anybody can help me?
You don't need xhost at all. Just use ssh -X (read the manual for details).
With this option ssh takes care of setting DISPLAY to the correct value.
You just need to configure the remote hosts sshd to allow X forwarding.
Dr. Olaf Stetzer
Institut für Meterologie und Klimaforschung
Atmosphärische Aerosole (IMK III) - http://imk-aida.fzk.de
Tel.: +49(0)7247-82-3249 (FAX: -4332)
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org