On 20 Aug 2023 at 8:34, George N. White III wrote: From: "George N. White III" <gnwiii@xxxxxxxxx> Date sent: Sun, 20 Aug 2023 08:34:08 -0300 Subject: Re: Upgraded machine to Fedora 38 and now suspending after 15 minues?? To: mikes@xxxxxxxx, Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> Send reply to: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > > On Sat, Aug 19, 2023 at 10:25 PM Michael D. Setzer II via users > <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > Have 4 machines that are headless machines. > Boot up, and have VNC run to allow access using XFCE sessions. > > After upgrading the one to Fedora 38, have the machine going off > after 15 minutes since no user is logged in locally to machine?? > > Found a page that mentions these options. > > sudo -u gdm dbus-run-session gsettings list-recursively > org.gnome.settings-daemon.plugins.power | grep sleep > > sudo -u gdm dbus-run-session gsettings set > org.gnome.settings-daemon.plugins.power > sleep-inactive-ac-timeout 0 > > But after doing it on machine with VNC session, it still was > shutting off since vnc is running XFCE? > > I have Fedora Workstation on a system that is mainly used as a > headless server. I created /etc/systemd/sleep.conf.d/<hostname>.conf > by editing /etc/systemd/sleep.conf to uncomment the "#Allow ..." lines. > Question. Just looked at the sleep.conf file on my machine and all the commented lines (all) seem to show the default as =yes, so I assuming that you mean to uncomment the lines and change =yes to =no?? Check the file on my Fedora 37 and it also shows most of same options? [Sleep] #AllowSuspend=yes #AllowHibernation=yes #AllowSuspendThenHibernate=yes #AllowHybridSleep=yes #SuspendMode= #SuspendState=mem standby freeze #HibernateMode=platform shutdown #HibernateState=disk #HybridSleepMode=suspend platform shutdown #HybridSleepState=disk #HibernateDelaySec=120min Perhaps Fedora before 38 has defaults to no and commented lines are to turn on, but my Fedora 38 was suspending with lines commented, so default must be yes?? Thanks again for info. > This has been working since F38 was first available. > > -- > George N. White III > +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@xxxxxxxx mailto:msetzerii@xxxxxxxxx Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue