From owner-freebsd-questions@freebsd.org Sun Sep 4 07:29:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDD72BCEE78 for ; Sun, 4 Sep 2016 07:29:43 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9139329B for ; Sun, 4 Sep 2016 07:29:43 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id u847Tana080120 for ; Sun, 4 Sep 2016 03:29:36 -0400 (EDT) (envelope-from doug@safeport.com) Date: Sun, 4 Sep 2016 03:29:36 -0400 (EDT) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Subject: xdm does not work with xfce Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Sun, 04 Sep 2016 03:29:36 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2016 07:29:43 -0000 I did a new install of 10.3 and the added packages for xorg and xfce. The level installed are: xorg-7.7_2, xfce-4.12_1. Using startx or startxfce4 works fine. Using xdm I can do one login after a boot if I start xdm manually. If xdm is started frin /etc/ttys I can some time get a login. The problem appears to be xdm does not free display :0. To get xdm to work I copied /usr/local/etc/X11/xinit/xinitrc to $home/.xinitrc. I have a .xsession file contining startxfce4. I commented out the last line in /usr/local/lib/X11/xdm/xdm-config. I have output from xsession-errors and xdm.log. After the second login attempt .xsession-error is rewriten to contain: /usr/local/bin/startxfce4: X server already running on display :0 XDM authorization key matches an existing client!xfce4-session: Cannot open display: . Type 'xfce4-session --help' for usage. xdm works on a 10.1 system with xorg-7.7_1 and xfce-4.12_1. My questions: Is this a known issue? Should this be posted on the X11 mailing list? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277