From owner-freebsd-questions@FreeBSD.ORG Sat Mar 1 01:01:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88FFD10656E0 for ; Sat, 1 Mar 2008 01:01:46 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 156D08FC1A for ; Sat, 1 Mar 2008 01:01:46 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so3162668rvb.43 for ; Fri, 29 Feb 2008 17:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=1EmH0gFDvz65+CmjAxP+0HjFGexIVTArKeJ/YKAseg0=; b=bs1MEGnmtYbNUkJ1WaE3wJ7pMehvkp8iQxSUsPX6fwXdxiKUnBA3DezF84aZ/l1RnM1JT3q4smIHWRc4/pgHX+6cRo+BacPGLKDG1COlMrNjhkSqeFnSo8tmAkHDTurWn9cb918rloaF+NJZb7pmW5IhSepaLwFFqKHTgkaGasM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=bzuBQmVxLGd0oR4x+A2LocPvqADwslwP3s6tWUfR8EqVtAi4QLnSu8iFfq6ap8ljXZ+kio7NYAiX1dCzxMf/BA7HTu27KrZpjisyu2dZIG3kq04ECRtkOl51yoilHRT489PZReue9rQwjSm8I7ieR4CrOfjIep/hh0Fvjnm32Kg= Received: by 10.140.170.12 with SMTP id s12mr6834862rve.83.1204333305795; Fri, 29 Feb 2008 17:01:45 -0800 (PST) Received: from saraswathy.madambakam.org ( [59.92.92.2]) by mx.google.com with ESMTPS id b21sm986227rvf.34.2008.02.29.17.01.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Feb 2008 17:01:45 -0800 (PST) Received: by saraswathy.madambakam.org (Postfix, from userid 1002) id E7E2239FF5C; Sat, 1 Mar 2008 06:31:39 +0530 (IST) Date: Sat, 1 Mar 2008 06:31:39 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20080301010139.GA8443@saraswathy.madambakam.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20080301011006.3c61b31a@ilievnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080301011006.3c61b31a@ilievnet.com> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: gdm + xdmcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 01:01:46 -0000 On 01:10:06 Mar 01, Daniel Iliev wrote: > Hi, people > > > I installed FreeBSD using the "7.0-RELEASE-i386-bootonly.iso" CD image. > After I installed Gnome (pkg_add -r gnome2), I was able to start it on > the FreeBSD and show it on my GNU/Linux workstation like this: > > 1) (Xnest :1 &) ; terminal --display=:1 > 2) in the "Xnested" terminal: > ssh -Y bsd.example.org gnome-session & > (Ctrl+D) > > Next I started gdmsetup on the FreeBSD system and enabled "Remote > Login" (XDMCP). It was followed by a "gdm-restart". No error messages, > everything seems fine, but I can not connect to the FreeBSD box issuing > "Xnest -query bsd.example.org :2" from the workstation. > > The above steps are usually enough to get XDMCP working between > GNU/Linux hosts. Actually the reverse scenario works just fine - I > was able to get my GNU/Linux Gnome showing on the FreeBSD system via > XDMCP. The two hosts are on the same HUB and in the same /24 private > network. > > > What am I missing in the FreeBSD setup? > I am confused why you need Xnest. If you want the XDMCP of the remote host there are other means. Xnest is meant for running multiple X sessions in the same server. If you want to access a remote machine's gdm, then you don't need Xnest for that. You can test for UDP port 177 along with the TCP ports 6000 and above with the nmap command. # nmap -sT -p 6000-6005 bsd.example.org # For X # nmap -sU -p 177 bsd.example.org # For XDMCP Most likely you have to enable "TCP listening" in gdm.conf. Just uncomment the relevant line and you should be all set. Best of luck! -Girish > > > P.S. > > /* off-topic > I'm new to the *BSD world and it's my first message to this list. > So, I'd like to ask if there are any special rules here that I should > know about? Would "no html, no thread-hijacking, no top-posting" be > enough to avoid offending the more sensitive folks on the list when it > comes to correct e-mail formatting? > */ You seem to know everything already. ;) This list is specifically meant for newbies and is very very friendly. -- "unix soi qui mal y pense" UNIX to him who evil thinks