LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-19-2004, 05:16 AM   #1
David@330
Member
 
Registered: Jul 2004
Location: South Africa
Posts: 146

Rep: Reputation: 15
Cool Start Command


Hi All

Were can I find the startup command program in gnome under Linux Redhat 9.x..??? Cause I am trying to add a program to startx when you log into Linux's startx session.....!!!

Thanks
 
Old 10-19-2004, 05:30 AM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I dont't know if this is what you are looking for. If you don't have a file in your home directory named .xinitrc (starts with a dot) then create one. In it you put

command &
command &
exec gnome-session

This will start the commands and gnome.
 
Old 10-19-2004, 06:46 AM   #3
David@330
Member
 
Registered: Jul 2004
Location: South Africa
Posts: 146

Original Poster
Rep: Reputation: 15
No
If you know windows their is a menu in your programs menu called startup, and their you put the files or programs that you want to startup when you login to windows....that's what I am looking for.........!
 
Old 10-19-2004, 06:51 AM   #4
darrenjhopkins
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Hi David,

Do you want each user to have separate programs that run upon logging in, or as a general rule for all users?

It is possible to set variables for each user in their .profile file
When logged in type: cd ~
then: ls-al

you should then see the .profile file which you can edit. This is run each time that user logs in so you can set variables, etc. Perhaps you could include a script to run a certain app when somebody logs in?
 
Old 10-19-2004, 08:23 AM   #5
David@330
Member
 
Registered: Jul 2004
Location: South Africa
Posts: 146

Original Poster
Rep: Reputation: 15
Ok
But what do they mean when they say :

You may find it helpful to configure your guest operating system so VMware Tools starts when you start your X server. The steps for doing so vary depending on your Linux distribution and your desktop environment. Check your operating system documentation for the appropriate steps to take.

For example, in a Red Hat Linux 7.1 guest using GNOME, follow these steps.

1. Open the Startup Programs panel in the GNOME Control Center.

Main Menu (click the foot icon in the lower left corner of the screen) > Programs > Settings > Session > Startup Programs
2. Click Add.
3. In the Startup Command field, enter vmware-toolbox.
4. Click OK, click OK again, then close the GNOME Control Center.

The next time you start X, VMware Tools starts automatically.
.................???????
 
Old 10-19-2004, 11:29 AM   #6
drj000
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
I use Red Hat Fedora, so I'm not sure if it's exactly the same, but it should be similair. Here's how I do it. Go to Preferences under the menu, and select Sessions. Go to the "Startup Programs" tab, and add them there.
The other way, the one I prefer, is to make sure all the programs I usually use are open when I log out, and when I log out, check "Save current setup." All the programs currently open will open back up, usaully in the exact same state you left them, when you log in next time.
 
  


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
Why after start of a command the invitation for input next command has not appeared. ukrainet Linux - General 3 06-24-2005 08:16 AM
command to start firefox? nagromo Linux - Software 8 09-20-2004 05:13 AM
How to start up in to command line? prettyhatem Linux - Newbie 5 09-07-2004 02:01 PM
what is the command to start edonkey2000 lil213 Mandriva 0 11-21-2003 01:40 AM
start with a command prompt Bashkir Linux - General 1 05-14-2001 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 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
Open Source Consulting | Domain Registration