Starting fluxbox withOUT a DM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I mistyped the Subject line! Should have been Starting fluxbox without
a DM.
Silly me.
Maybe I'm wrong on this but doesn't .xsession only work if you first
issue: startx? I had hoped to avoid any interaction on the part of the
user.
Editing .bash_config seems to be fine. The .Xauthority file is created
properly anyway and fluxbox starts.
Robert Pickel wrote:
> 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:
>>
> 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
>>
_______________________________________________
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
>>
> ------------------------------------------------------------------------
> _______________________________________________
> Debian-live-devel mailing list
> Debian-live-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFU6fBqUIEvHpYFKoRAi2pAKCi3mNE4+IEQpUP8tksFF3xTjb86ACfbSRP
kjp+V4ADEeI7VEenCnZd++k=
=Jtnc
-----END PGP SIGNATURE-----
Reply to: