10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi, i am on AIX 5.3. I would like to write scripts that initiate or reattach to a screen session to run some commands either from unix or Universe. Can anyone assist me with a with a wuick primer on this. I can attach or initiate a screen manually and then run the commands but I would like to... (6 Replies)
Discussion started by: dustytina
6 Replies
2. Shell Programming and Scripting
Hi All,
I want to capture all the operations performed in the terminal. So to achieve this I used “script” command. This works as I expected. But this command captures all the standard output which is redirected to terminal. For example if i “tail” a file, even the tail output is getting... (2 Replies)
Discussion started by: kalpeer
2 Replies
3. Shell Programming and Scripting
Hi - i have an unix application which receives user input and prints certain details. the problem is i am trying to automate it and i don't know how to pass a list of commands to the application using shell script. here documents don't work as well - if i use the here document when i am opening... (3 Replies)
Discussion started by: azzazin007
3 Replies
4. AIX
We recently moved servers to a new data center, and now we're experiencing user sessions timing out after non-activity. We didnt experience this before, or know of any timeout settings that may have been changed.
Any things I can check out on the server? (3 Replies)
Discussion started by: NycUnxer
3 Replies
5. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
6. UNIX for Dummies Questions & Answers
Hi
Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ? :eek: (2 Replies)
Discussion started by: mlucas
2 Replies
7. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
8. Shell Programming and Scripting
Hi,
we have our shell sessions timing out after every 5 minutes , if there is no activity.
Is there any way i can keep my session for longer than 5 minutes or untill i end the session.
may be any dummy program that runs background and doesn't take up lot of resources or any ideas.
... (6 Replies)
Discussion started by: thomaso
6 Replies
9. Shell Programming and Scripting
Hi all,
Hope that we are all familiar with the "script" command, which helps us to record the session into any file, until we give "exit".
Can anyone help me, how to do this process from a shell script!? I face problem while ending the script using "exit" which comes out of the program. This... (3 Replies)
Discussion started by: mohanprabu
3 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I've login to Unix using login name guest and I'm working on it,
I need another session to run some script hence tried to login
but password invalid it says here my question is :
Since I'm in working in one session can I set the password without knowing old password? is there any... (1 Reply)
Discussion started by: krishna
1 Replies
GNOME-SESSION(1) General Commands Manual GNOME-SESSION(1)
NAME
gnome-session - Start the GNOME desktop environment
SYNOPSIS
gnome-session [-a|--autostart=DIR] [--session=SESSION] [--failsafe|-f] [--debug] [--whale]
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 gnome.session, a .desktop-like file that is looked for in $XDG_CONFIG_HOME/gnome-session/sessions,
$XDG_CONFIG_DIRS/gnome-session/sessions and $XDG_DATA_DIRS/gnome-session/sessions.
When saving a session, gnome-session saves the currently running applications in the $XDG_CONFIG_HOME/gnome-session/saved-session direc-
tory.
gnome-session is an X11R6 session manager. It can manage GNOME applications as well as any X11R6 SM compliant application.
OPTIONS
The following options are supported:
--autostart=DIR
Start all applications defined in DIR, instead of starting the applications defined in gnome.session, or via the --session option.
Multiple --autostart options can be passed.
--session=SESSION
Use the applications defined in SESSION.session. If not specified, gnome.session will be used.
--failsafe
Run in fail-safe mode. User-specified applications will not be started.
--debug
Enable debugging code.
--whale
Show the fail whale in a dialog for debugging it.
SESSION DEFINITION
Sessions are defined in .session files, that are using a .desktop-like format, with the following keys in the GNOME Session group:
Name Name of the session. This can be localized.
RequiredComponents
List of component identifiers (desktop files) that are required by the session. The required components will always run in the ses-
sion.
Here is an example of a session definition:
[GNOME Session]
Name=GNOME
RequiredComponents=gnome-shell;gnome-settings-daemon;
The .session files are looked for in $XDG_CONFIG_HOME/gnome-session/sessions, $XDG_CONFIG_DIRS/gnome-session/sessions and
$XDG_DATA_DIRS/gnome-session/sessions.
ENVIRONMENT
gnome-session 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.
FILES
$XDG_CONFIG_HOME/config/autostart $XDG_CONFIG_DIRS/config/autostart /usr/share/gnome/autostart
The applications defined in those directories will be started on login. gnome-session-properties(1) can be used to easily configure
them.
$XDG_CONFIG_HOME/gnome-session/sessions $XDG_CONFIG_DIRS/gnome-session/sessions $XDG_DATA_DIRS/gnome-session/sessions
These directories contain the .session files that can be used with the --session option.
$XDG_CONFIG_HOME/gnome-session/saved-session
This directory contains the list of applications of the saved session.
BUGS
If you find bugs in the gnome-session program, please report these on https://bugzilla.gnome.org.
SEE ALSO
gnome-session-properties(1) gnome-session-quit(1)
GNOME GNOME-SESSION(1)