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, 15:23 Uhr, Peter wrote:
> > 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.
> 
> Ok, so /usr/X11R6/etc/gdm/Sessions is what you're looking for. Place
> the
> fluxbox file mentioned in the documentation there and it'll work.
> 
> >>> 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:
> 
> Sorry, I forgot: after "su -" enter the following line as root:
> 
> export DISPLAY=localhost:0.0

I've given up.

__________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.