Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xscreensaver will not start
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Tue Jan 12, 2010 4:57 pm    Post subject: Xscreensaver will not start Reply with quote

And that about says it all. I'm using Fluxbox. I can change the xscreensaver settings, and it starts without errors. I can find the process running. But it doesn't kick in when it's supposed to. Why? What should I post for troubleshooting?

It kicked in once but then stopped. The process was still running, but no screensaver.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN


Last edited by audiodef on Sun Feb 07, 2010 5:21 pm; edited 3 times in total
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Tue Jan 12, 2010 5:12 pm    Post subject: Reply with quote

Try running xscreensaver-command -activate to see if you can force it to start. Also, make sure you run xscreensaver from a terminal while troubleshooting, so you can see any error messages.
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Tue Jan 12, 2010 5:44 pm    Post subject: Reply with quote

I'll try those.

It does seem to be working. Maybe some of the screensavers aren't working, but normally when that happens you get a blank screen with "This screensaver has not been configured correctly".
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Tue Jan 12, 2010 5:55 pm    Post subject: Reply with quote

I'm guessing you're getting spurious input from somewhere. You could try to disconnect your mouse, too.
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Jan 12, 2010 6:09 pm    Post subject: Reply with quote

What happens if you run xscreensaver-demo & and play around with it?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Tue Jan 12, 2010 10:22 pm    Post subject: Reply with quote

Mike Hunt wrote:
What happens if you run xscreensaver-demo & and play around with it?


I just did that. The window comes up but it just kind of freezes. I'm going to run that and xscreensaver from a terminal so I can watch the output.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Jan 12, 2010 10:35 pm    Post subject: Reply with quote

Is xscreensaver built with (at least) USE="jpeg opengl pam"

Does /etc/pam.d/xscreensaver exist?
Code:
# cat /etc/pam.d/xscreensaver
# File autogenerated by pamd_mimic in pam eclass


auth    include         system-auth


Have you tried re-emerging x11-misc/xscreensaver ?
And perhaps a nice revdep-rebuild - for good measure.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Tue Jan 12, 2010 10:55 pm    Post subject: Reply with quote

Yep to all that. I'll try recompiling it. And maybe do that revdep-rebuild. 8)
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Wed Jan 13, 2010 2:10 pm    Post subject: Reply with quote

Without disconnecting anything, is there a way to find out if there is any input that could be interfering with xscreensaver?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Jan 13, 2010 5:22 pm    Post subject: Reply with quote

Unless it's a hardware issue, you could always rebuild xscreensaver and it's dependencies with this geeky command (there must be an easier way)
Code:
emerge -av $(qdepends -C xscreensaver | tr ' ' '\n' | sed -e 's/[-\.:][0-9\*].*$//g;s/[=>]//g')

That should pull in about 20 something packages (29 on my boxes).
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 944
Location: Bash$

PostPosted: Thu Jan 14, 2010 12:33 am    Post subject: Reply with quote

Mike Hunt wrote:
Unless it's a hardware issue, you could always rebuild xscreensaver and it's dependencies with this geeky command (there must be an easier way)
Code:
emerge -av $(qdepends -C xscreensaver | tr ' ' '\n' | sed -e 's/[-\.:][0-9\*].*$//g;s/[=>]//g')

That should pull in about 20 something packages (29 on my boxes).

I doubt there is an easy command for that. I only pulls in compile time dependencies, not runtime dependencies, and it only pulls in one level deep. If you really want to recompile all dependencies of an application, you should use the -e option to emerge (which will probably pull in a lot more than 29 packages in this case).
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jan 14, 2010 1:29 am    Post subject: Reply with quote

Yes true. I was thinking that since everything else is working (an assumption), then the entire system and modular X wouldn't need rebuilding, therefore emerge -e xscreensaver seemed like overkill, hence the reason for the geeky command.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Sun Jan 17, 2010 8:30 pm    Post subject: Reply with quote

