[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Starting fluxbox with a DM



To the best of my knowledge fluxbox can be started by putting it in a config
file in the user's home.

I think /home/debian/.xsession

Insert the line:

exec /usr/bin/fluxbox


Hope this works/helps,

Bob

On 11/8/06, Glenn Greenfield <mzilikazi@mzilikazix.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I can get fluxbox automatically this way:
>
> nano debian-live/chroot/etc/skel/.bash_config
>
> if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
>   startx /usr/bin/fluxbox
> fi
>
> It works. :)
>
> BUT first I tried to accomplish this from /etc/inittab - it ran the
> script fine
>
> # debian-live boots by default into runlevel 2
> w2:2:wait:/bin/sleep 2
> x2:2:wait:/etc/init.d/xsession start
>
>
> #/etc/init.d/xsession
> #!/bin/sh
> su casper -c startx /usr/bin/fluxbox
>
> #Problem w/ this method of autostarting X is w/ .Xauthority and user is
> denied permission to run the xserver.  Maybe someone knows a way to
> remedy that little problem?  I tried adding something to
> /usr/X11R6/bin/startx but it does not work:
>
> mcookie|sed -e 's/^/add :0 . /'|xauth -q
> xinit -- -auth "$HOME/.Xauthority"
>
> I *think* I simply do not understand exactly what to change in startx in
> order to make that work.  Maybe there is even a better way?
>
> - -glenn
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFUmeaqUIEvHpYFKoRAs6hAJ9QE0jlw/a69tQYlDxlGr8zxvV4VQCfY4cp
> UiCd1oga0TEfhmTIWIEahx0=
> =cpLm
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Debian-live-devel mailing list
> Debian-live-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20061109/7a3ad581/attachment-0001.htm

Reply to: