Questions tagged [logout]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
58 votes
4 answers
624k views

Windows 10 auto-logout on <5 minutes of inactivity

Have updated to windows 10 pro edition In power options have sleep/turn off display - never when powered and 30/15 minutes when battery. Computer is powered Every time i go out for 1-2 minutes it ...
arheops's user avatar
  • 1,385
27 votes
6 answers
62k views

Mac OS X Yosemite - How to Disable Automatic Logout when idle?

It appears that since I upgraded to OS X Yosemite, and fiddled with some of the energy saver and screen saver settings, that my user is logged out due to inactivity. Where is the setting where I can ...
qxotk's user avatar
  • 1,093
13 votes
4 answers
36k views

How to run a script at login/logout in OS X?

I'm toying around with building a custom render farm manager, and I want to automatically add OS X machines to the render farm when they are not in use. Is there a way to trigger a script to run ...
user36659's user avatar
  • 347
10 votes
1 answer
12k views

Windows equivalent of OS X caffeinate

Is there a Windows equivalent of the caffeinate utility on OS X? I want to have fairly aggressive logout settings in general, but have a dedicated program that prevents logout while it is running as a ...
Greg Nisbet's user avatar
9 votes
3 answers
26k views

How can I automatically log out users from a Windows machine?

I would like to make sure that people are logged out once they're done working on a single, specific multi-user machine. Currently, the next user will just "switch user" and keep working, but having ...
Jonas's user avatar
  • 747
9 votes
2 answers
7k views

Why does OS X automatically logout my user?

I have a new MacBook Air set up with FileVault. In the Security Preference pane I have "Require password 1 hour after sleep or screen saver begins" enabled, but the "Logout after 60 minutes of ...
MBA_fv's user avatar
  • 91
8 votes
5 answers
22k views

Run Script on logout/ shutdown ubuntu

I want to run some commands every time a user of an ubuntu 9.10 machine logs out or shuts down. What is the best way to do this? Every user uses gnome if that helps.
user avatar
8 votes
3 answers
7k views

Google chrome logs out from every webpage after system user has logged out

So I've got a really annoying problem and Google Chrome isn't providing me any information on what's causing it. Every time I log into my account I have to again, and again, and again log into every ...
Skysplit's user avatar
  • 181
6 votes
2 answers
1k views

How can I set up a policy on Windows XP to logout all users at midnight?

Sometimes the kids are on the computer too late and rather than yelling at them I want the computer to help me out. I already have a separate user set up so they don't have admin access to the ...
tooshel's user avatar
  • 1,530
6 votes
4 answers
18k views

PuTTY/SSH: How to Prevent Auto-Logout?

My ISP's SSH server (Debian 2.0) logs me out after 35 minutes of inactivity, when connected with PuTTY (Windows XP). This is a big problem when I utilize the server for port-forwarding. The final ...
feklee's user avatar
  • 1,654
6 votes
3 answers
12k views

Windows 7 - How to run a script at shutdown but not at logoff

I was wondering if anyone knows how to configure a Windows 7 x64 Enterprise install that is on a domain to run a script if the user attempts to shutdown the computer - but I dont want the script to ...
Richie086's user avatar
  • 5,191
5 votes
3 answers
13k views

Session logged out after disconnection of remote connection

I remote from my home PC (Windows 10) to my work computer (Windows 7) and every time I disconnect my remote connection (or just close it), after some time (around 1 hr) the work Windows session logs ...
samyb8's user avatar
  • 51
5 votes
1 answer
8k views

Graceful logout in dwm

I want dwm to close all windows gracefully when I press quit hotkey. I like Unity behaviour: it displays list of windows denying logout (for example, editors with unsaved changes) and do not logout ...
Riateche's user avatar
4 votes
4 answers
10k views

Is there a client side work-around for a too-short auto logout from an SSH connection?

I SSH from one Linux host to another Linux host that I don't administer. Its /etc/ssh/sshd_config is apparently configured to auto-logout after an interval of inactivity that is too brief for my ...
Camille Goudeseune's user avatar
4 votes
1 answer
11k views

Logout keyboard shortcut keys in Linux Mint?

I am trying to logout without using mouse. Are you aware of any key combination that will do the trick?
Forever Learner's user avatar
4 votes
1 answer
3k views

How do I auto log off users from Ubuntu

Since my Ubuntu station was turned into Multi user Station (kids growing up) I need a way to log off automatically accounts after inactivity period (total log off not just lock screen). How can I ...
DrorCohen's user avatar
  • 293
4 votes
1 answer
669 views

How to lock a RHEL 5.3 workstation

