Solved

xwindow scripts

Posted on 2004-08-11
4
203 Views
Last Modified: 2010-04-22
Im am wanting to launch spesific programs for spesific users logging in on X.
I have found many fourms saying that /etc/profile file is the place to put the command lines but this will load up the same for every user. So is there a file which does this (like .bashrc). and if this is not the case is there a way to do it using the profile file. using the current enviroment.
0
Comment
Question by:Acorns1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 11773854
Editing the .bash_profile in a user's home dir would work, but probably isn't the best way to do this if the programs need to be run under X. In that case it would be better to use the window manager's "startup programs" controls.
0
 
LVL 2

Accepted Solution

by:
sneeuw_chan earned 50 total points
ID: 11957390
On most X systems, the file is called ~/.xsession or ~/.xinitrc, depending on how the X server is started.  If not, you'll have to look around in the system dirs such as /etc/X11/... or something.
0

Featured Post

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question