On Tue, 8 Jul 2008, Morten Lied Johansen wrote:
> Ignacio Quezada wrote:
> > El mar, 08-07-2008 a las 09:07 -0400, Steven Blatchford escribió:
> >> Gentoo's inittab might be a bit different, but for me I changed this in
> >> my /etc/inittab:
> >>
> >> x:5:respawn:/usr/X11R6/bin/xdm -nodaemon
> >>
> >> to
> >>
> >> x:5:once:/bin/su USERNAME -l -c "/bin/bash --login -c startx >/dev/null
> >> 2>&1"
> >
> > I think it's easier. Just open setup menu "gdmsetup" as root and lookfor
> > security tab, then you have automatic login or timed login. =). If you
> > pretend to boot into freevo directly I guess it's better to not use any
> > login manager.
> > This is my inittab:
> > """
> > # TERMINALS
> > c1:12345:respawn:/sbin/agetty -n -l /sbin/autologin 38400 tty1 linux
> > """
>
> [Hello list btw, my first posting here..]
>
> Just to add my setup to the mix:
>
> I don't have a regular screen connected, nor do I have a keyboard. The
> machine is hooked up to the TV, and I use a bluetooth-enabled
> phone+freevused to control it, running Gentoo linux. I don't need to be
> able to run X as a regular user (I don't actually run X at all, I use
> the framebuffer for freevo).
>
>
> My setup is quite simple, but spread out a little.
>
> First of all, I have a freevo user with a shell, but an invalid password
> (meaning it's not possible to log in as the freevo user normally).
>
> Second, my inittab:
> -------------------
> c1:12345:respawn:/sbin/agetty -n -l /sbin/autofreevo 38400 tty1 linux
>
> /sbin/autofreevo (more descriptive name than autologin):
> --------------------------------------------------------
> #!/bin/bash
> exec sudo -H -u freevo /home/freevo/freevostart
>
> This will launch the script /home/freevo/freevostart as the user freevo.
> It requires the running user to be allowed to run sudo without a
> password, which typically is only root. Luckily for us, init runs as root.
>
> /home/freevo/freevostart (this is where the real action is):
> ------------------------------------------------------------
> #!/bin/bash
>
> # Set some env. variables
> export OPENGL_PROFILE=nvidia
> export SDL_NOMOUSE=1
> export USERNAME=${USER}
>
> . /home/${USERNAME}/.bashrc
> cd ~
> /usr/bin/fbset 800x600
> /usr/bin/freevo
>
> This will set up a couple env. variables that are needed, source the
> .bashrc (since it contains some more env.variables), make sure the
> framebuffer is in the correct mode, and launch freevo.
>
>
> Currently I only have one problem, that I don't think is actually
> related to this setup (after watching a movie, every button-press on the
> remote results in a line of text being printed, pushing the framebuffer
> graphics up and out of the screen. Restarting freevo solves the problem
> (shutdown, then agetty will respawn).
>
> Hope this is helpful for someone...

thanks guys
i used gdmsetup
and now freevo launches on reboot
just a few more tweaks to go.....



-- 
Kitchen activity is highlighted.  Butter up a friend.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to