I get option to SUSPEND/HIBERNATE or reboot/shutdown. Isn't there something similar to locking as in windows. I don't want to log out each time I want a break(think bathroom, drink). I would expect ...
anjanbacchu's user avatar
  • 1,397
4 votes
3 answers
27k views

Certain websites keep logging me out (Chrome)

I use Chrome on a personal PC on which I am the only user. I am logged into several websites, all of them with the "stay logged in" tickbox checked. Even so, very often when I go back to ...
z8080's user avatar
  • 383
4 votes
0 answers
538 views

Run program on kde logout

I have created a backup script and I want to run it in a terminal window (to view the progress) when I logout from kde. I used the autostart feature and that works but I'm unable to show a terminal ...
vdrmrt's user avatar
  • 141
3 votes
1 answer
30k views

How to log out current user?

I'm very very new to the linux world. I have just installed Ubuntu 12.04 and I was wondering how to log out my user using the terminal. I searched the web and all the sites say that I should run the ...
cdonts's user avatar
  • 163
3 votes
1 answer
572 views

Mysterious logout

I'm on Linux, I'm using a Red Hat 6.6 workstation. Every now and then (usually once, sometimes twice a day) I get a user logout. Or something that looks like a user logout: the screen goes black for 1 ...
ytg's user avatar
  • 922
3 votes
1 answer
415 views

Run script when shutting down Ubuntu before the logged in user is logged out

I'm writing a script to backup some local directories on a Unix machine (Ubuntu) to a Samba drive. The script works fine and I've got it running at shutdown and restart using the method described at [...
Travis's user avatar
  • 463
3 votes
0 answers
925 views

Is it possible to run an interactive script before shutdown Linux in a GNOME session?

I wrote some utility interactive scripts and want them run before shutdown. For a terminal-login session, I just add some entry in ~/.bash_logout, my login shell is bash BTW, which works. However, I ...
Summer_More_More_Tea's user avatar
2 votes
1 answer
2k views

End a Windows 10 background user session without switching to it?

Let's say I'm an admin on my Windows home machine, logged in to my account, and another account is also logged in, in the background. Is there a way for me to terminate that background session/...
Lenoxus's user avatar
  • 173
2 votes
3 answers
7k views

Windows 10 Logging Me Off Every 5 Minutes

I know that there are many similar questions on here and on other sites (trust me... I know...) I have been battling this for a while now and I simply cannot figure out why it is still logging me off ...
ZGorlock's user avatar
2 votes
3 answers
57k views

how to log out from microsoft outlook 2007?

I cannot figure out how to log out from (email) Outlook 2007. I have searched web to get the answer of this simple question but I am failed to get correct solution...
Darshi's user avatar
  • 23
2 votes
1 answer
7k views

Executing a batch script on Windows 10 shutdown/logoff/reboot

First off, sorry. This is a re-post of my original question asked on "stackoverflow", but I have tried to get moderators to move it, due to the question being more a general windows behavior issue ...
Henrik Nielsen's user avatar
2 votes
0 answers
2k views

Programmatically add logon/logoff script on Windows

Is there a way to programmatically add a logon or logoff script in Windows? I don't want to use any graphical programs, everything's supposed to happen without the user noticing anything. Also, I want ...
Aran-Fey's user avatar
2 votes
1 answer
3k views

How to disconnect from shared computer when logged in through Windows Explorer

Every time I need to access a remote computer through Windows Explorer I need to log in and that's fine. Once I enter the log in credentials I can access all shared folders to the remote computer. ...
Patrik's user avatar
  • 123
2 votes
0 answers
483 views

Chrome logs me out of everything when I exit--tried cookie-related stuff already

I've been using Chrome very successfully for a long time. It has always kept me logged in to all my sites even after exiting the app. Recently it started logging me out of everything when I exit ...
SaganRitual's user avatar
2 votes
2 answers
784 views

AppleScript to logoff Mac user after closing an application?

I've configured a local user account on an iMac (Lion) to immediately launch Firefox to a specific page after logging in – the page contains a survey to be completed by the user. This works fine. ...
JDF's user avatar
  • 21
1 vote
1 answer
3k views

Gnome3 session logout

With gnome 2 there was the possibility to logout from a session by executing gnome-session-save --force-logout Unfortunately this gnome-session-save doesn't exist in Gnome3. Is there a different way ...
Pascal's user avatar
  • 193
1 vote
4 answers
10k views

Sign out of Windows Live Messenger remotely

I just upgraded Windows Live Messenger at home. I'm logged into my machine at work so I have a Live session active there too. Now the fun part. This new version of messenger is signing me out after ...
justinhj's user avatar
  • 1,362
1 vote
2 answers
24k views

Windows 10 randomly automatically logs user out while I'm using it

I have the problem that my Windows 10 automatically logs me out. Also while I'm using it (-for example while I'm editing a file). How can I change that behaviour? Normaly it should not logging me out ...
Abc123's user avatar
  • 11
