Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory making the application session independent Post 31350 by auswipe on Wednesday 6th of November 2002 11:03:13 AM
Old 11-06-2002
Re: making the application session independent

Quote:
Originally posted by bokhari_jawad
Hi all,

I am actually new to Unix programming and this is my first question to this forum.

I have an application and i want it to run independent of the command shell.

For example, i run the application from a telnet session. But when i close my session, application is terminated. I just want it not to terminate on session termination..

Thanks,
I have used nohup with great success. Another way to do it is to use `screen` that allows you to run an application and then disconnect the virtual screen and come back to it at a later time as if you had never disconnected.

screen is handy when you want to run an interactive program and then exit the telnet session and come back to it later.

In fact, right now screen is running the Unreal Tournament 2003 Dedicated Server on my FreeBSD box at the house. screen works like a champ.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Making Application by bash

I'm using Mac OSX. And i want to make an visual application based on bash command. But, apple script doesn't support Terminal command. So please tell me how to turn my dream into a reality. :o I mean purely by bash! (0 Replies)
Discussion started by: Euler04
0 Replies

2. Shell Programming and Scripting

sqlplus session being able to see unix variables session within a script

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

3. UNIX for Dummies Questions & Answers

Machine Independent??

Hi What do we mean when we say " Unix is Machine Independent?" Can anybody explain with example? Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies

4. Linux

Launch application in gnome session of another user.

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

5. Shell Programming and Scripting

Hiding Directories on a Session by Session basis

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

6. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

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

7. Shell Programming and Scripting

Determining if session is a login session

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

8. Shell Programming and Scripting

Session independent process

Hi i am trying to run a report which takes approx 5 hours to complete so what i did i put that reporting command in background and then this reporting process started executed in background but the problem is when i close that session that background job lost :( .... please help me that... (3 Replies)
Discussion started by: aishsimplesweet
3 Replies

9. Solaris

Difference between the desktop session and console session

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
gnome-session-remove(1) 					   User Commands					   gnome-session-remove(1)

NAME
gnome-session-remove - remove session-managed applications SYNOPSIS
gnome-session-remove [--list] [application] [gnome-std-options] DESCRIPTION
gnome-session-remove enables you to remove a desktop application from the current desktop session. This means that the specified applica- tion is not restarted automatically during the next desktop session. OPTIONS
The following options are supported: --list Display a list of the applications that are currently session-managed. gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information. OPERANDS
The following operands are supported: application The name of the application to be removed from the current desktop session. EXAMPLES
Example 1: Listing the Current Session-Managed Applications example% gnome-session-remove --list Currently registered clients: nautilus gnome-panel metacity gnome-smproxy magicdev Example 2: Removing an Application From the Session example% gnome-session-remove nautilus 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-rExecutable to remove session-managed applications ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-session | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. gnome-session(1), gnome-std-options(5) NOTES
Written by Erwann Chenede, Sun Microsystems Inc., 2004. SunOS 5.10 7 Sep 2004 gnome-session-remove(1)
All times are GMT -4. The time now is 02:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy