[SOLVED] Xscreensaver Daemon not working

I just upgraded to 12.04 and installed Xscreensaver but it seems I have something missing as it doesn’t start properly.
It said something about Daemon not starting properly!
Is there a way I can stop it and restart it so I can create the error so I can post it up here without having ro reboot to create it?

I managed to re-create the error without rebooting.

What’s the output from:

ls -l ~/.xscreensaver

and

SPATH

and just as a matter of interest:

ls -a ~/

pooky2483@pooky2483-ubuntu12:~$ ls -l ~/.xscreensaver
-rw-rw-r-- 1 pooky2483 pooky2483 7570 Aug 3 14:02 /home/pooky2483/.xscreensaver
pooky2483@pooky2483-ubuntu12:~$

``` SPATH ```

pooky2483@pooky2483-ubuntu12:~$ SPATH
SPATH: command not found
pooky2483@pooky2483-ubuntu12:~$

and just as a matter of interest:
ls -a ~/

pooky2483@pooky2483-ubuntu12:~$ ls -a ~/
. .bash_history .compiz-1 Desktop examples.desktop .gnome2 .gstreamer-0.10 .ICEauthority .mozilla Pictures .pulse-cookie .thunderbird .xscreensaver
… .bash_logout .config .dmrc .fontconfig .gnome2_private .gtk-bookmarks .local Music .profile .sane .tvtime .xsession-errors
.adobe .bashrc .cups Documents .gconf .goutputstream-2WWAIW .gvfs .macromedia .nv Public Templates Videos .xsession-errors.old
.arista .cache .dbus Downloads .gksu.lock .goutputstream-QNCBIW .hplip .mission-control PDF .pulse .thumbnails .Xauthority
pooky2483@pooky2483-ubuntu12:~$

Sorry… that should have been:

$PATH

[EDIT]

Couple of extra questions …

Have you attempted to install tvtime in 12.04 ? … don’t do it, just answer the question.
and
what’s the output from:

mount

pooky2483@pooky2483-ubuntu12:~$ path
No command ‘path’ found, did you mean:
Command ‘patch’ from package ‘patch’ (main)
Command ‘pat’ from package ‘dist’ (universe)
Command ‘xpath’ from package ‘libxml-xpath-perl’ (main)
path: command not found
pooky2483@pooky2483-ubuntu12:~$

[EDIT]

Couple of extra questions …

Have you attempted to install tvtime in 12.04 ? … don’t do it, just answer the question.

err… yes, I did

and what's the output from:
mount

pooky2483@pooky2483-ubuntu12:~$ mount
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/pooky2483/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=pooky2483)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
/dev/sda1 on /media/Home_ type ext4 (rw,nosuid,nodev,uhelper=udisks)
pooky2483@pooky2483-ubuntu12:~$

Hope I’ve not done anything bad! :frowning:

Copy and paste this EXACTLY as shown

$PATH

and run it

include the $ and PATH is upper case.

pooky2483@pooky2483-ubuntu12:~$ $PATH
bash: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory
pooky2483@pooky2483-ubuntu12:~$

OK answer these questions

  1. Have you attempted to install tvtime in 12.04 ? … I don’t want you to try, I just want a yes or no

  2. send the output from

sudo fdisk -l
  1. send the output from:
df -h
  1. send the contents of:
gedit /etc/fstab

5 send the output from:

id

I answered earlier, Yes.

2) send the output from
sudo fdisk -l

[spoiler]pooky2483@pooky2483-ubuntu12:~$ sudo fdisk -l
[sudo] password for pooky2483:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b1c6d

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 971007999 485502976 83 Linux
/dev/sda2 971010046 976771071 2880513 5 Extended
/dev/sda5 971010048 976771071 2880512 82 Linux swap / Solaris

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00044d2a

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 484474879 242236416 83 Linux
/dev/sdb2 484474880 490233855 2879488 82 Linux swap / Solaris

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002506b

Device Boot Start End Blocks Id System
/dev/sdc1 63 1953520064 976760001 83 Linux

Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009b408

