Re: setting up gdm on freebsd
Peter <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
--- Thomas Stein <[email protected]> wrote: > On 02.05.2006, 12:37 Uhr, Peter wrote: > > I'm running fluxbox 0.1.14 on FreeBSD 5.4 and I cannot get the GDM > > display manager to work. The fluxbox docs say to edit one of two > > files: > > > > /etc/gdm/Sessions/fluxbox > > /etc/X11/gdm/Sessions/fluxbox > > > > But I do not have either /etc/gdm or /etc/X11/gdm directories on my > box > > (I installed gdm by port). > > Is there something in the /usr/share/gdm directory? I'm using Debian > Linux here and > > $ ls -l /usr/share/gdm > > shows the following: > > total 144 > drwxr-xr-x 2 root root 4096 Apr 11 14:25 BuiltInSessions > -rw-r--r-- 1 root root 11143 Mar 31 2005 gdmchooser.glade > -rw-r--r-- 1 root root 121486 Mar 31 2005 gdmsetup.glade > drwxr-xr-x 14 root root 4096 Apr 11 14:25 themes > > If you have the BuiltInSessions directory under /usr/share/gdm and a > file default.desktop in it, GDM is already using this directory. > Maybe you > can create a "Sessions" directory here and place the fluxbox > file in it (or just put the fluxbox file into BuiltInSessions, > perhaps this works too). I do have this: $ ls -l /usr/X11R6/share/gnome/gdm/BuiltInSessions/ total 16 -rw-r--r-- 1 root wheel 7642 May 2 11:00 default.desktop -rw-r--r-- 1 root wheel 7642 May 2 11:00 default.desktop.orig and I found: $ ls -l /usr/X11R6/etc/gdm total 38 drwxr-xr-x 2 root wheel 512 May 2 11:00 Init drwxr-xr-x 2 root wheel 512 May 2 11:00 PostLogin drwxr-xr-x 2 root wheel 512 May 2 11:00 PostSession drwxr-xr-x 2 root wheel 512 May 2 11:00 PreSession drwxr-xr-x 2 root wheel 512 May 1 21:32 Sessions -r-xr-xr-x 1 root wheel 5536 May 2 11:00 XKeepsCrashing -r-xr-xr-x 1 root wheel 6353 May 2 11:00 Xsession -rw-r--r-- 1 root wheel 1860 May 2 11:10 custom.conf -r--r--r-- 1 root wheel 1839 May 2 11:00 custom.conf.default -r--r--r-- 1 root wheel 4059 May 2 11:00 locale.alias -r--r--r-- 1 root wheel 4059 May 2 11:00 locale.alias.orig drwxr-xr-x 2 root wheel 512 May 2 11:00 modules Where custom.conf is what gdmsetup modifies. > > Also, I tried to run gdmsetup as root but I get errors: > > Xlib: connection to ":0.0" refused by server > > Xlib: No protocol specified > > (gdmsetup:827): Gtk-WARNING **: cannot open display: > > The easiest way would be via xhost: > > user@host$ xhost +localhost > localhost being added to access control list > user@host$ su - > Password: > root@host$ gdmsetup Nope, but the error now becomes simply: (gdmsetup:1292): Gtk-WARNING **: cannot open display: __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642