You are not logged in.

#1 2013-06-01 18:45:38

djomla
Member
Registered: 2013-05-27
Posts: 28

[SOLVED] XscreenSaver just wont to start!

I followed instruction on wiki about xscreensaver, installed and added this line to .xinitrc file:

/usr/bin/xscreensaver -no-splash &

and i tried with this also:

exec /usr/bin/xscreensaver -no-splash &

but niether not working.

I also checked clock settings, and my hardware and system clock are sync.

Does anyone have some other sugestion?

Last edited by djomla (2013-06-01 21:08:32)

Offline

#2 2013-06-01 18:53:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

Post your .xinitrc.

Offline

#3 2013-06-01 18:56:01

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

Here it is:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec gnome-session-cinnamon

exec /usr/bin/xscreensaver -no-splash &

Offline

#4 2013-06-01 19:05:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

Move the xscreensaver line before 'exec gnome-session-cinnamon'.

Offline

#5 2013-06-01 19:06:21

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

All right. I`ll try this, and then I will restart to see if service is going to start.

Offline

#6 2013-06-01 19:09:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

You can have just one line starting with 'exec': https://wiki.archlinux.org/index.php/Xinitrc (the second note)

Make sure to uncomment only one exec line, since that will be the last command run from the script; all the following lines will just be ignored. Do NOT attempt to background your WM by appending a `&` to the line.

Offline

#7 2013-06-01 19:14:32

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

I restarted and there is /usr/bin/xscreensaver -no-splash startet, but now when I start xscreensaver-demo  it says:

The GNOME screensaver daemon appears to be running.

But in process list i see  /usr/bin/xscreensaver -no-splash

How come that?

I`ll try to delete exec before xscreensaver line.

Last edited by djomla (2013-06-01 19:15:22)

Offline

#8 2013-06-01 19:25:14

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

I removed exec before mentioned line, service is started after restart, xscreensaver-demo is starting ok. I set it up to start screensaver after 2 min., just to test, but after 5 min. nothing is happening.

Correction. NOW IS WORKING. How and why, I don`t know, but is working.

Arch is very strange, sometimes things don`t work, and U try to solve problem, and when you can nohing else to do, it just start working by himself.

Last edited by djomla (2013-06-01 19:29:31)

Offline

#9 2013-06-01 19:28:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

What's the output of 'xset q'?

Offline

#10 2013-06-01 19:30:17

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

Here it is:

[djomla@localhost ~]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  33
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  8
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
  Standby: 7200    Suspend: 7200    Off: 14400
  DPMS is Disabled

Offline

#11 2013-06-01 19:36:14

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

Those errors alse also displayed when I start xscreensaver-gnome:

xscreensaver-demo: 21:35:07: Gtk-warning: Unable to locate theme engine in module_path: "murrine",

and

(xscreensaver-demo:704): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory

Offline

#12 2013-06-01 19:36:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

DPMS is disabled, but it seem https://wiki.archlinux.org/index.php/Xs … S_settings not to matter anyway.
Can you post your ~/.xscreensaver config?


Edit:
These are warnings, not errors ;P

$ pkgfile libgnome.so
extra/libgnomeui

If you install libgnomeui, that warning should go away, but I have no idea if it's worth it.

Last edited by karol (2013-06-01 19:42:15)

Offline

#13 2013-06-01 19:43:25

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

# XScreenSaver Preferences File
# Written by xscreensaver-demo 5.21 for djomla on Sat Jun  1 21:36:51 2013.
# http://www.jwz.org/xscreensaver/

timeout:	0:05:00
cycle:		0:10:00
lock:		False
lockTimeout:	0:00:00
passwdTimeout:	0:00:30
visualID:	default
installColormap:    True
verbose:	False
timestamp:	True
splash:		True
splashDuration:	0:00:05
demoCommand:	xscreensaver-demo
prefsCommand:	xscreensaver-demo -prefs
nice:		10
memoryLimit:	0
fade:		True
unfade:		False
fadeSeconds:	0:00:03
fadeTicks:	20
captureStderr:	True
ignoreUninstalledPrograms:False
font:		*-medium-r-*-140-*-m-*
dpmsEnabled:	False
dpmsQuickOff:	False
dpmsStandby:	2:00:00
dpmsSuspend:	2:00:00
dpmsOff:	4:00:00
grabDesktopImages:  True
grabVideoFrames:    False
chooseRandomImages: False
imageDirectory:	

mode:		one
selected:	142

textMode:	file
textLiteral:	XScreenSaver
textFile:	
textProgram:	fortune
pointerPollTime:    0:00:05
pointerHysteresis:  10
windowCreationTimeout:0:00:30
initialDelay:	0:00:00
GetViewPortIsFullOfLies:False
procInterrupts:	True
xinputExtensionDev: False
overlayStderr:	True

Offline

#14 2013-06-01 19:45:54

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

libgnomeui says it is User Interface library for GNOME, but I use Cinnamon. Is it maybe reason why I can not start xscreensaver-demo vith some icon?

Offline

#15 2013-06-01 19:55:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

You said you've set it to 2 minutes, but I think

timeout:	0:05:00

means 5 minutes.

I'm not familiar with xscreensaver, so please correct me if I'm wrong.

You said you're running xscreensaver-gnome, but I couldn't find it, so I looked around a bit and http://www.jwz.org/xscreensaver/faq.htm … creensaver
Are you using the gnome-screensaver package?

Last edited by karol (2013-06-01 19:58:23)

Offline

#16 2013-06-01 20:07:30

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

I changed from 2min to 5min., so 5min is correct wink

I disabled gnome-screensaver service, and wanted to start xscreensaver, so I`m using xscreensaver-arch-logo, to be precise.

Now xscreensaver works ok, and I hope it will stay so. My first wrong move was that I putet exec before /usr/bin/xscreensaver -no-splash & line in .xinitrc file. Second step for solution was to move that line before line exec gnome-session-cinnamon. Everything thanks to you, karol smile

Now, just for curiosity,  I tought it need to be first gnome-session-cinnamon and then xscreensaver in .xinitrc file. Why is no metter is it going to start first gnome or screensaver?

Offline

#17 2013-06-01 20:14:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

djomla wrote:

Now, just for curiosity,  I tought it need to be first gnome-session-cinnamon and then xscreensaver in .xinitrc file. Why is no metter is it going to start first gnome or screensaver?

I don't know how exactly it works ;P

Offline

#18 2013-06-01 20:23:19

djomla
Member
Registered: 2013-05-27
Posts: 28

Re: [SOLVED] XscreenSaver just wont to start!

karol wrote:

I don't know how exactly it works ;P

smile It is imporant that is working.
Thanks a lot for help, there will be more problems, I`m sure. Now I have to search solutions for others issues, and if I fail to do alone, I`ll ask here, on this forum, for help smile

Offline

#19 2013-06-01 20:44:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] XscreenSaver just wont to start!

djomla wrote:

Thanks a lot for help, there will be more problems, I`m sure.

Not sure what the proper etiquette is, should I say "I'm looking forward to" or berate you for being too pessimistic?
;-)


Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB