LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-08-2006, 04:25 AM   #1
andystanfordjason
Member
 
Registered: Oct 2006
Location: england
Distribution: fedora 6
Posts: 38

Rep: Reputation: 15
booting to desktop


hi i am writing a program that when a live cd is put in (which i am making) it boots straight to the frame buffer then runs a program i am writing. what do i have to do to get this to work? i guess there are some scripts i have to midify but im not sure what they are. also im thinking of modifying a slax live cd to do this. thanks very much
 
Old 11-09-2006, 12:13 AM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
You have to set the run level in Slackware as it defaults to runlevel 3.

Make graphical logins possible: edit /etc/rc.d/rc.4 to make the kdm session manager the first choice if that's what you want for the session manager, I always do;-) Then edit /etc/inittab to change the "default runlevel" from a "3" to a "4" like this:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

After doing this the other virtual terminal (except tty 6) are disabled. Just add a 4 in between the other 3 and 5. 1235 becomes 12345 for each tty. If graphical logins are not enabled, the command xwmconfig can be run as each user so that the default window manager is set to KDE, GNOME, etc. The other thing is to have it automatically login to a default user. That can be set up through KDE for sure, but I've never done it. Looks simple enough to do in the menus. That can also be configured to not use a password ;-)

Last thing you're going to want to do is have KDE run a program on start up. I'm actually not sure how to set this to come up with, say, Firefox each time I log in, but I'm sure it's easy enough to figure out for your program.

Hopefully that will get you going ;-) Let me know if it doesn't:-O
 
Old 11-09-2006, 04:00 AM   #3
andystanfordjason
Member
 
Registered: Oct 2006
Location: england
Distribution: fedora 6
Posts: 38

Original Poster
Rep: Reputation: 15
thanks a lot, im on it and will get back to you
 
  


Reply



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
booting directly into desktop streetmagic Mandriva 11 07-14-2005 08:42 PM
booting lycoris desktop/lx from lilo combrains Linux - General 2 09-24-2004 09:28 PM
Computer locks up after booting SuSE 9.0 to the desktop. massageman Linux - Software 2 01-26-2004 07:56 PM
red hat 9 desktop freezes after booting into it mjp Linux - General 2 11-17-2003 02:45 PM
installing red hat from a desktop file NOT from booting the CD maoinchina Red Hat 2 10-02-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:43 PM.

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
Open Source Consulting | Domain Registration