Mike, I tried your command and xscreensaver still does not always start when it should.

I noticed when I log out from Fluxbox (no login manager, I just use startx), I see this:

Code:

xscreensaver: 15:21:09: can't open display: 0

xscreensaver: 15:21:09: Errors at startup are usually authorization problems. But you're not logging in as root (good!) so something else must be wrong.

_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Jan 17, 2010 8:36 pm    Post subject: Reply with quote

Hmmm, strange. Maybe a stale ~/.Xauthority ?

Try removing ~/.Xauthority and re-login and re-startx.

Also look at the output of this if anything weird jumps out:
Code:
ps awx | grep X | grep -v grep
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Thu Jan 21, 2010 3:51 pm    Post subject: Reply with quote

Nothing weird jumps out. Xscreensaver now will not start at all. When I try that last suggest command, I get this:

Code:

 2090 tty1     S+     0:00 xinit /home/audiodef/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/audiodef/.serverauth.2074
 2091 tty7     S<s+   0:26 /usr/bin/X -nolisten tcp


I'm not sure what to do. I don't believe it's a bug, so I'm trying to resist the urge to file a bug report. It's got to be something on my system that is not configured correctly.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jan 21, 2010 4:56 pm    Post subject: Reply with quote

That looks ok.

Another thing to try is removing the ~/.xscreensaver file.

Check permissions:
Code:
~ # ls -l /usr/bin/xscreensaver
-rwxr-xr-x 1 root root 216496 Dec  6 10:36 /usr/bin/xscreensaver
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Thu Jan 21, 2010 6:31 pm    Post subject: Reply with quote

The permissions are the same as what you show.

Rm'd .xscreensaver. Will letcha know how that goes.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Thu Jan 21, 2010 7:28 pm    Post subject: Reply with quote

Nope. It's still not working. I'll try downgrading a step. If that works, I'll know I should file a bug report. If not, I'll know I have a boo-boo somewhere.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Thu Jan 21, 2010 7:29 pm    Post subject: Reply with quote

OK, downgrading appears not to be an option, as 5.10 is the only ebuild I have.

Is there anything else I should try before running to bugs?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jan 21, 2010 8:29 pm    Post subject: Reply with quote

Code:
$ qlist -Iv xscreensaver
x11-misc/xscreensaver-5.10


How is it built?
Code:
[ebuild   R   ] x11-misc/xscreensaver-5.10  USE="jpeg opengl pam -new-login -suid -xinerama" 5,431 kB
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Thu Jan 21, 2010 9:05 pm    Post subject: Reply with quote

The same way yours is.

Maybe I need to enable one of the currently disabled use flags?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Jan 23, 2010 3:12 pm    Post subject: Reply with quote

Strange. Never seen xscreensaver act so bizarrely.

The last thing I would try before bugzilla is unmerge it, delete any lingering xscreensaver files including the distfile and anything in /var/tmp/portage, disable ccache if it is enabled, and re-emerge it one more time.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Sat Jan 23, 2010 10:18 pm    Post subject: Reply with quote

I'll give those a try.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Sun Feb 07, 2010 3:58 pm    Post subject: Reply with quote

An emerge -e world seems to have solved two things: this screensaver issue and the keyboard repeat issue I've been having. I guess a good old "recompile it all, baby" was what the doctor ordered. 8)

EDIT: Nope. Once again, I have spoken too soon.

Having exhausted all other options, including a bug report, I'm going to go over to the xscreensaver home page and see if I can contact whoever wrote it.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
ffpp
n00b
n00b


Joined: 20 Jun 2005
Posts: 61
Location: Tatabánya, Hungary

PostPosted: Mon Feb 08, 2010 1:21 am    Post subject: Reply with quote

Erm, for me an
Code:
emerge -C gnome-screensaver
was a really good solution for that very same problem.... course I am running gnome not fluxbox, but maybe u got that...
_________________
jAzz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum