LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-29-2002, 03:07 AM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
what is the start-up script for slack?....


Hi. Is rc.local where i put stuff I want to start on boot-up? Like I want xscreensaver to start up automatically when i startx. What is the official file you should put programs you want to 'auto-start' upon lauching X?

thank you
 
Old 07-29-2002, 10:16 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
/etc/rc.d/rc.local
 
Old 07-29-2002, 11:27 AM   #3
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
Ummmm????
no the above post is wrong.

If you want to start an application each time you launch X you will need to do the following.

If you run a disply manager like xdm, kdm, or gdm then make a file in your home directory called

.xsession

and in that file, place the following lines
#!/bin/sh
exec programname &

exec windowmanager
#eg exec gnome-session

Then save this file and both the program and the particular WM/DE should start.

If your system boots up to console and you dont use a display manager, then the process is the same, however the file in the home dir should be called .xinitrc instead
 
Old 07-29-2002, 11:43 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Yeah my bad, the rc.local is only for bootup without X...
 
Old 07-29-2002, 11:09 PM   #5
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
I put xscreensaver & in my .xinitrc file and it doesn't launch the xscreensaver dameon on x start-up. I have even tried exec xscreensaver to no avail.


thanks.
 
Old 07-29-2002, 11:33 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
try to put xscreensaver -nosplash & in your .xinitrc file.
 
  


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
slack won`t start. ftbreak Linux - Newbie 5 02-04-2005 10:27 PM
getting postgres to start in slack 10 derfaust Slackware 3 02-04-2005 02:07 PM
I'm not sure what to do - Slack won't start up Lintux Slackware - Installation 13 01-29-2005 01:08 PM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 11:00 AM
Can't get X to start in slack 9.1 zwyrbla Linux - Newbie 3 08-21-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:16 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
Open Source Consulting | Domain Registration