Re: setting up gdm on freebsd
Thomas Stein <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
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 -- 48. YEEEHA!!! What a CRASH!!! --Top 100 things you don't want the sysadmin to say
signature.asc
(application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEV7kJ1FztJcrh134RAlWHAKC0DX6UdCTxZbVPtGRfZ/95MXGIcACfWSIJ ExPKvkLnHFv/eld6D7kf8DU= =0IK6 -----END PGP SIGNATURE-----