Closed Smultie closed 9 years ago
Could it be that you use the manual override:
cat /home/xbian/.xbian-config-start
0
If you make it a 1
is should work again.
Nope, it's at 1
On Wed, Jan 28, 2015 at 12:41 PM, CurlyMoo notifications@github.com wrote:
Could it be that you use the manual override:
cat /home/xbian/.xbian-config-start 0
If you make it a 1 is should work again.
— Reply to this email directly or view it on GitHub https://github.com/xbianonpi/xbian/issues/659#issuecomment-71820950.
Does this file still exists?
/home/xbian/.xbian-config-start.sh
And do you have this at the end of /home/xbian/.bashrc
?
if [ -z "${STY}" ] && [ -z "${TMUX}" ] \
&& [ -e /home/xbian/.xbian-config-start.sh ]; then
. /home/xbian/.xbian-config-start.sh
fi
xbian@xbian ~ $ cat /home/xbian/.xbian-config-start.sh
if grep -qx '1' /home/xbian/.xbian-config-start; then
sudo xbian-config
echo
echo '# to disable xbian-config:'
echo 'echo 0 > ~/.xbian-config-start'
fi
cat /home/xbian/.bashrc
if [ -z "${STY}" ] && [ -z "${TMUX}" ] \
&& [ -e /home/xbian/.xbian-config-start.sh ]; then
. /home/xbian/.xbian-config-start.sh
fi
Same Problem here all is set right I make a fresh install and after update the error occurs, also the dist-upgrade do not work see: http://forum.xbian.org/thread-2655-post-26477.html#pid26477 Manually start sudo xbian-config works
I can confirm that I have the same issue (on the forum I'm known as Carpenter)
What xbian-config package is this: apt-cache policy xbian-package-config-shell
xbian@xbian ~ $ apt-cache policy xbian-package-config-shell
xbian-package-config-shell:
Installed: 2.1.15-2
Candidate: 2.1.15-2
Version table:
*** 2.1.15-2 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
100 /var/lib/dpkg/status
2.1.15-1 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.15 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.14-2 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.14 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.13 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.12 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.11 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.10 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.9 0
500 mirror://apt.xbian.org/mirror.txt/ staging/main armhf Packages
2.1.8-6 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.8-5 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.8-4 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
2.1.8-3 0
500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages
First check if you still have a /home/xbian/.profile
. If not try this:
cat << \EOF > /home/xbian/.profile
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
EOF
.profile ist not present in my home After create this xbian config start at login Still have the error in dist-upgrade
That's why you shouldn't use dist-upgrade
.
That fixed it for me CurlyMoo
This turned out to be a bug in xbian-package-xbianhome and has been fixed.
To be honest, I don't think there's any bug as the idea was that that package should only be installed when building the image - I think it should be removed from the repo.
I don't agree. An example is that we recently added the xbian user to the cdrom group. That change has been pushed by xbianhome.
The issue somehow returned after me putting back a backup on my SD/USB. However, the above didn't work this time. Any way to get the autostarting back?
Nvm, apparently my /home/xbian/.xbian-config-start.sh was gone.
You should be able to enable xbian-config autostart inside xbian-config.
That's the first thing I tried, but that didn't work. I created /home/xbian/.xbian-config-start.sh and after that it worked again.
Since a couple of days, when I SSH into my pi, Xbian-config no longer autostarts.
"sudo xbian-config" does the trick, of course. I've checked the settings, SSH-2-6 and it says "Successfully enabled xbian-config autostart".