Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2005, 08:57 PM
|
#1
|
Member
Registered: Jul 2004
Location: Victoria, OZ
Distribution: Slackware x64_Current
Posts: 82
Rep:
|
auto logon
I am in the current planing stages of making a stereo mp3 player, and run it run linux. So I was wondering if it can be set to auto logon without any input, because it will not have a keyboard attached. It will not be connected to anything so there are not security issues. I found info on "cajun", but was wondering if there is another way?
cheers
|
|
|
02-24-2005, 09:17 PM
|
#2
|
Member
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289
Rep:
|
Now this will be interesting. Sorry I have no idea what to do with this, but I wanted to ask you a favor and see if you would keep this thread updated on the success/failure of the project.
-onelung
|
|
|
02-24-2005, 09:55 PM
|
#3
|
Member
Registered: Sep 2003
Posts: 173
Rep:
|
Is this going to be in a car? Will it have a monitor and mouse?
One used to be able to set up kde to show a username for default and that matched with a blank password would get you in. There might be a way to get xdm to do it if you don't want/can't run kde on the machine.
|
|
|
02-24-2005, 10:01 PM
|
#4
|
Member
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662
Rep:
|
KDM will definitely allow you to autologin without a password. Of course, that requires that you install KDE... though it is possible to set it up so you aren't actually running KDE, just using KDM as your login manager.
|
|
|
02-24-2005, 10:14 PM
|
#5
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Could you run a script at startup that will log you in automatically? Perhaps a thread that waits 10s or so to trigger? Not sure but might be worth a try.
|
|
|
02-24-2005, 10:38 PM
|
#6
|
Member
Registered: Sep 2003
Posts: 173
Rep:
|
I think you might be able to change /etc/inittab and modify one of the agetty lines:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
If you read the man for agetty it has some options to not ask for a login name, etc.
You might even replace it with something completely different too.
|
|
|
02-25-2005, 12:19 AM
|
#7
|
Member
Registered: Jul 2004
Location: Victoria, OZ
Distribution: Slackware x64_Current
Posts: 82
Original Poster
Rep:
|
killerbob, thought of that, however I was alittle worried that it might make the whole start up to long. I want to keep, the start-up as fast as possible, with the least amount of things running, so there is less to go wrong.
mdarby, will have to look into a script, I will proberly need one to handle coping mp3's into the unit.
coffeedrinker, No, it will be for home, I am planning to have a inbuilt LCD screen into the unit, and thats it. will look into the agetty line, sounds like it might work.
Still have to find a program that will automaticly start Lcdproc and XMMS, though. hopefully something that will run on the lcd and allow me to have other options as well.
cheers for all the info, so far.
|
|
|
02-25-2005, 12:28 AM
|
#8
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
You could put something like this on your /etc/rc.d/rc.local file (this is the latest thing executed on boot so all will be loaded):
Code:
su - youruser -c 'source /etc/profile ; source /home/youruser/.bash_profile ; startx'
The sources are optional but recommended
Oh and the startup programs could be there too (actually you should put XMMS in your .xinitrc so it'll loaded when X does).
|
|
|
02-25-2005, 03:53 PM
|
#9
|
Member
Registered: Sep 2003
Posts: 173
Rep:
|
If you start up agetty with some command line parameters for the login program you can get login to start with a specific user and without authorization.
man agetty
man login
|
|
|
02-26-2005, 04:22 AM
|
#10
|
Member
Registered: Jul 2004
Location: Victoria, OZ
Distribution: Slackware x64_Current
Posts: 82
Original Poster
Rep:
|
thats sounds like it will work, now I have to figure out how the rest of the programing will work. Theres alot more reading for me to do yet.
thanks everybody
|
|
|
03-11-2007, 10:41 PM
|
#11
|
LQ Newbie
Registered: Mar 2007
Posts: 3
Rep:
|
how to make auto run for drivers!
Hi everybody,
Now I am using TS-7200 for development and its TS_kernel version is 2.4.23 and based on RedHat. It has LCD display and 4x4 keypad for user interface. There is no compiler on the board and have to make development in Host computer. My host's linux is fedora (ver:5) and have communication of RS-232 and telnet with the board (RS-232 is default display for booting and login).
Here is my question. I want to see the boot and login mesg from LCD Display instead of Host monitor and, want to use 4x4 keypad instead of keyboard. I would like to make TS-7200 be independent of host computer and it can be run stand-alone. In order to do this, I need autorun for login and drivers for lcd display and 4x4 keypad. Currently I can make auto-login but cannot load driver during login. Could anybody give me the guide( way ) to make autorun?
Thanks for your considerations and time!
P.S: I am a newbie in Linux.
Best Regards,
Kyaw kyaw
|
|
|
All times are GMT -5. The time now is 01:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|