Score:1

Session logs out automatically in Ubuntu 22.04 while using chrome

nf flag

I'm using Ubuntu 22.04 from last some months. And I'm constantly facing this issue.

Issue :- While working on Chrome Browser for sometimes my browser automatically closes and sometime my current session logs out automatically and then I have to login again in order to use my laptop.

Device Specs:- RAM - 4GB Model - Dell Inspiron 3542

Can anyone help me to get rid of this.

it flag
Very strange. When you log in, can you run `dmesg` in a terminal and see if it says anything about logout or hibernation/suspend or anything, and post it in your question if it does? Not sure what might cause this without more hints.
Saurabh Sinha avatar
nf flag
When I encounter it next, do the same as you said.
Score:0
pl flag

I am not sure yours in this case or not.

If you toggle "Download and install automatically" in the Software update settings "When there are security updates"

The system automatically reboot when the update requires reboot and the computer becomes idle. So when you or me leave the Google-Chrome for coffee break, it reboots silently.

To prevent this, open the following file

/etc/apt/apt.conf.d/50unattended-upgrades

// Automatically reboot *WITHOUT CONFIRMATION* if
//  the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "false";

Uncomment the "Unattended-Upgrade..." not to reboot automatically.

Saurabh Sinha avatar
nf flag
bash: /etc/apt/apt.conf.d/50unattended-upgrades: Permission denied After running the above line I'm getting this error.
Sadaharu Wakisaka avatar
pl flag
Use your favorite text-editor `sudo vi !!`
Saurabh Sinha avatar
nf flag
did the same as you said, Thanks for this.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.