2009-03-14, 01:34
I used this guide on my fresh install of Ubuntu 8.04 (Not mini-CD, full) and it worked perfectly up to this part:
When I log in i get this error:
"You session lasted less than 10 seconds. If you didn't log out yourself this may be because you have a problem with the install or you are out of diskspace. Try to log in with one of the failsafe sessions to see if this solves your problem.
~/.xsession-errors file shows this:
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=nb_NO.
Start IM through /etc/X11/xinit/Xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
Fatal error encountered, aborting
Error log at /usr/share/xbmc/xbmc.log
The XBMC_HOME environment variable is not set.
Aborted (core dumped).
Quote:Autoboot and autostart XBMC
NEXT STEP
# cd $home
NEXT STEP
# wget http://217.20.138.65/xbmc/.xsession
NEXT STEP
# sudo nano /etc/event.d/tty2
Comment out the last line (with #) and add the following line, so the end of the file should look like this:
respawn
#exec /sbin/getty 38400 tty2
exec /sbin/mingetty --autologin xbmc tty2
(Please note: replace „xbmc” with username you installed with)
NEXT STEP
# nano .bash_profile
Copy the following text into it, then save the file:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty2 ]; then
startx -- -br
fi
When I log in i get this error:
"You session lasted less than 10 seconds. If you didn't log out yourself this may be because you have a problem with the install or you are out of diskspace. Try to log in with one of the failsafe sessions to see if this solves your problem.
~/.xsession-errors file shows this:
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=nb_NO.
Start IM through /etc/X11/xinit/Xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
Fatal error encountered, aborting
Error log at /usr/share/xbmc/xbmc.log
The XBMC_HOME environment variable is not set.
Aborted (core dumped).