Results 21 to 30 of 38
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-19-2003 #21Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
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.
- 01-19-2003 #22Just Joined!
- Join Date
- Aug 2002
- Posts
- 26
Dolda2000, thanx man, that worked, and to think it was tha easy and im trying to rewrite files and stuff, hahahaha
- 01-22-2003 #23Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
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.
- 01-22-2003 #24Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
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.
- 01-22-2003 #25Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Are those run when you log in to X?
- 01-22-2003 #26Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
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.
- 01-22-2003 #27Linux 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?
- 01-22-2003 #28Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
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.
- 01-22-2003 #29Linux 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.
- 01-22-2003 #30Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
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.


Reply With Quote
