Losing ssh connection during apt upgrade

Ralf Mardorf kde.lists at yahoo.com
Sun Jan 31 11:47:57 UTC 2021


On Sun, 31 Jan 2021 11:22:25 +0000, Chris Green wrote:
>On Sun, Jan 31, 2021 at 10:36:47AM +0000, Colin Law wrote:
>> On Sat, 30 Jan 2021 at 23:28, Bo Berglund <bo.berglund at gmail.com>
>> wrote:  
>> > ...
>> > So now I always make sure that the console screensaver is
>> > *disabled permanently* on my headless server ubuntu boxes.  
>> 
>> Are you saying that the screensaver blanked an ssh terminal?  That
>> seems unlikely to me, if not actually impossible.
>>   
>Yes, that rather surprised me too. If my screen has blanked all I have
>to do is touch the mousepad or keyboard and everything reappears as it
>was before blanking.

My understanding is, that not

[weremouse at moonstudio ~]$ lsb_release -rc
Release:	16.04
Codename:	xenial
[weremouse at moonstudio ~]$ man xorg.conf | grep blank -A2
              sets the inactivity timeout for the blank phase of the screensaver.  time is in minutes.  This is equivalent to the Xorg server's -s flag, and the value can be  changed  at
              run-time with xset(1).  Default: 10 minutes.

[weremouse at moonstudio ~]$ cat /etc/X11/xorg.conf.d/disable-blanking.conf 
Section "ServerFlags"
    Option "BlankTime"   "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime"     "0"
EndSection

does affect a ssh terminal, see

https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling#DPMS_interaction_in_a_Linux_console_with_setterm




More information about the ubuntu-users mailing list