From owner-freebsd-questions Tue Jul 15 06:57:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA28025 for questions-outgoing; Tue, 15 Jul 1997 06:57:14 -0700 (PDT) Received: from ns.cs.msu.su (laskavy@redsun.cs.msu.su [158.250.10.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA28017 for ; Tue, 15 Jul 1997 06:57:09 -0700 (PDT) Received: (from laskavy@localhost) by ns.cs.msu.su (8.8.6/8.6.12) id RAA08083; Tue, 15 Jul 1997 17:57:11 +0400 (DST) Date: Tue, 15 Jul 1997 17:57:11 +0400 (DST) Message-Id: <199707151357.RAA08083@ns.cs.msu.su> From: "Sergei S. Laskavy" To: osa@unibest.ru Cc: freebsd-questions@FreeBSD.ORG In-reply-to: (message from Ozz!!! on Tue, 15 Jul 1997 12:28:13 +0400 (MSD)) Subject: Re: How I may run X in remote machine? Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>>>> "Ozz!!!" == Ozz!!! writes: Ozz!!!> Hello! My machine is a FreeBSD-current. My XFree86 Ozz!!!> working perfectly. How I may run X in remote machine ( Ozz!!!> AIX 4.2 )? X11 is a client-server system. You can not run X server on remote host... Or... you can, but thats useless. You can run X client from remote host. Please, read the "man X11" or "man X" (now I'm on Solaris at work and can't recall the right manual page). I'm using ssh (secure shell) which acts as encrypting proxy server for X11 clients so you do not need even deal with DISPLAY environment var. Example: local% ssh remote [...] Welcome to remote remote% xterm& <-- and X Terminal appears at your screen :) If you use telnet/rlogin/rsh (which is very insecure) => export/setenv DISPLAY: remote% setenv DISPLAY local:0 remote% xterm& <-- and X Terminal appears (maybe) at your screen If not => read "man xauth", then "man xhost". You will need to local% xauth extract - $DISPLAY | rsh remote xauth merge - If it still not work => drop me a mail. Sergei S. Laskavy