LOCK the screen or LOG OFF?

Hello All,
OS: SLES 9
What is the difference between LOCK the screen or LOG OFF?
From the server I run command (rwserver.sh server=repserver90 batch=yes &) to run my report server up or running.
Pl note: If its down I am not able to run my reports.
After that I have lock the screen.
Now I am able to use any client (windows machine) to run reports from my Oracle AS url.
I wonder if I LOG OFF from the server,
is my report server still running?
Regards,
DN

What is the difference between LOCK the screen and LOG OFF from the server?
Well, lock screen keeps all the processes running,
whereas log off from the session, would kill most processes
(not the oracle server, but most others that are still associated
with the X session).Something I want to add to that: Locking the screen also prevents other users from using that terminal session, but it depends on where you're locking the screen. If you are not running an X session and you lock the screen via flock or some similar console locking mechanism then users can't use that terminal session, but can use other terminal sessions on the same machine.
If you are running an X session and you lock the terminal via xlock or xscreensaver, you prevent users from using that computer station entirely. Also, if you're running an X session, utilities like flock become quite meaningless because they don't stop the user from opening a new terminal window.
From the server I ran command to run my report server up.
rwserver.sh server=repserver90 batch=yes &
I think if you use the command with nohup instead,
it would detach from the controlling terminal, so it
wouldn't matter whether you only lock the screen,
or log out completely.The ampersand "&" at the end of the command line throws the process into the background. Most of the time this is enough to dissociate the process from the controlling terminal enough that logging out will not kill the process, so logging out after starting the server that way should leave the server running.
Nohup's behavior changes with the environment you're using. In tcsh, it simply causes the process to ignore hangups, though it can itself be overridden by the process. In Bash, nohup will will also change the scheduling priority of the process and redirect output and error messages to "nohup.out", either in the local directory or in the $HOME directory (and if it can't write to nohup.out for some reason, it refuses to run the process).
Another method is to use the GNU "screen" command.But if you use screen, make sure that the screen command is ABSOLUTELY NOT setuid root. I know most sane distributions nowadays don't install it with setuid root anymore, but paranoia never hurt the admin.

Similar Messages

  • My Ipad keeps locking the screen every 5 sec, tried the reset did not work. any suggesstions?

    Ipad 2 keeps locking the screen or turning off every 5 sec, cannot use it. did the Reset, it does not solve the problem. any suggesstions?

    You can -
    1 restore
    2 reset by holding home button and off button together for like 10 seconds.
    3 go to settings>>general>>auto-lock>>choose never (might work..)

  • I have just updated my MBP to Maverick OS. I am unable to shutdown or log off. When i press the shutdown button, a black screen appears which goes off on pressing any key. The shutdown or log off dialog does not appear. Your kind help is much appreciated.

    I have just updated my MBP 17 / retina display to Maverick OS. I am unable to shutdown or log off. When i press the shutdown button, a black screen appears which goes off on pressing any key. The shutdown or log off dialog does not appear. Your kind help is much appreciated.

    The button response has changed. 
    Short press : sleep
    Medium press (2-3 sec) : restart, shutdown, sleep dialog
    Long press : force shutdown. (Same as before)

  • My touch5.1.1 will not play album tracks in order.  I've turned off the shuffle function and I lock the screen when I'm walking with it, but it won't play tracks in sequence.  What can I do?

    My Touch 5.1.1. has worked just fine until recently.  I have checked to see that it is not set for "shuffle" and also that the "shake to shuffle" function is turned off.  When I walk with the device, I lock the screen (all practices I've always followed), but tracks and even multiple discs for albums constantly shuffle.  Please help!

    Quickly Triple tap the home button to de-activate VoiceOver.

  • How to lock the screen in OS X?

    im new to Mac. been a PC user for over 10 yrs. I'm just wondering if OSx has a similar shortcut to lock the screen just like what you can do with "windows key+L" in XP.
    I know i can do that with screen savers or just log off. But i just wanna know if there is an easier way. Thanks.

    What about using the Sleep command?
    APPLE > SLEEP
    It puts your display and computer asleep. You can set it so that it requires you to insert your password to awake the computer from sleep mode or even your screen saver for that matter.
    Open System Preferences then go to Security section. Then find the check box that says "Require Password to wake this computer from Sleep". Check it.
    There's also an application that locks it and sets an alarm off when it is touched, tracked pad moved, keyboard or taking out your power adapter. It's called iAlertU. iAlerU - Version Tracker. You use your remote.
    Open it in your applications folder. It's then added to your menu bar. Hold down the Menu button for 2 seconds on your apple remote until you hear a car lock sound. Do the same to unlock it.
    Remember to mark as helpful or solved.
    -benny

  • How can you lock the screen on iPhone in iOS 7 while talking on the phone?

    I am struggling to figure out how to lock the screen of my iPhone 5 during a phone call. In iOS 6, I was able to push the top "on/off" button to lock the screen. In iOS 7, I am able to do this ONLY while using the speakerphone. If I push this button while talking on the phone regularly or using a headphone, it ends the call rather than locking the screen.
    I have found that I am muting calls and disconnecting calls accidentially with my "face" while holding the phone b/c the screen is so sensitive. Does anyone know a way around this?

    I dont know of a way round this, but im having the same issue of puttig people on hold when putting the phone up to my ear.
    This was an issue with the iphone 4 years ago and apple had to do an update to cure it

  • Looking for an App to Lock the Screen while Playing a Movie

    I've been looking for either an app to lock the screen (not turn the screen off like the button on top of the phone) while playing a movie or a media player that will prohibit you from pressing buttons while a movie is playing. The reason I'm looking for this is my son likes to watch movies on my iPhone while we're in the grocery store, but I spend more time restarting the movie or navigating back to the iPod app and restarting the movie than he spends watching it! He likes to press the "done" button or home button which ends the movie. So an app that would prohibit that would be GREAT, but I haven't been able to find one so far. Any suggestions?

    An app will not be able to do this.
    Sorry.

  • HT4061 how can i lock my screen on my iphone that was stolen tonite.  i already suspended service to the phone but i want to lock the screen

    how can i lock my screen on my iphone that was stolen tonite, i already suspended the service to the phone, but apparantly there is a way thru icloud to lock screen and when i log into icloud, i do not see the option to select devices.  if so, that is where i can lock the screen, but i can not seem to get to that.
    thanks
    D

    A. Only if the device is online.
    B. Only if you set up Find My Phone before the theft.
    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • Problems after upgrading to 4.2. Not able to lock the screen.

    I updated the software of my IPad to 4.2 yesterday and I can now not lock the screen, so it does not turn when moving the ipad. The button that I used to lock the screen now turns the audio off/on.
    Has anyone experience this problem and does anyone know how to solve it?
    Many thanks,
    Myra

    4.2.1 is designed to operate that way.
    The hardware switch does not turn the audio off/on. Rather, it turns the alerts (from email, etc.) on/off so that you can listen to music or movie sound without the annoying alerts.
    If you need to lock the orientation, tap the Home button twice. When the "Recent" tray appears slide it to the right. A software switch is at the extreme left.

  • My ipod 4g was working fine until i locked the screen but when i tried to turn it back on the screen stays black and its been 3 days. Does anyone know how i could fix this?

    my ipod 4g was working fine until i locked the screen but when i tried to turn it back on the screen stays black and its been 3 days. Does anyone know how i could fix this?

    - Charge the iPod for half an hour.  Then reset the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - if still not working, connect to your computer. If iTunes sees the iPod, restore the iPod.
    - If still problem, place the iPod in recovery mode and then try to restore the iPod.  For recovery mod see:
    iPhone and iPod touch: Unable to update or restore

  • My wifi keeps turning of, every time I lock the screen. What do I do?

    Every time When I lock the screen, my wifi turns off. But when I wake the the screen up and go to my apps it connects. I do not receive any notifications when this happens. Only when I am using my iPod. This all started today (April 15 2013) and I just got my iPod Saturday (April 13, 2013) how can I fix this?

    See:
    How do I make IOS 6 keep wifi on when...: Apple Support Communities

  • Ipad3 vs wifi? Everytime i lock the screen i am losing connection with my wifi

    Ipad3 vs wifi? Everytime i lock the screen i am losing connection with my wifi. It has not happened before

    Try restarting or rebooting your iPad. See if that helps.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • TS1702 downloaded a trainer app and it's stoped working once locking the screen

    downloaded a trainer app and it's stopped tracking and working once locking the screen .

    Hello guy1965,
    Thank you for using Apple Support Communities!
    It sounds like you are getting some unexpected behaviour from an app you downloaded from the App store. I want to recommend the troubleshooting outlined in this article named:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    2. Check for app updates
    You can setup apps to update automatically in Settings > iTunes & App Store, but make sure that your apps are up to date:
    Open the App Store and tap Updates. If updates are available, tap Update All.
    If  prompted, enter your iTunes Store account information. App Store will then download and install the app updates.
    Note: Some apps may require a Wi-Fi connection to update.
    3. Install another app from the App Store
    If none of your user-installed apps will launch, there could be an issue with Apple ID authorization. Download and install an app that isn't already installed on your device to reset this information. You can also remove an app from your iOS device and download it again from the App Store or sync the app from your computer.Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    4. Restart the app
    If the issue affects only a single app, try closing just that app.
    5. Restart your device
    Turn the device off and on.
    6. Reinstall the affected app
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    Note: If it is a paid app, ensure you are using the iTunes account you purchased the app with originally. If it is not, you may be asked to purchase the app again. Learn more about downloading previously purchased items.
    7. If the issue is still unresolved, contact the developer
    If you continue to experience the issue, contact the developer of the app for further assistance:
    Find the app in the App Store.
    Open the app's page, tap Reviews, and then App Support.
    All the very best,
    Sterling

  • HT4528 how do i stop my iphone 4 from doing random commands while talking on calls via the touch screen? Can i lock the screen while talking?

    how do i stop my iphone 4 from doing random commands while talking on calls via the touch screen? Can i lock the screen while talking?

    The iPhone has a proximity sensor located on the top of the phone near the earphone speaker that is supposed to automatically turn off the screen when it is close to your face while on a call, to prevent that very thing from happening.  If your phone isn't doing that, try cleaning your screen.  Also, if you put a screen protector on your phone made for a different model it may lack the cut-out that is supposed to keep it from blocking the sensor.  Try removing your screen protector to see if that helps.  If it does, get another screen protector.

  • How do you lock the screen on iphone 4?

    How do you lock the screen on iphone 4 while on a call? I mute calls, activate face time and I have even called someone by accident during a call. I know there has to be a way to fix this. Please HELP!

    It locks automatically when you hold it to your head.
    If it fails to do this, then remove the case and see if it solves it.
    If it does not, then do the basics - restart, reset, restore.
    If that does not solve it, then make an appointment at the genius bar.

Maybe you are looking for