Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-02-2009, 07:22 AM   #1
Registered: Oct 2009
Location: Aberdeen
Distribution: RHEL
Posts: 36

Rep: Reputation: 15
Auto running an application on start up


Can you run an application automatically when you load linux? In this case it would be VMPlayer?
Old 11-02-2009, 07:29 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Since vmplayer needs X, you can start vmplayer automatically when the windowmanager starts.
How to do this depends on the widowmanager you are uing.
Old 11-02-2009, 08:38 AM   #3
Registered: Oct 2009
Location: Aberdeen
Distribution: RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Hi Repo,

Using the Metacity Window Manager. Are you able to point me in the right direction to be able to do this?

Old 11-02-2009, 10:27 AM   #4
Registered: Sep 2009
Posts: 110

Rep: Reputation: 24
You can start an application at boot time, this is probably not what you want when using vmplayer. What you want, I assume, is to start an application when a user logs into an account. For that you need to add to .bashrc or .bash_profile the same calling sequence of vmplayer as you would do when starting it on a shell. It is assumed that user accounts launch directly from a GUI login, or that X-Windows is started first.
Old 11-02-2009, 11:08 AM   #5
Registered: Oct 2009
Location: Aberdeen
Distribution: RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
Hi AngTheo789,

What I would really like to do is load VM Player without user having to use the GUI log in. I realise X-Windows has to be running for this to work as well.

The reason I would like this is because the user will then log onto a virtual windows (xp) session. Authenication on the linux isn't necessary therefore.

Trying to give the illusion of Windows XP running on the machine, when in fact it's Linux using VMWare running a virtual Windows session.

Does this make sense?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How-to: Auto start-up an X Application semiRocket Slackware 6 07-03-2009 05:44 PM
Auto start an application in X VictorLemar Puppy 3 09-12-2008 11:22 PM
auto start application acrors Fedora 10 10-11-2004 11:22 AM
Adding an application to auto-start on boot-time dushkinup Linux - Newbie 4 03-07-2004 07:55 PM
auto application(timed by day) running krome Mandriva 1 01-31-2004 04:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration