Questions tagged [logout]
The logout tag has no summary.
86 questions
0
votes
0
answers
45
views
Connections not kept alive with ServerAliveInterval passed from SSH
After openssh 9.2, it is recommended to use ChannelTimeout and UnusedConnectionTimeout that provide granular idle session/connection timeout and behaviour of ClientAliveCountMax=0 parameter was ...
1
vote
1
answer
255
views
How to Logout From Debian 12 Gnome Gui Session after boot completed
I want to automatically log out of the GUI session after booting the PC because a program I use doesn't run unless I log out and log in again.
I wrote a crontab with this command:
@reboot gnome-...
1
vote
1
answer
496
views
How to run script on XFCE4 logon and logoff?
I'd like to run a shell script each time a (specific) user logs in to his XFCE4-session, as well as run another script each time that user logs off.
So far, I was able to create a script at ~/.config/...
0
votes
1
answer
178
views
Automatic log out while working in Cent OS Stream 8
While I am working, the device automatically log outs and shows the login screen. When I logged in, all my work got lost. Basically I am using terminal, firefox, sometime terminator app. Skype from ...
1
vote
1
answer
98
views
Mounting directories on demand or until logged
As from object, I want to mount some directories (with binding) at login and possibly unmount them at logout.
At the beginning I tought about autofs, but it dynamically creates mount points, that's ok ...
2
votes
2
answers
2k
views
Issue with SSH Client Alive Interval in sshd_config
We are currently using SSH for our project, and we need to implement a feature where SSH users are logged off after 1 minute of inactivity. Below are excerpts from our ssh_config and sshd_config files:...
2
votes
0
answers
652
views
Is there a way to not exit a shell if jobs are stopped/suspended?
If one types exit and a job is stopped/suspended, the shell will print a warning message instead of exiting.
1: some_command &
[1] 4018347
2: exit
zsh: you have suspended jobs.
But if one types ...
1
vote
0
answers
54
views
Parameters OK at startup but problems when logging back
When I start the computer, everything works fine. But if I leave the computer, then when I log back to my session, I sometimes have 1 or 2 or 3 of those weird behaviors (not all, and not always, ...
1
vote
1
answer
263
views
Logout other users from KDE/plasma as root
I'd like to be able to automatically log out users from their KDE/plasma sessions by a script running as root. The log-out should happen "gracefully", i. e. applications should get a chance ...
1
vote
0
answers
153
views
laptop with Ubuntu 20 logout when left unattended
On a laptop installed with Ubuntu 20.04 LTS when left unattended for tens-of-minutes/hours, sometimes I find it logged out.
Searching around the web I found that traces of these behaviour can be found ...
0
votes
0
answers
332
views
Modify or remove specific environment variables on every logout
Whenever a (graphical) logout occurs on Debian 11, I want to conditionally (e.g. if $XDG_DEBUG == 1, then ...) set or clear specific environment variables for the active user. The environment ...
0
votes
0
answers
69
views
Keepass causes immediate Linux logout when using auto-type
Today I had to restart my computer after a total freeze of Linux. After that I now have the problem that KeepassXC 2.7.1 leads to a immediate logout of my Linux system as soon as I try to use the auto-...
1
vote
1
answer
1k
views
How to ensure user processes are killed on logout?
I have problem logout on my server (and all debian-derivative servers) do not kill all user processes.
I seem to understand this is done for efficiency reasons for workstations (assumption appears to ...
2
votes
1
answer
653
views
How to log out all inactive terminal sessions in GNU/Linux?
Since I switched to Wayland on Debian11/KDE starting the computer from standby in around 90% of cases shows a black screen and one needs to use ctrl+alt+f{id} and run loginctl unlock-session {id2} to ...
1
vote
0
answers
295
views
Occasionally RHEL 7 logout process does not complete
An unusual occurrence but mystifying. Can't replicate the described situation, which adds to the mystery.
Using MATE on RHEL 7. Needed to log out of one profile in order to log in using another ...