.xsession file disappears on reboot
#1
I've got a XBMCBuntu-style setup, and I've upgraded to Beta2 - and after having installed mesa-utils and xterm again (aparently apt wanted to remove those when I upgraded - no idea why).

Now, the issue is that in this setup, I've got a .xsession file with the line exec xbmc --standalone - which makes sure that xbmc starts on boot.

However, this .xsession file appears to disappear whenever I reboot the system.

If I re-create the file in the /home/xbmc and issues the commands (over SSH): sudo stop tty1 and sudo start tty1, then xbmc starts up just as usual. But on reboot, lo and behold, the .xsession file is gone again.

Anyone got any idea what might cause this?
ASRock ION 330, Lucid Lynx, XBMC Dharma (beta 2)
Reply
#2
I'm having the exact same problem and I'm at a loss.
Reply
#3
I've found a solution to this: name the file .xinitrc instead of .xsession

Having consulted the documentation I've found no reason why .xsession is removed (and I'm not even sure it's XBMC related). The information I've found on google often suggests making the .xinitrc file and then making a symlink to it called .xsession to cover everything.

Maybe someone with more knowledge of X can shed some light on this?
ASRock ION 330, Lucid Lynx, XBMC Dharma (beta 2)
Reply
#4
The XBMC startup process seems to be the culprit (at least in xbmc-live).

It removes the user's .xsession and then replaces it with a default script every time it starts. See /etc/init/xbmc-live and /usr/bin/runXBMC
Reply

Logout Mark Read Team Forum Stats Members Help
.xsession file disappears on reboot0