LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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, 09:38 AM   #3
u03pje
Member
 
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?

Cheers
 
Old 11-02-2009, 11:27 AM   #4
AngTheo789
Member
 
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, 12:08 PM   #5
u03pje
Member
 
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?
 
  


Reply


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 06:44 PM
Auto start an application in X VictorLemar Puppy 3 09-13-2008 12:22 AM
auto start application acrors Fedora 10 10-11-2004 12:22 PM
Adding an application to auto-start on boot-time dushkinup Linux - Newbie 4 03-07-2004 08:55 PM
auto application(timed by day) running krome Mandriva 1 01-31-2004 05:21 PM


All times are GMT -5. The time now is 04:40 AM.

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