LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "The XScreenSaver daemon doesn't seem to be running" (https://www.linuxquestions.org/questions/linux-newbie-8/the-xscreensaver-daemon-doesnt-seem-to-be-running-367532/)

slackr007 09-27-2005 12:04 PM

"The XScreenSaver daemon doesn't seem to be running"
 
Ok guys, I've searched and found nothing about this. When I go to customize my screen saver under preferences the Screensaver Preferences window comes up, but so does another window that says "The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?". Of course I click Ok, and after some lag it gives me this:
"Error:
The xscreensaver daemon did not start up properly.
You are running as root. This usually means that xscreensaver
was unable to contact your X server because access control is
turned on. Try running this command:
xhost +localhost
and then selecting `File / Restart Daemon'.
Note that turning off access control will allow anyone logged
on to this machine to access your screen, which might be
considered a security problem. Please read the xscreensaver
manual and FAQ for more information.
You shouldn't run X as root. Instead, you should log in as a
normal user, and `su' as necessary."
Ok, so I go to the terminal and type in "xhost +localhost" and it replies: "local host being added to access control list". This is where I get lost. How do I select File / Restart Daemon? I tried typing it in too, but I just get "Bash: File: command not found". What do I do because I don't really understand anything it's saying about the X server and 'su' ing as necessary and all that mess. Someone please tell me what to do.

slackr007 09-27-2005 02:32 PM

Should this be in a different forum? Fedora for example? I need some help and I'm not getting it.

reddazz 09-27-2005 02:53 PM

Do
Code:

#yum list | grep -i xscreensaver
yum install all the packages that will be listed and you should be good to go.

slackr007 09-27-2005 08:19 PM

I did this:
Code:

[root@localhost ~]# yum list | grep -i xscreensaver
http://mirror.stanford.edu/fedora/li...ta/repomd.xml: [E
rrno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://ftp.rhnet.is/pub/fedora/3/x86...ta/repomd.xml:  [Errno 4] IOErro
r: HTTP Error 404: Not Found
Trying other mirror.
http://fedora-mirror.dkuug.dk/linux/...ta/repomd.xml: [
Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
xscreensaver.x86_64                                      1:4.18-4                                    installed

and that's what I got. I don't really know what that means, but the "installed" part sounded good, so I tried to run the screen saver and there has been no change. Any more ideas?

reddazz 09-27-2005 09:29 PM

Try running as a normal user,
Code:

#xscreensaver-demo

slackr007 09-28-2005 08:42 PM

Lol, sorry. I figured it out yesterday. I asked my friend about it and he asked if I was logged in as root. I told him I was and he said "Hah, well that's it. You don't get a screen saver under root." So I log out and back in as an ordinary user and low and behold, I'VE GOT A SCREENSAVER! Thanks.

reddazz 09-29-2005 12:15 AM

Thats one thing you shouldn't do. Its very risky and anything you need to do as root, can be done whilst logged in as a normal user.

rild 12-25-2006 12:17 PM

Try to add this to your ~/.bash_profile file
Quote:

xscreensaver &


All times are GMT -5. The time now is 05:40 AM.