9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello... and thanks in advance for any help anyone can offer me with my question! I'm hoping someone will have a little patience with me and walk me through this!
I'm trying to understand a user login process on Centos 7 and I've gotten a bit confused trying to figure out when/how a Gnome... (4 Replies)
Discussion started by: bodisha
4 Replies
2. Debian
Hi everyone. I just had a quick problem. I'm not too familiar with linux yet, otherwise I'd have this figured out by now.
I recently did the Debian 5lenny7 update with the standard debian update manager. After getting all installed and rebooted, I tried to login to my account again. Every... (3 Replies)
Discussion started by: runfaj
3 Replies
3. Solaris
what is the difference between desktop session and console session in solaris
as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies
4. Shell Programming and Scripting
Besides 'who am i' and 'tty' what commands could be used to determine if a session is interactive as compared to a web process or cron process. Any command should work with the common unix variants. (3 Replies)
Discussion started by: jgt
3 Replies
5. Shell Programming and Scripting
How to record my login session in a file named session.lst? (1 Reply)
Discussion started by: anupdas
1 Replies
6. Shell Programming and Scripting
Hi,
Apologies if anyone has read my recent post on the same subject in the Linux forum, just thought actually the solution might more likely come from scripting.
Essentially, I am trying to restrict access to directories based on the user's name AND their location on a session-by-session... (3 Replies)
Discussion started by: en7smb
3 Replies
7. Linux
A gnome session is launched by UserA of System A, I am connected to userB of System B(or A) through PUTTY. I want to launch an application for eg: gedit through Putty in the display of system A. how can I achieve this.
for eg:-
root is logged in to System A, with gdm.
DISPLAY=0.0, ip =... (4 Replies)
Discussion started by: Sivaswami
4 Replies
8. 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
9. UNIX for Advanced & Expert Users
Having a problem on AIX 4.3.3 with the following error when more than 2 users try and sign onto the server.
3004-312 All available login sessions are in use.
???? (1 Reply)
Discussion started by: Docboyeee
1 Replies
gnome-session-save(1) User Commands gnome-session-save(1)
NAME
gnome-session-save - saves or terminates the current GNOME session
SYNOPSIS
gnome-session-save [--gui] [--kill] [--session-name=name] [--silent] [gnome-std-options]
DESCRIPTION
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be later
restored at your next GNOME startup session.
OPTIONS
The following options are supported:
--gui
If specified, then any errors will be displayed in a dialog box. Otherwise, such messages are displayed to stderr. Note that this
option has no affect any dialogs that the window manager might display.
--kill
Terminates the GNOME session. The session will not be saved if this option is provided, unless the user has configured their session
to always save on logout.
-s, --session-name=name
Set name of session to save.
--silent
Avoids displaying any confirmation or dialogs, including ones that are displayed by the window manager (such as dialogs informing the
user about any windows that cannot save session, or session logout confirmation when the --kill option is also used).
gnome-std-options
Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Saving the user's current session
example% gnome-session-save
Example 2: Terminating the user's current session
example% gnome-session-save --kill
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-session-save The command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-session |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-session(1), metacity(1), attributes(5), gnome-std-options(5)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007.
SunOS 5.11 07 Nov 2007 gnome-session-save(1)