1 vote
1 answer
4k views

Win7 unlock & logout after x minutes

I have been asked to investigate some functionality for a number of shared PCs running Win7 on a local network. Basically people are logging on to the PCs and locking them in the morning and walking ...
jonboy's user avatar
  • 231
1 vote
1 answer
3k views

How to automatically save virtualbox vm state before logout?

I'm using oneiric with unity. I want to find a solution to automatically save the state of my virtualbox virtual machine before I logout or shutdown because I always forget to do it manually. I know I ...
xiamx's user avatar
  • 450
1 vote
1 answer
769 views

Debian: `Suspend` does `Logout` instead of `Suspend`

Today sudenly when i tried to Suspend it logged out instead of suspend. I've tried many different things but, couldn't get suspend to work again; viz. sudo mask suspend.target > restart > sudo ...
jodobear's user avatar
1 vote
1 answer
276 views

Force terminal emulator to read .bash_logout (or .logout, etc)

Searching fails me. I noticed that some terminal emulators (gnome-terminal, terminator, maybe others) do not execute my logout file. Works well enough in a virtual terminal, but not through the ...
Pom's user avatar
  • 13
1 vote
1 answer
460 views

XFCE logs me out immediately instead of asking

Normally, 'log out' in XFCE was opening a window and offered "log out", "shutdown" and other options. Now it logs me out immediately and I don't know why. How could I find out why this is happening (...
haheute's user avatar
  • 183
1 vote
0 answers
2k views

Stop Windows logging me out and closing all of my apps on sleep

Window 11 is logging out when my computer sleeps due to inactivity. At least I believe that is what's happening, as all of my apps are closed when I unlock the screen. If I intentionally lock my ...
noonemuch's user avatar
1 vote
0 answers
2k views

How to logout a KDE session in a TTY?

I encounter a KDE desktop(Kubuntu-20.04.4) fault, and now it stalled and does NOT response any operation, I can NOT logout in any normal ways. But this computer is running a important service, and ...
Leon's user avatar
  • 239
1 vote
0 answers
204 views

Locking/Logging-off Windows 10 after a set period of time

I would like to be able to lock (or alternately log off) a user in windows 10 after a period of time so that I can keep closer control of my children's computer usage. I have tried using shutdown.exe /...
Jacob's user avatar
  • 111
1 vote
0 answers
4k views

Windows 10 Goes to Lock Screen after 1 Minute

This began a few days ago and I am struggling to figure out what is causing my Windows to jump to the lock screen after 60 seconds of inactivity. Each time, the lock screen appears and requires me to ...
Dave Haskel's user avatar
1 vote
0 answers
215 views

Windows 10 login screen is shifted partly off the monitor after a non-admin user logs out

I just set up a Windows 10 computer for my parents. I made an administrator account for me, and non-admin accounts for my mom and dad. I have noticed a problem with the login screen in the following ...
pacoverflow's user avatar
  • 1,975
1 vote
0 answers
1k views

How to prevent Mac from stopping long-running processes when I leave laptop on overnight

I have a batch upload script that is making a bunch of API calls to the web that I want running continuously overnight without interruption so it can make more progress while I'm asleep. ...
Lance's user avatar
  • 377
1 vote
0 answers
338 views

Windows Server 2012 prevent remote desktop account logging out after inactivity

I've got a process that is running from Powershell on an Windows Server 2012 instance in AWS, however it is currently running under a user's account. The issue is that once the remote desktop ...
GoatInTheMachine's user avatar
1 vote
0 answers
45 views

How can I identify which problems are preventing log out?

I and a number of other users are having an issue with Windows 10 that may be related to an app that is locked on. We can't tell which. Except that it persists into log out and causes the usual ...
Mijcar's user avatar
  • 11
1 vote
1 answer
2k views

Win 8.1 auto sign out after login

I am using Windows 8.1 Pro update 1 I have 2 accounts: L(always used, admin user) and F (Standard account) After a long time not logged in with user F, now I cannot log in with F account, the system ...
Andiana's user avatar
  • 165
1 vote
1 answer
2k views

Remotely lock a computer

I provide temporary computers to businesses but sometimes they are very slow on letting me get them back. I was wondering if there was any way I could have a computer receive a command as soon as it ...
JonYork's user avatar
  • 153
1 vote
2 answers
1k views

Logging out of an RDP session with some program other than explorer.exe as the shell?

How do you log out of an RDP session when they are using some program other than explorer.exe as the shell? Normally I use the start menu to log out of an RDP session, but in this case msaccess.exe ...
leeand00's user avatar
  • 22.4k