From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 18:32:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B0ED16A400 for ; Mon, 30 Apr 2007 18:32:45 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6A113C4C3 for ; Mon, 30 Apr 2007 18:32:44 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1452463ana for ; Mon, 30 Apr 2007 11:32:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=UOJcF5+LSfn9+6f/hRF8buv+UPsqPuK9AorTvIvIb1JYVfLHW/+DuxxKky0TQ4P2OSavMkfgxTG36Z9RWmEhSt1cf9rGObdLiC4yCoZ50uoou3n0hcrHF48exbiatFCESoXkXU7Av6oc4O+rREH5PR7fMpDUlx2UKyLHvzCN3WI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=X93mPq6Xj+c7RkvhlavmDek1yS50EPF+SoU+19KrMZs5AVONPQ4wut05EHpxmIUiJ+qoc7qCLxrCwErHZ4bkH5E6yeNlnw9Df9lN6VKkG+Gsx+wpN2oIiaP6sTtYSwXzWA1uuHvcMN17q2AAYyOqcqVlYbQDn/E04UYjoy+s1Vs= Received: by 10.100.178.7 with SMTP id a7mr4381645anf.1177957964254; Mon, 30 Apr 2007 11:32:44 -0700 (PDT) Received: by 10.100.174.3 with HTTP; Mon, 30 Apr 2007 11:32:44 -0700 (PDT) Message-ID: <51e113440704301132s45db7723l6cab9e26e78862a9@mail.gmail.com> Date: Mon, 30 Apr 2007 20:32:44 +0200 From: "Warren Head" To: freebsd-questions@freebsd.org In-Reply-To: <51e113440704301030h84be2eclee30222d3831aa6e@mail.gmail.com> MIME-Version: 1.0 References: <4635C2EB.5000205@gmail.com> <51e113440704301030h84be2eclee30222d3831aa6e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: X/gnome through ssh, clashes with local gnome? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 18:32:45 -0000 2007/4/30, Warren Head : > > > > 2007/4/30, WarrenHead : > > > > Hi list, > > > > I want to connect X from my Ubuntu machine to my local FreeBSD machine, > > through ssh. > > Sofar ssh and X are working, but Gnome/GDM/Metacity seem to have issues. > > I really wonder whether this has something to do with the fact that on > > Ubuntu I also have Gnome running. > > > > Anyway, when I log into FreeBSD and start gnome-session, this is what I > > get on the console: > > > > SESSION_MANAGER=local/celeron2.lan:/tmp/.ICE-unix/34272 > > Window manager warning: Screen 0 on display "localhost: 10.0" already > > has > > a window manager; try using the --replace option to replace the current > > window manager. > > Window manager warning: Screen 0 on display "localhost:10.0" already has > > a window manager; try using the --replace option to replace the current > > window manager. > > > > ** (gnome-panel:34290): WARNING **: Failed to authenticate with GDM > > ^C > > > > What I see happening is an error window coming up on screen, saying that > > the Gnome-Settings daemon failed. > > > > There was an error starting the GNOME Settings Daemon. > > > > Some things, such as themes, sounds, or background settings may not work > > correctly. > > > > The last error message was: > > > > Process /usr/local/libexec/gnome-settings-daemon exited with status 1 > > > > GNOME will still try to restart the Settings Daemon next time you log > > in. > > > > After that the standard gnome loading panel comes up in front of > > me(sometimes), loading 'The Panel' and such, after which I see my top > > Ubuntu gnome menubar change into the FreeBSD gnome menubar. > > When I click on items in the top menubar I do see the FreeBSD > > menuoptions and I can start programs, but I still see my Ubuntu > > background, bottom menubar and Ubuntu programs running. > > > > In other words, both gnome's seem to be working at the same time, but > > not very well together. > > > > It's the first time I am working with remote X through SSH. RDP and VNC > > are the things I am more used to. So I am sorry if I am making stupid > > n00b mistakes, but yes, I am sure I am missing something totally > > obvious. > > I do read (with Google) that there is confusion about XDMCP versus X > > through SSH. I definitely want only the latter and have not enabled > > XDMCP. (consciously) > > > > So, what strikes me as very odd: > > GDM is allowing tcp connections and I get gnome on screen, but the error > > message says that I could not be authenticated. UID problem? Username > > and password are the same. > > > > > > Cheers, Warren > > > > Hi list, > > I noticed that only these output lines are related to connecting from my > ubuntu machine; > Window manager warning: Screen 0 on display "localhost: 10.0" already has > a window manager; try using the --replace option to replace the current > window manager. > Window manager warning: Screen 0 on display "localhost:10.0" already has > a window manager; try using the --replace option to replace the current > window manager. > > I just used a windows machine with Xming and that worked fine, except for > the GDM message about not being authenticated. > > So, does this give anybody a clue as to what is malconfigured? > > Cheers, Warren > 2 points: 1) Mmm, on Windows it all works very very slow, although both 'top' on FreeBSD (as the ssh server and X client) and processexplorer on windows (ssh client and X server) do not report a lot of processor activity. Then why is it all sooo slow? Does anybody have any performance experience with Xming? 2) It seems xdm is still working from time to time. It shows up in top whenever I move the mouse around or click something in Gnome. I guess I found a good clue as to why GDM can not authenticate me as a user. XDM seems to have taken that liberty. I don't know how to tell it to stop doing that, besides what I already did with this line in /usr/X11R6/lib/X11/xdm/xdm-config ! SECURITY: do not listen for XDMCP or Chooser requests ! Comment out this line if you want to manage X terminals with xdm DisplayManager.requestPort: 0 I guess there is more to it? Cheers, Warren