Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 18:26:49 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Vincent Chen <vctw@yahoo.com>
Cc:        FreeBSD maillist <freebsd-questions@FreeBSD.ORG>
Subject:   Re: logon to X from remote linux?
Message-ID:  <20020914172649.GA49450@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020914154050.86355.qmail@web20010.mail.yahoo.com>
References:  <20020914154050.86355.qmail@web20010.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 14, 2002 at 08:40:50AM -0700, Vincent Chen wrote:

> I plan to install freebsd in a IPC without monitor and
> keyboard. Can I login to X system from remote linux or
> freebsd workstation? It's strange that I know how to
> install X terminal software on PC to do this. But I
> don't know how to configure linux or freebsd
> workstation running X to do this.

All X applications can be run on a remote machine and display on your
local desktop.  The recommended way to do that is to tunnel the
connection through openssh --- by default, ForwardX11 is turned on in
the sshd (server side) config, but you may need to enable it in the
ssh (client side) configuration.  If it's all set up correctly, when
you ssh into the box, you should find that the DISPLAY environment
variable has been set to something like: "localhost:10.0".  Then just
start X applications from the command line.

However, if you really need a remote X login, xdm(1) provides that
functionality.  You're going to have to enable xdm in /etc/ttys and
also edit some config file in /usr/X11R6/lib/X11/xdm xdm-config,
Xaccess and you'll need to edit Xservers to enable the X server to
listen for tcp connections.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020914172649.GA49450>