The process of logging out or logging off when computer access is no longer needed. Tag should only be used on questions about log out or log off problems in official Ubuntu variants.

learn more… | top users | synonyms

1
vote
0answers
12 views

Where is the “Log Out” feature on the askUbuntu page? [migrated]

Searched everywhere and must be hiding in plain sight. I know I logged in but the log out just isn't showing up.
0
votes
0answers
35 views

Lubuntu Logout Button Doesn't Work

I just installed the Lubuntu Desktop on top of my Ubuntu 14.04 install. I can login in to any Desktop Environment from the start-up fine but once I'm in Lubuntu my Menu << Logout button does ...
0
votes
0answers
22 views

XRDP Logout works on 12.04m fails on 14.04

I am using XRDP service to remote into several machines. A machine running 12.04, I can remote into, and when I complete work I can logout, and it logs out just fine. For a machine running 14.04, I ...
0
votes
3answers
61 views

logout current user from script

I would like to create a script that: run some commands execute sudo su - [some other username] after I exit from [some other username] -> logout Example: test.sh echo "test script" sudo su ...
0
votes
0answers
8 views

I keep randomly getting brought to the lock screen and disconnected (14.04)

My screen goes black for a few seconds and I get disconnected from the internet and asked to put my password in, this has happened twice now and I do not want to keep doing it. Any help would be ...
1
vote
1answer
12 views

Run command on logout, *before* encrypted home is unmounted

I'm running 14.04 LTS with an encrypted home directory. I've got a service (profile-sync-daemon) needs access to files in my home directory when it starts and stops, so needs to start after the ...
1
vote
1answer
34 views

Log Into Someone Else's Desktop from CLI

Is there a way to log out & log back in as another user or the same user, all from the command line? I have seen solutions that use killall or pkill, etc., to kill all processes running as the ...
0
votes
0answers
32 views

How to figure out the reason for automatic log-outs on Ubuntu Unity and GNOME 3?

My installation of Ubuntu 15.04 logs-out automatically on both Unity and GNOME 3, it doesn't do it on GNOME Fallback. Is the Xorg 0 log file the place I should go to in order to figure out the reason ...
1
vote
0answers
67 views

Shutdown just logging out

