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-23-2003   #31 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Now that seems smooth...
I am a little surprised that there isn't a standard "hook" file name. Changing the system xsession kind of feels like changing a DTD...
Dolda2000 is offline  


Reply With Quote
Old 01-23-2003   #32 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
i also thought so, which is what i believe

.xinitrc

is supposed to di, but again all my changes that didnt do diddly were on a different hoem dir then i though so maybe tomorrow I'll try that again
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-23-2003   #33 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
When I looked through /etc/X11/xdm/Xsession this time, I found that it looks through /etc/X11/xinit/xinitrc.d/ for scripts to hook. Although that's system-wide, one could at least put a user hook there without changing Xsession.
Dolda2000 is offline   Reply With Quote
Old 01-23-2003   #34 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
I saw that, but I do not recall where that gets executed in the x startup process - many apps need it to be called after the display is opened, so that someone owns the display
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-23-2003   #35 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Of course. It's run at login time. What else could you possible want?
Dolda2000 is offline   Reply With Quote
Old 01-24-2003   #36 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
it could be run when the x server itself starts, during bootup - and in some apps case that's a problem as the display isnt setup yet
__________________
majorwoo

Quiet brain, or I\'ll stab you with a Q-tip.
majorwoo is offline   Reply With Quote
Old 01-24-2003   #37 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Isn't that rather a problem with all apps, since it's not defined where to find the X autorization file before login, or have I missed something (of course, gdm _could_ set the env var, but it's still weird)?
And why would you want to run an X app before logging in?
Dolda2000 is offline   Reply With Quote
Old 01-24-2003   #38 (permalink)
Linux User
 
Join Date: Jul 2002
Location: Daytona Beach, FL
Posts: 487
Send a message via AIM to majorwoo
no, i cant think of an X program to start before login -- but there is a script to call programs on X startup(that dont need X) and on login, that is the reason for all the different files i believe

not that i can think of a goof example, but mayve when X starts you want some sort of a timestamp, as opposed to when someone logs into X - like i said, bad example
__________________
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 11:00 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2