9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
2. Red Hat
Hi all, im pretty new to unit/redhat 6.2
I am trying to load a script upon startup of my redhat 6.2
(instance in ec2 AWS if someone cares)
I want everytime when instance starts (after stop/reboot) a script i build to launch. when i run the script ./scriptname the script runs and everything is... (4 Replies)
Discussion started by: hookedatwalla
4 Replies
3. Shell Programming and Scripting
New in Unix, I am adding a line "route add 57.14.y.y 57.14.x.x" every day after rebooting the system. Where can I add the line so during boot up (the system is re-started every day by design (???) the line is executed? (I tried the /etc/rc2.d/S90 but for some reason the line needs to be added... (2 Replies)
Discussion started by: texaspanama
2 Replies
4. AIX
I have a command in my iniitab as follows:
dsmc:2a:once:/usr/tivoli/tsm/client/ba/bin/dsmc sched > /dev/null 2>&1
But the command doe not appear to execute during a system boot. Not sure why. I am running AIX 5.1
Thanks for the help
Mike (2 Replies)
Discussion started by: mhenryj
2 Replies
5. Linux
:) hey guys..
i would really like to know how to solve this problem infact I have been racking my brains trying to configure the desktop by itself as a network with both windows and linux and epoc (psion as a databse) AND, have reached some quite fancy levels of command structure and execution... (2 Replies)
Discussion started by: moxxx68
2 Replies
6. UNIX for Dummies Questions & Answers
how to add an GUI application in a lynx 9.0 server start up. replies appreciated.
raguram R (4 Replies)
Discussion started by: raguramtgr
4 Replies
7. UNIX for Dummies Questions & Answers
Does anyone know if logs are kept of the startup scripts in init.d? (3 Replies)
Discussion started by: blakmk
3 Replies
8. UNIX for Dummies Questions & Answers
Hello there !
I am new in this Unix world and just start learning Unix. I have very simple question about changing PS1 variable (Shell Prompt)
i have local.profile file in my working directory, i open in vi edit mode and add this line PS1="Hello:>" and i save that file.
I disconnected from... (2 Replies)
Discussion started by: abidmalik
2 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I'm experiencing a strange problem with CDE on a Solaris workstation. The Desktop is bigger than the screen. In otherwords, when I open an xterm half of the xterm window appears half off the screen. When I move the mouse up to the top of the new xterm the control panel scrolls off the... (1 Reply)
Discussion started by: radimus
1 Replies
GNOME-SESSION(1) General Commands Manual GNOME-SESSION(1)
NAME
gnome-session - Starts up the GNOME desktop environment
SYNOPSIS
gnome-session [--autostart=DIR] [--default-session-key=KEY] [--failsafe|-f] [--debug]
DESCRIPTION
The gnome-session program starts up the GNOME desktop environment. This command is typically executed by your login manager (either gdm,
xdm, or from your X startup scripts). It will load either your saved session, or it will provide a default session for the user as defined
by the system administrator (or the default GNOME installation on your system).
The default session is defined in the GConf keys under /desktop/gnome/session. When saving a session, gnome-session saves the currently
running applications in the $XDG_CONFIG_HOME/gnome-session/saved-session directory.
gnome-session is an X11R6 session manager. It can manage GNOME applications as well as any X11R6 SM compliant.
OPTIONS
The following options are supported:
--autostart=DIR
Start all applications defined in DIR, instead of starting the applications defined in /desktop/gnome/session/default_session, or
via the --default-session-key option. Multiple --autostart options can be passed.
--default-session-key=KEY
Sets the GConf key from which applications running a default session should be read to KEY. If not specificed, /desktop/gnome/ses-
sion/default_session will be used.
--failsafe
gnome-session will run in fail-safe mode. User-specified applications will not be started.
--debug
Enable debugging code.
ENVIRONMENT
gnome-session accepts all of the standard environment variables used by gnome programs, other than the SESSION_MANAGER environment vari-
able. gnome-session also sets several environment variables for the use of its child processes.
SESSION_MANAGER
This variable is used by session-manager aware clients to contact gnome-session.
DISPLAY
This variable is set to the X display being used by gnome-session. Note that if the --display option is used this might be different
from the setting of the environment variable when gnome-session is invoked.
SEE ALSO
gnome-session-properties(1) gnome-session-save(1) gnome-wm(1)
BUGS
If you find bugs in the gnome-session program, please report these on http://bugzilla.gnome.org.
GNOME GNOME-SESSION(1)