I have an older hp pavilion all in one pc and after upgrading to 15.04 whenever I tell the computer to shutdown while in unity (haven't tried other DEs) it goes to the login screen as if I'd only ...
0
votes
0answers
33 views

Sudden logout after upgrading to 15.04

My Ubuntu 15.04 is now suddenly logging me out, this began to happen after I upgraded to 15.04. I don't remember any new software install after the upgrade that might have caused this behavior.
0
votes
0answers
22 views

Suspend logging me out

I am having a problem recently that when I suspend my computer, upon waking it up after a while, it just logs me out and then prompts the main login screen. This closes all my running programs from ...
0
votes
1answer
57 views

Can't Log Out from Lubuntu 15.4

The log out/shut down button is not responding to clicks. Tried: gnome-session-quitand got: ** (gnome-session-quit:1782): WARNING **: Failed to call logout: The name org.gnome.SessionManager was ...
0
votes
2answers
72 views

How to run a script at logout [duplicate]

I want to run a script when I log out through unity. I read something about lightdm but I don't really know what it is and the config file didn't exist. The config file mentioned here doesn't exist! ...
0
votes
0answers
95 views

Ubuntu (14.04) suddenly logout

My ubuntu is suddenly logging me out. I don't know what I can make. Someone has some tips on how to debug this behavior? Which files I need to check? Here is the output from this command: cat ...
0
votes
0answers
56 views

Ubuntu logs me out

I have Ubuntu 14.04 LTS installed, until now everything was going well, two hours ago, I received a notice from the Update Center and I accepted. An hour later (an hour ago), I went to turn on the hot ...
2
votes
0answers
38 views

Strange logout issues on clicking icons in the launcher

I have a fresh install of 14.04.2 and whenever I open more than one window of a program (for example, two windows of chrome, or nautilus), and click the icon on the unity launcher, the system shuts ...
4
votes
3answers
313 views

Computer logs out while I lock screen

Recently, my laptop is behaving strangely sometimes. It doesn't usually does this but lately it frequently does. The problem is that whenever I lock the screen, the computer logs out and closes all ...
4
votes
0answers
53 views

Randomly and suddently log out from my user session

I've an issue (with ubuntu 14.10 and 15.04). Randomly and suddently, I'm log out from my user session. Here are some log informations: kern.log first logout: May 3 16:34:59 rm-work kernel: ...
0
votes
0answers
53 views

How to keep Kubuntu from automaticaly logging out after a period of idle

I can find no way to disable auto logout after a period of idle in system settings. How does one disable this feature?
1
vote
0answers
105 views

ubuntu 14.04 logs out randomly

After installing new graphic card (Radeon HD 3450) Ubuntu 14.04 keeps logging out randomly, for example it logs out when I use the command : unity --replace && setsid unity I tried installing ...
1
vote
1answer
173 views

Unable to shutdown, restart or logout

I am unable to shutdown, restart or logout from my ubuntu 14.04 machine. The screen goes blank, but the system hangs, then the fan begins to run fast. I have to turnoff the laptop by pressing and ...
0
votes
0answers
65 views

Clicking Shutdown/Restart shows Log Out dialog

I am using Ubuntu 13.10 64 bit. When I click on shutdown or restart from the top right menu, the Log Out dialog is displayed. Also if I click on log out or lock button in that dialog or click on ...
1
vote
1answer
58 views

How to run logout with cron?

I'm creating something to allow me to set limits for time spent per user session: I've created a cron job: */120 * * * 1,2,3,4,5 /path/to/command */180 * * * 0,6 /path/to/command and I want to run ...
0
votes
0answers
62 views

Go back to Unity 7 from Unity 8

Despite the warnings which stated that Unity 8 is still unstable I wanted to give it a try. I installed it through bash, logged out and while logging in I've changed envirnoment to Unity 8. Now I ...
2
votes
1answer
82 views

keeping terminals open (with previous path) and applications in Ubuntu unity

I find particularly useful on laptops to keep open (gnome-)terminals (and eventually other applications) when logging out / turning off; I think this was the default in some older Xubuntu version I ...
1
vote
2answers
80 views

Default login after logout

I can set the default login that's used when I first start my system -- in fact, the installation procedure specifically allows for setting the startup to log in automatically. But is there a way to ...
0
votes
1answer
59 views

Randomly getting logged out from admin session (Ubuntu)

I recently switched over from Windows to Ubuntu and I've been trying to learn some bash scripting. I came across the ctrl+alt+F2 command and, curious as we humans are, I clicked the combination ...
2
votes
1answer
404 views

Unity CTRL + ALT + DEL set default value to 'Lock'

When I press CTRL + ALT + DEL I get a dialog with two buttons: Log-out and Lock. I spent a significant portion of my time working on Windows workstations, and the default there is Lock. It is a ...
0
votes
1answer
75 views

Where is the “logout” option in the Applications menu of gnome shell? [duplicate]

Please take a look at this screenshot: I have been using this desktop for a week but till now I can not find where "logout" option is in the Applications menu. So my question is: (1) Is this gnome ...
0
votes
0answers
100 views

How do you run a script before log off?

I want to run a script before log off. The requirement is that the script must be allowed to finish before user processes are killed. I have tried setting session-cleanup-script in lightdm.conf. This ...
0
votes
0answers
21 views

how to track the shut-down and login ubuntu system? [duplicate]

I want to show at which time computer start and at which computer shut-down and which user are loge-in ,if any software or else any other way to know this things in terminal?
0
votes
0answers
69 views

14.04 Random Logouts

Relates to the unsolved question #166687 I also am using chrome when the screen goes black and I'm at the login screen. Everything I had open is now closed and my keyring was not unlocked at login.
0
votes
1answer
87 views

Is it possible to put the computer into sleep mode while logged out in 14.04?

I found this question, but that's tagged 12.04, and is unanswered, so i'm asking a new, more general, question. If the computer is either locked or logged out, is it possible to put it to sleep? The ...
0
votes
0answers
80 views

Signal called on user logout

I would like to ask what is the signal that is called when the user logs out? I have a Qt gui app that has handler for SIGTERM and SIGHUP signals. The app also has its own close event handler, so user ...
1
vote
0answers
85 views

How to suppress the Log Out confirmation dialog?

Ubuntu Unity Panel includes menu items Lock as well as Log Out. But when you click to Log Out", you see a dialog box asking if you'd like to Lock the screen or Log Out, which I find annoying. Opening ...
1
vote
0answers
78 views

Mysterious crashes/freezes in Ubuntu 12.04 [duplicate]

I am using 64 bit Ubuntu 12.04 for last two years. Machine is slightly older 3 years or so. No hardware changes to machine - even using same mouse and keyboard. I keep service packs up to date. No ...
0
votes
1answer
45 views

User processes continue to run after logout

I have put the following code in my .profile ps cax | grep jackd > /dev/null if [ $? -eq 0 ]; then echo "Jack is aready running." fi if [ "$SESSION_TYPE" != "remote/ssh" ] && [ ...
2
votes
2answers
341 views

Logout takes too long

I'm using the greatful Ubuntu 14.10. Sadly logout takes about 1 minute and the cause is unknown, as I installed most of my apps shortly after installed Ubuntu. This slowdown happens since many days ...
3
votes
1answer
1k views

Can't log Out of Xubuntu

I install xubuntu-desktop in a fresh ubuntu 14.04 system. When I was using the xubuntu desktop environment, I click "logout" in the top panel and the following dialog appears But nothing happens ...
1
vote
1answer
429 views

Cannot logout of XRDP in XFCE4

I have Ubuntu 14.04 installed and have managed to setup XRDP so I can remote desktop to it from Windows, everything works except that I cannot logout of a remote session, when I choose logout from the ...
0
votes
0answers
130 views

Ubuntu 14.04 Guest Account - Disable CTRL ALT DEL

I'm setting up a Ubuntu Linux install as a base for VMWare View. I have it set to auto login using the guest account. The guest account is perfect for this because when the machine restarts it ...
3
votes
1answer
254 views

How can I run a shell script on session end? [duplicate]

In a previous question, I found out how to shut down all instances of running VMs started through vagrant. I'd like to call that script when logging out of my Desktop Manager which is currently ...
0
votes
1answer
571 views

Run commands on system shutdown/reboot/logout [duplicate]

I would like to run certain aliases and simple commands when system shuts down or reboots or when I simply log out of system. This would help a lot as I usually forget about shutting down vagrant ( ...
1
vote
0answers
66 views

Need to force relogin after 30 minutes of idle time

I've rebuilt the guest computer in the hotel lobby, and we'd like to implement a 30-minute session timeout without cutting guest sessions short. Is there a way to have the computer log itself out of ...
2
votes
1answer
896 views

remotely log out of (graphical) gnome session

I have a (graphical) login session running on an office computer, and I'd like to log it out to save on a few computer resources. I can ssh to the office box, but when I try gnome-session-quit I get ...
2
votes
0answers
182 views

Add shutdown and restart options to logout confirmation dialog

I would like to have a more comprehensive dialog when I press CTRL+ALT+DEL. Instead of the classic I'd like to have suspend/reboot/shutdown options too. It was possible in my previous installation ...
-1
votes
1answer
623 views

Ubuntu freezes on the login screen after i close my laptop lid Ubuntu 14.04

I experience a Bug where the login screen doesn't work correctly after I closed the laptop lid. When i open it again the login screen appears and I can move the cursor but I cannot click anything or ...
0
votes
1answer
32 views

xubuntu logs me out as soon I login, however I can login as guest

This happened after I rebooted after an update and I can't seem to figure out what is causing it. I've tried removing Xauthority with no success.
1
vote
0answers
68 views

Password required to logout?

Fresh install of Xubuntu 14.04.1 32 bit. When I try to restart or shut down I am asked for a password in order to proceed. However when I provide a password it is not accepted. Is there a setting ...
1
vote
0answers
106 views

Gnome 3.12 logout button gone from menu

Logout entry from gnome menu has disappeared all of a sudden. How can I get it back? I'm using Ubuntu 14.04 64Bit wit Gnome 3.12