From owner-freebsd-questions@FreeBSD.ORG Tue May 2 21:03:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E48A816A447 for ; Tue, 2 May 2006 21:03:33 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60025.mail.yahoo.com (web60025.mail.yahoo.com [209.73.178.73]) by mx1.FreeBSD.org (Postfix) with SMTP id 765CE43D45 for ; Tue, 2 May 2006 21:03:33 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 34955 invoked by uid 60001); 2 May 2006 21:03:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=W6IeBAm5IE4R+/ZQlTECuFqcc129H5dSFE7fMP9kJ00eKvqNB1IaofQhJgqyTuONwthvDJr9Hc1VoJ93OyenhBXca7oNWQS6Bo1/IFZvudfFab+wXMv+gbmy5ijL6MgX0QA6RulOcVU0nbX5H8uem0jpJcElM2pmR6Drp9YjORc= ; Message-ID: <20060502210332.34953.qmail@web60025.mail.yahoo.com> Received: from [70.81.189.3] by web60025.mail.yahoo.com via HTTP; Tue, 02 May 2006 17:03:32 EDT Date: Tue, 2 May 2006 17:03:32 -0400 (EDT) From: Peter To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: trouble setting up GDM 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: Tue, 02 May 2006 21:03:34 -0000 Hi everyone. I am running fluxbox on my 5.4 system and I am having trouble setting up gdm. Can anyone help? $ ls -lh /usr/X11R6/etc/gdm total 38 drwxr-xr-x 2 root wheel 512B May 2 11:00 Init drwxr-xr-x 2 root wheel 512B May 2 11:00 PostLogin drwxr-xr-x 2 root wheel 512B May 2 11:00 PostSession drwxr-xr-x 2 root wheel 512B May 2 11:00 PreSession drwxr-xr-x 2 root wheel 512B May 2 16:12 Sessions -r-xr-xr-x 1 root wheel 5.4K May 2 11:00 XKeepsCrashing -r-xr-xr-x 1 root wheel 6.2K May 2 11:00 Xsession -rw-r--r-- 1 root wheel 1.8K May 2 16:09 custom.conf -r--r--r-- 1 root wheel 1.8K May 2 11:00 custom.conf.default -r--r--r-- 1 root wheel 4.0K May 2 11:00 locale.alias -r--r--r-- 1 root wheel 4.0K May 2 11:00 locale.alias.orig drwxr-xr-x 2 root wheel 512B May 2 11:00 modules The fluxbox docs say to create the script 'fluxbox' under the Sessions directory: $ cat fluxbox #!/bin/sh exec /usr/X11R6/etc/gdm/Xsession /usr/X11R6/bin/fluxbox But it doesn't work. This is what I get: $ cat .xsession-errors /usr/X11R6/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp /usr/X11R6/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:1.Xservers" -h "" -l ":1" "peter" /usr/X11R6/etc/gdm/Xsession: Beginning session setup... /usr/X11R6/etc/gdm/Xsession: Cannot find Xclients /usr/X11R6/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- xsm X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 42 (X_SetInputFocus) Serial number of failed request: 202 Current serial number in output stream: 203 Also, the gdmsetup utility (that edits custom.conf above) does not start no matter what I do with the DISPLAY variable: (gdmsetup:804): Gtk-WARNING **: cannot open display: __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com