LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2007, 02:54 AM   #1
Plastech
Member
 
Registered: Jul 2006
Posts: 63

Rep: Reputation: 15
Question Automatic login and startx?


I am turning a (very very old and limited) debian laptop into a digital photoframe. I have all of my scripts up and running, but now I would like to have them start automatically when I boot the computer. My question is:

Can I set up debian to log into one of my user accounts automatically without gdm, kdm, or the like? This laptop is such a POS that any extra processes really strain it. I would much rather just "startx" with some scripts I set to run at boot (somehow).

Is this possible?

Thanks,
P
 
Old 05-23-2007, 03:15 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you're only going to display images ... have you considered
fbi or the like? There may be no need for X all together (and
if it's so old and underpowered .. ).


Cheers,
Tink
 
Old 05-23-2007, 03:24 AM   #3
Plastech
Member
 
Registered: Jul 2006
Posts: 63

Original Poster
Rep: Reputation: 15
Thank you, I'll look into that. I was planning on using feh.....that requires x, right?
 
Old 05-23-2007, 04:56 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
feh does indeed require X11 (to the best of my knowledge, I've
never used it).


Cheers,
Tink
 
Old 05-23-2007, 09:33 AM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Check out the nuts-n-bolts method. http://linuxgazette.net/issue72/chung.html
 
Old 05-23-2007, 01:04 PM   #6
Plastech
Member
 
Registered: Jul 2006
Posts: 63

Original Poster
Rep: Reputation: 15
Found my answer here: http://www.linuxjournal.com/article/3121
 
Old 05-23-2007, 02:17 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Good job ... and will FBI suffice, or did you resort to using X
after all? =}


Cheers,
Tink
 
Old 05-23-2007, 02:29 PM   #8
Plastech
Member
 
Registered: Jul 2006
Posts: 63

Original Poster
Rep: Reputation: 15
I think I'm going to use feh and X only because feh allows for recursive image searching and flocl by default puts all of the images it downloads in different folders. Quite frankly, I've had enough of changing defaults for a while

Thank you for your help.
 
Old 05-23-2007, 02:48 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Heh. Fair enough :}

Just bear in mind that you could always invoke fbi with
Code:
fbi `find /path/to/pix -type f -iname "*jpg"`
;}

If feh of course refreshes all directory entries to pick
up updates/additions the script for fbi would have to be
way more complex...


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
startx no longer automatic and keyboard stopped working! DiBosco Linux - General 6 02-15-2007 01:46 PM
Automatic login? Cooljerk Linux - Newbie 3 09-14-2005 05:52 PM
Automatic -dpi option for startx Zoombie Linux - Software 2 07-13-2003 02:54 AM
startx automatic? lanif Linux - Newbie 6 03-26-2003 07:12 PM
Automatic Login SlavaVB Linux - General 2 03-12-2002 12:10 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration