LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start Command (https://www.linuxquestions.org/questions/linux-newbie-8/start-command-244551/)

David@330 10-19-2004 05:16 AM

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

darthtux 10-19-2004 05:30 AM

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.

David@330 10-19-2004 06:46 AM

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.........!

darrenjhopkins 10-19-2004 06:51 AM

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?

David@330 10-19-2004 08:23 AM

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.
.................???????

drj000 10-19-2004 11:29 AM

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.


All times are GMT -5. The time now is 12:24 PM.