Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] auto login

136 views
Skip to first unread message

gen...@kd4ccd.dynalias.org

unread,
Jul 3, 2006, 9:00:16 PM7/3/06
to
How do I auto login and start a single X11 related program EX oxine.
I have it all configured to run but I still have to login and startx for it
to work.


Can Anyone help
rob
gen...@kd4ccd.dynalias.org
--
gento...@gentoo.org mailing list

Thomas Cort

unread,
Jul 3, 2006, 9:00:19 PM7/3/06
to
On Mon, 3 Jul 2006 20:49:12 -0400
gen...@kd4ccd.dynalias.org wrote:
> How do I auto login and start a single X11 related program EX oxine.
> I have it all configured to run but I still have to login and startx for it
> to work.

You can use gdm. Just `emerge gdm`, set DISPLAYMANAGER="gdm"
in /etc/rc.conf, make it start at boot with `rc-update add xdm
default`, and then start it up and configure it with `/etc/init.d/xdm
start`. In one of the configuration screens you can set it to
automatically log a user in when it is first started.

-tcort

Michael Crute

unread,
Jul 3, 2006, 9:10:08 PM7/3/06
to
On 7/3/06, gen...@kd4ccd.dynalias.org <gen...@kd4ccd.dynalias.org> wrote:
> How do I auto login and start a single X11 related program EX oxine.
> I have it all configured to run but I still have to login and startx for it
> to work.

Try searching for auto login in this [1] document.

[1] http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch


--
________________________________
Michael E. Crute
http://mike.crute.org

I may not have gone where I intended to go, but I think I have ended
up where I intended to be. --Douglas Adams
--
gento...@gentoo.org mailing list

Neil Bothwick

unread,
Jul 4, 2006, 3:30:07 AM7/4/06
to
On Mon, 3 Jul 2006 20:57:43 -0400, Thomas Cort wrote:

> You can use gdm. Just `emerge gdm`, set DISPLAYMANAGER="gdm"
> in /etc/rc.conf, make it start at boot with `rc-update add xdm
> default`, and then start it up and configure it with `/etc/init.d/xdm
> start`. In one of the configuration screens you can set it to
> automatically log a user in when it is first started.

You can do the same with KDM, tick the auto-login box in the KDE Control
Centre. You can start the program from ~/.kde/Autostart, or leave it
running when you log out and the default KDE behaviour is to restart it
when you log back in.


--
Neil Bothwick

Top Oxymorons Number 7: Definite maybe

signature.asc

Nick Rout

unread,
Jul 4, 2006, 7:30:08 AM7/4/06
to
On Mon, 3 Jul 2006 20:49:12 -0400
gen...@kd4ccd.dynalias.org wrote:

> How do I auto login and start a single X11 related program EX oxine.
> I have it all configured to run but I still have to login and startx for it
> to work.
>
>
> Can Anyone help
> rob
> gen...@kd4ccd.dynalias.org

If you only want one X program running, and therefore do not need a window manager etc, then run startx from /etc/init.d/local

that script is run by root so you will want to use su to switch to the user you want to run as and then run startx, something like

su - username startx

forget all that autologin with kdm bollocks, it is not needed if you have described your problem accurately (ie you want to run one program only)


> --
> gento...@gentoo.org mailing list
>
--
gento...@gentoo.org mailing list

gen...@kd4ccd.dynalias.org

unread,
Jul 4, 2006, 1:20:10 PM7/4/06
to
On Tuesday 04 July 2006 07:21, Nick Rout wrote:
> On Mon, 3 Jul 2006 20:49:12 -0400
>
> gen...@kd4ccd.dynalias.org wrote:
> > How do I auto login and start a single X11 related program EX oxine.
> > I have it all configured to run but I still have to login and startx for
> > it to work.
> >
> >
> > Can Anyone help
> > rob
> > gen...@kd4ccd.dynalias.org
>
Thanks for all the help I got it to work.
--
gento...@gentoo.org mailing list

Nick Rout

unread,
Jul 5, 2006, 10:30:10 PM7/5/06
to

and thanks for the pointer to oxine. Interesting app.


> --
> gento...@gentoo.org mailing list

--
Nick Rout <ni...@rout.co.nz>

--
gento...@gentoo.org mailing list

0 new messages