Device Boot Start End Blocks Id System
/dev/sdd1 63 3907024064 1953512001 83 Linux
pooky2483@pooky2483-ubuntu12:~$
[/spoiler]

3) send the output from:
df -h

pooky2483@pooky2483-ubuntu12:~$ df -h
df: `/root/.gvfs’: Permission denied
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 231G 8.8G 211G 4% /
udev 1.5G 4.0K 1.5G 1% /dev
tmpfs 603M 948K 602M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.5G 248K 1.5G 1% /run/shm
/dev/sda1 463G 436G 4.1G 100% /media/Home_
pooky2483@pooky2483-ubuntu12:~$

4) send the contents of:
gedit /etc/fstab

[spoiler]# /etc/fstab: static file system information.

Use ‘blkid’ to print the universally unique identifier for a

device; this may be used with UUID= as a more robust way to name devices

that works even if disks are added and removed. See fstab(5).

proc /proc proc nodev,noexec,nosuid 0 0

/ was on /dev/sdb1 during installation

UUID=86fe3809-17a6-412c-be0a-250f6f29fa41 / ext4 errors=remount-ro 0 1

swap was on /dev/sda5 during installation

UUID=e56dad6b-358f-4948-b51f-4abce81f50b1 none swap sw 0 0

swap was on /dev/sdb2 during installation

UUID=03b9f227-9f5c-4abc-a50b-74ecc1590f44 none swap sw 0 0

Mounted Drives

#/dev/sda1 /media/Home ext4 defaults,user,locale=en_GB.utf8 0 0
#/dev/sdc1 /media/Disk3 ext4 defaults,user,locale=en_GB.utf8 0 0
#/dev/sdd1 /media/Disk4 ext4 defaults,user,locale=en_GB.utf8 0 0[/spoiler]

Note: The last bit I’ve added but commented out.

5 send the output from:
id

pooky2483@pooky2483-ubuntu12:~$ id
uid=1000(pooky2483) gid=1000(pooky2483) groups=1000(pooky2483),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
pooky2483@pooky2483-ubuntu12:~$

Well you haven’t mounted the 500GB drive as /home (but with the current setup that’s probably a good thing) … but I’m still baffled why it won’t let you rename a directory in your home directory.

What’s the output from:

mkdir -v ~/test

and

ls -ln ~/.xscreensaver

and

mv -v ~/.thunderbird ~/.thunderbird-old

All in all … you’ve ended up with a mighty weird setup here ???

What's the output from:
mkdir -v ~/test

pooky2483@pooky2483-ubuntu12:~$ mkdir -v ~/test
mkdir: created directory `/home/pooky2483/test’
pooky2483@pooky2483-ubuntu12:~$

``` ls -ln ~/.xscreensaver ```

pooky2483@pooky2483-ubuntu12:~$ ls -ln ~/.xscreensaver
-rw-rw-r-- 1 1000 1000 7570 Aug 3 14:49 /home/pooky2483/.xscreensaver
pooky2483@pooky2483-ubuntu12:~$

``` mv -v ~/.thunderbird ~/.thunderbird-old ```

pooky2483@pooky2483-ubuntu12:~$ mv -v ~/.thunderbird ~/.thunderbird-old
/home/pooky2483/.thunderbird' -> /home/pooky2483/.thunderbird-old’
pooky2483@pooky2483-ubuntu12:~$

All in all .. you've ended up with a mighty weird setup here ???
:o lol

Now got this error;

You’re posting multiple problems at the same time which is getting confusing … so I’m going to respond to the one at a time.

What happens if you run:

sudo apt-get remove --purge xscreensaver xscreensaver-data

then

sudo apt-get install xscreensaver xscreensaver-data

Then reboot … does xscreensaver work now ?

Yes, but…

And if you click OK ?

How many screens have you got attached ?

I got this;

Is gnome-screensaver listed in your startup applications ?

Yes, it is. Should it not be?

gnome-screensaver interferes with xscreensaver

You can either stop it from loading by disabling it in startup applicactions … then add xscreensaver to startup applicatons

or uninstall it, and add xscreensaver to startup applications.

Be aware xscreensaver must be installed BEFORE uninstalling gnome-screensaver.

This video may help