LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Are there fist time autologin script? (https://www.linuxquestions.org/questions/linux-newbie-8/are-there-fist-time-autologin-script-581673/)

bbmak 09-02-2007 12:16 PM

Are there first time autologin script?
 
I am using xubuntu 7.04.
I want to know are there script that will automatic to login xubuntu the first time after install.
I want to perform some post installation and uninstallation.

b0uncer 09-02-2007 12:21 PM

If you mean graphical automatic login, you can set up that in the login manager's settings. There's a graphical utility to do that, but you can probably get it done just as easily by editing the configuration file of your graphical login manager (it depends on what you use, kdm, gdm, xdm, ...)

I'm fairly sure Xubuntu does use graphical login, but not sure what. gdm maybe?

bbmak 09-02-2007 01:22 PM

Quote:

Originally Posted by b0uncer (Post 2878763)
If you mean graphical automatic login, you can set up that in the login manager's settings. There's a graphical utility to do that, but you can probably get it done just as easily by editing the configuration file of your graphical login manager (it depends on what you use, kdm, gdm, xdm, ...)

I'm fairly sure Xubuntu does use graphical login, but not sure what. gdm maybe?

I actually need a script because i am going to put the script in my installation source in the server. So I can deploy new fresh ubuntu with the new setting, without going through every computer to run my post script.

chrism01 09-02-2007 08:44 PM

some distros eg RH derived ones have a file
/etc/rc.local
which is for you to put any extra boot-up cmds you want running that aren't part of the supplied install.
Another option is to add your own startup file to the correct
/etc/rc.d
directory. See the existing ones there for example code.


All times are GMT -5. The time now is 06:02 AM.