Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2006 17:03:32 -0400 (EDT)
From:      Peter <petermatulis@yahoo.ca>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   trouble setting up GDM
Message-ID:  <20060502210332.34953.qmail@web60025.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 



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