Solved

xwindow scripts

Posted on 2004-08-11
4
189 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centos Boot Error 42 122
Need bundled ATFTP tool for use with ESXi 4 91
whats a headless user in linux 3 273
add some character at the end of line in vi 7 80
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 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