xscreensaver-getimage can't find image on samba share
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xscreensaver (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xscreensaver
I'm using "automount" to mount a remote folder containing pictures to display using glslideshow. glslideshow fails to show those files. When I try manually to run glslideshow (from the terminal) using:
/usr/lib/
I get the following error:
xscreensaver-
When I use pictures form a local folder there is no problem.
I'm on Ubuntu 10.04 LTS
installed xscreensaver: 5.10-3ubuntu4
Thanks,
YoG.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xscreensaver (not installed)
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelMo
Architecture: i386
Date: Sat Jul 24 13:13:01 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xscreensaver
Related branches
YoG (yotamgil) wrote : | #1 |
- DisplayDevices.txt Edit (819 bytes, text/plain; charset="utf-8")
- XorgLog.txt Edit (12.9 KiB, text/plain; charset="utf-8")
- XorgLogOld.txt Edit (13.9 KiB, text/plain; charset="utf-8")
- glxinfo.txt Edit (26.5 KiB, text/plain; charset="utf-8")
David Litster (mrlitsta) wrote : | #2 |
Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in xscreensaver (Ubuntu): | |
status: | New → Confirmed |
Tormod Volden (tormodvolden) wrote : | #4 |
Can you please run:
xscreensaver-
Changed in xscreensaver (Ubuntu): | |
assignee: | nobody → Tormod Volden (tormodvolden) |
status: | Confirmed → Incomplete |
YoG (yotamgil) wrote : | #5 |
here's the result of running "xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
Tormod Volden (tormodvolden) wrote : | #6 |
I am not able to reproduce this on a samba mount using the normal gvfs mounting in Gnome. What is your "automount" about? What does "mount" say about it?
Which version of xscreensaver are you currently using? On which distro version?
jason lytle (jason-k4cybxw) wrote : | #7 |
I'm having the same problem
xscreensaver latest version
Ubuntu 11.10 (clean install) w/ Unity running
mounting a windows share with:
mount -t cifs //10.200.
I can access this share and the images in it using other applications like gimp and firefox.
I have another machine with different hardware running Ubuntu 11.10 (upgraded from 11.04) but running lubuntu desktop instead of unity and this works ok.
in the error it says the directory doesn't exist. during a preview, the error lists the actual names of the files it is reading from the directory but then says the file doesn't exist.
I ran the xscreensaver-
the file exists:
root@T420s:~# ls -la /mnt/shared/
-rwxr-xr-x 1 root root 47484 2011-05-26 14:36 /mnt/shared/
xscreensaver-
root@T420s:~# xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
but it doesn't see the file:
root@T420s:~# xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
maybe the problem is Unity? I'll try changing desktops and let you know.
jason lytle (jason-k4cybxw) wrote : | #8 |
sorry, I didn't run the command with chooseRandomImages: True
changing this in the gui wasn't setting it here so I had to add the -images argument:
root@T420s:~# xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
now my results are similar to that earlier post
Pål F. Kristiansen (paalfe) wrote : | #9 |
I also have this problem. xscreensaver gives "Directory dos not exist" on mounted SMB share.
Have tried making a link to the share and choose it, but "does not exist".
If I choose a local folder the local pictures works.
Running Ubuntu 12.04 x86 with gnome3 desktop.
Xscreensaver 5.15, 28-sep-2011 and the screensaver glslideshow.
------------------
$ xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
------------------
$ xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
------------------
How I mount the SMB share with fstab:
//stora/
Pål F. Kristiansen (paalfe) wrote : | #10 |
I have another PC that I use Xscreensaver on and on that it works fine with mounted SMB share.
Running Ubuntu 12.04 x64 with gnome3 desktop (fresh install, not upgraded from earlier ubuntu version and so is the other PC I mention in the previous post).
Xscreensaver 5.15, 28-sep-2011 and the screensaver glslideshow.
------------------
$ xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
------------------
$ xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
xscreensaver-
------------------
How I mount the SMB share with fstab:
//nas01/mirrored /mnt/nas01-mirrored cifs credentials=
------------------
The different between PC1 and PC2 is:
PC1 = Directory does not exist
PC2 = Works
PC1 = x86
PC2 = x64
PC1 = SMB server is a Netgear Stora
PC2 = SMB server is a Netgear RadyNas Ultra 2
Mamoru TASAKA (mtasaka) wrote : | #11 |
Reproducible even with xscreensaver 5.18 on my i686 machine (client).
It seems that stat() on the line 1256 in get_filename_1() in xscreensaver-
For people seeing this issue: would you try either of the below?
* mount.cifs windows system with adding "noserverino" option
* Adding "#define _FILE_OFFSET_BITS 64" at the top of xscreensaver-
Pål F. Kristiansen (paalfe) wrote : | #12 |
I mount.cifs the share from Netgear Stora on PC1 with adding "noserverino" option and now it works :D
-------
Before adding noserverino option
$ ls -alhi stora/
totalt 16K
9898825875592 drwxrwxr-x 1 gok root 0 juli 24 19:24 .
261633 drwxr-xr-x 4 root root 4,0K juli 23 09:51 ..
9896985281408 drwxrwxr-x 0 gok root 0 juli 24 21:00 Backup
9895878474674 drwxrwxr-x 1 gok root 0 juli 22 20:10 Bilder
9898289004879 drwxrwxr-x 0 gok root 0 nov. 24 2011 Diverse
-------
After adding noserverino option
$ ls -alhi stora/
totalt 16K
3 drwxrwxr-x 1 gok root 0 juli 24 19:24 .
261633 drwxr-xr-x 4 root root 4,0K juli 23 09:51 ..
22 drwxrwxr-x 0 gok root 0 juli 24 21:00 Backup
23 drwxrwxr-x 0 gok root 0 juli 22 20:10 Bilder
25 drwxrwxr-x 0 gok root 0 nov. 24 2011 Diverse
-------
How I mount.cifs the SMB share with fstab:
//stora/
Mamoru TASAKA (mtasaka) wrote : | #13 |
I discussed this with the upstream developer and we agreed to add "-D_FILE_
Tormod Volden (tormodvolden) wrote : | #14 |
Mamoru, thanks a lot for investigating this! We'll add "-D_FILE_
Changed in xscreensaver (Ubuntu): | |
assignee: | Tormod Volden (tormodvolden) → nobody |
status: | Incomplete → Confirmed |
Tormod Volden (tormodvolden) wrote : | #15 |
This has now been fixed in my Debian tree and will be released in Debian in 5.15-4 or 5.19-1. Debian is in release freeze at the moment, but I have uploaded a preview package "5.19-1pre" to my PPA if anyone would like to test it: https:/
Mamoru TASAKA (mtasaka) wrote : | #16 |
Note that with xscreensaver 5.21, AC_SYS_LARGEFILE is added to configure.in, so _FILE_OFFSET_BITS will be set to 64 in config.h{,in} if needed with doing configure, and modifying CFLAGS is no longer needed.
Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package xscreensaver - 5.26-1ubuntu1
---------------
xscreensaver (5.26-1ubuntu1) utopic; urgency=low
* Dropped Ubuntu changes:
- Ubuntu delta to the screensavers sets.
- Keep Debian Vcs-* links instead of the ~ubuntu-desktop team bzr
repository: the Desktop team does not have interest any more.
- The Ubuntu changes to the descriptions.
* Merge from Debian unstable. (LP: #1283459) Remaining changes:
- debian/control:
+ Breaks/Replaces: the old changes are not needed anymore, but the
new changes the screensavers sets needs it.
- debian/rules:
+ Use /usr/share/
+ Add translation domain to .desktop files.
- debian/
+ Add apport hook.
- debian/
+ Install /usr/share/
- debian/
- debian/
+ Allow going through images sequentially rather than just at random in
the GLSlideshow hack.
xscreensaver (5.26-1) unstable; urgency=low
* New upstream release 5.26, changes since 5.23:
- Updated feed-loading for recent Flickr changes.
- Updated `webcollage' for recent Google changes.
- Added Instagram and Bing as `webcollage' image sources.
- Updated to latest autoconf.
- Bug fixes.
* Drop patch applied upstream:
- debian/
* Bump Standards-Version to 3.9.5 (no changes needed)
xscreensaver (5.23-1) unstable; urgency=low
* New upstream release 5.23 (Closes: #729311)
- New hack, geodesic
- More heuristics for using RSS feeds as image sources
- Improved Wikipedia parser
- Updated webcollage for recent Flickr changes
- Added Android to bsod
- Made quasicrystal work on weak graphics cards
- Better compression on icons, plists and XML files
- Reverted that DEACTIVATE change. Bad idea.
- Phosphor now supports amber as well as green
* Dropped patches applied upstream:
- 12_upstream_
- 14_upstream_
- 15_upstream_
* debian/
Make sure CPPFLAGS are used (fixes hardening warnings)
* debian/control: Update VCS fields (fixes Lintian warning)
xscreensaver (5.22-1) unstable; urgency=low
* New upstream release 5.22 (Closes: #699833), changes since 5.15:
- XInput devices now also ignore small mouse motions
- Loading images via RSS feeds is much improved
- Enlarged the texture image for lament
- Made pipes be ridiculously less efficient, but spin
- Added better mouse control to rubik, cube21, crackberg, and julia
- Cosmetic improvements to queens and endgame
- sonar can now ping local subnet on DHCP
- Most savers now resize/rotate properly
- New version of `fireworkx'
- Minor fixes to `distort', `fontglide', `xmatrix'
- New MacOS crash in `bsod'
- New mode in `lcdscrub'
- Gnome/KD...
Changed in xscreensaver (Ubuntu): | |
status: | Confirmed → Fix Released |
I am also having this problem on two machines. One is a laptop with an s3 unichrome adapter, one is a desktop machine with an Nvidia 8400GS. I don't think the gfx card is the problem, but something with the open() call that xscreensaver- getimage is doing. I can list the directories from the shell and thunar just fine.
Something is getting a filename to xscreensaver- getimage to send to the screensaver renderer: getimage: file does not exist: "/media/ evectra/ evectra/ Media/Pictures/ 2008/East Coast Trip, May/Boston Freedom Trail/IMG_1680.JPG"
xscreensaver-
The laptop exhibited this behavior in Ubuntu 9.10. so I upgraded it to 10.04, same problem.
The desktop is at 10.10
The files are coming from a remotely mounted windows share hosted on a Windows Vista SP2 machine.
I did do a workaround once that involved setting up a VM, mounting the windows share on the VM, then NFS mounting the VM directory on the glslideshow machines, but that is a bit ridiculous.
What other details can I provide that would be useful?