The Linux Community Forum

General Help & Advice => Linux Support => Topic started by: nogueira13 on October 09, 2019, 10:04:05 pm

Title: xscreensaver não inicia de primeira.
Post by: nogueira13 on October 09, 2019, 10:04:05 pm
Quando eu ligo o computador e dou o boot o xscreensaver não inicia. Daí eu inicio ele via interface gráfica e eu recebo a seguinte mensagem:
Parece que o daemon do xscreensaver não está sendo executado no monitor ".0". Lançá-lo agora?

Aí se eu respondo OK ele inicia e funciona normalmente até o próximo boot.
Como eu poderia corrigir isto?
Title: Re: xscreensaver não inicia de primeira.
Post by: nogueira13 on October 09, 2019, 10:34:29 pm
Sorry, I didn't find where to edit the post. So I translate it now to English:

When I turn on the computer and boot it, xscreensaver does not start. Then I start it via GUI and I get the following message:
It looks like the xscreensaver daemon is not running on monitor ".0". Launch it now?

Then if I answer OK it starts and works properly until the next boot.
How could I fix this issue?
Title: Re: xscreensaver não inicia de primeira.
Post by: Mark Greaves (PCNetSpec) on October 10, 2019, 05:48:56 pm
Which distro/version ?
Title: Re: xscreensaver não inicia de primeira.
Post by: nogueira13 on October 10, 2019, 06:37:01 pm
[email protected]nogueira-pendrive:~$ cat /proc/version
Linux version 5.0.0-31-generic ([email protected]) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019
[email protected]:~$
I installed Ubuntu LTS 18.04
Title: Re: xscreensaver não inicia de primeira.
Post by: Mark Greaves (PCNetSpec) on October 10, 2019, 09:20:02 pm
Open a terminal and run:
Code: [Select]
gedit ~/.config/autostart/xscreensaver-autostart.desktop
when a blank file opens in the gedit text editor, make it read:
Code: [Select]
[Desktop Entry]
Type=Application
Name=Xscreensaver Autostart
Comment=Autostart the Xscreensaver Daemon
Exec=xscreensaver -nosplash
Icon=xscreensaver
Terminal=false
SAVE the file and exit the text efditor.

Log off/on (or reboot)  <-- IMPORTANT

Once you've logged back on, test the screensaver
Title: Re: xscreensaver não inicia de primeira.
Post by: nogueira13 on October 15, 2019, 02:56:29 am
Problem solved. It works now. Thanks a lot!
SimplePortal 2.3.3 © 2008-2010, SimplePortal