You are not logged in.
My system is xfce4 based and feh doesn't run with the following error msg:
sh-4.2# feh -g -d -S /mnt/md
feh ERROR: You have no HOME, cannot read themes
sh-4.2# Is this caused by xfce4 setup or the lack of a Home directory? EDIT: ...no Home partition
Last edited by lilsirecho (2012-07-07 20:47:58)
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
What happens if you just do this:
feh /mnt/mdThe man page says -S and -g take arguments, but it does work for me without them, if I give feh a valid folder with images in it.
This is from the wiki:
To quickly browse images in a specific directory, you can launch feh with the following arguments:
$ feh -g 640x480 -d -S filename /path/to/directory
have you tried it with values after the -g and -S?
Last edited by 2ManyDogs (2012-07-07 20:13:12)
Offline
I get the same error message with both trials.................
I assume there is something in xfce4 which handles the feh details.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
The $HOME env var is not set, which normally points to your home directory. I could reproduce the error with:
unset HOME; feh test.jpgOffline
The post by ctfxi-user suggests the reason for my failed FEH is the fact that I have no Home directory. I have only root and boot.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Try setting $HOME:
export HOME=/root/Offline
ctxfi-user:
Thanks for the export command which does the job!
Can this be made a permanent command say in rc.local?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Normally $HOME is set during login. Something is wrong there. I assume you use auto login. Please provide some details!
Offline
My log-in is thru rc.local with no passwd into xfce4 using ....startxfce4 in rc.local.
My system is raid0 grub2 partitioned boot. System uses 3 Compact Flash devices.
Feh runs now but doesn't operate as usual with default slideshow.
Latest kernel utilized x86_64 mode.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
If you start XFCE in rc.local for example with
startxfce4try changing it to
bash -l -c 'startxfce4'This invokes bash as a login shell, that is, setting some env vars like $HOME and so. Plus directly starts XFCE, like before.
Sorry, but I can't help further with feh...
Offline
Thanks for the suggestions and will try the arrangement you provided.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline