Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > startup appz HELP???

Forgot Password?
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-19-2003   #21 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
ha! so i was right, it was being stupid about not being logged into X

Failing all else you could write a script that loads with rc.local and waits until after you login to X to start it (this is a hack, there are better ways, i just have never had an app i wanted starting when linux starts)
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline  


Reply With Quote
Old 01-19-2003   #22 (permalink)
Just Joined!
 
Join Date: Aug 2002
Posts: 26
Send a message via AIM to smonice
Dolda2000, thanx man, that worked, and to think it was tha easy and im trying to rewrite files and stuff, hahahaha
smonice is offline   Reply With Quote
Old 01-22-2003   #23 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
there has to be a way to do this generically - to start an app after you login to X? .xinitrc didn't do it like i thought it would - any other ideas?
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-22-2003   #24 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
ok, i dont know why i am making this so hard - put it in the shell login

.login
.cshrc
.bashrc

whatever your shell uses...

I really dont know why I didn't do this in the first place, i just spent the last 20 minutes reading up on .xsession or .xinitrc files...
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-22-2003   #25 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Are those run when you log in to X?
Dolda2000 is offline   Reply With Quote
Old 01-22-2003   #26 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
yes, logging in reads the shell startup fiile, because the window manager is actually started by a shell script (this is i believe where it ist, i am going to take some time to lookup exactly how redhat starts X on bootup when i get a chance)
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-22-2003   #27 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
But doesn't that mean, on the other hand, that those programs are started every time you start an xterm, too?
Dolda2000 is offline   Reply With Quote
Old 01-22-2003   #28 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
you know that is why i didn't tell him that the first time around

i did that at work as a shortcut for some of our simulation machines, I also found out why .xsession wasn't working and it's a rather odd mistake, so in theory you could define a

.xinitrc or .xsession file to do it

also kde has a .kde/Autostart folder

( spent 25 minutes today figuring my files were wrong only to discover that the other system guy who works with us created new login because he didnt remember the passwords for our simulation accounts - so he was logged into the machines as controller4 while i was editing the files for ctrl4.... oops )
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-22-2003   #29 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
If you have an .xsession file, doesn't that override anything else, ie. not start gnome-session (if you're using gnome). I think that's what I read in GNOME's session files last I read them, at least.
Dolda2000 is offline   Reply With Quote
Old 01-23-2003   #30 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
i believe so - but you could copy the system xsession file to your directory adn modify it (similar to copying named.conf.sample to named.conf)
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:06 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2