You are not logged in.
Pages: 1
Hey guys,
I thought I had this one sorted but clearly something is not right. !
My X Server is running just fine, I can call it with startx and it fires up no problems.
XBMC has been installed and been set to start at boot using
sudo systemctl enable xbmc.service
but the system just boots to a login prompt
The status of the xbmc.service is this
[ams@arch ~]$ sudo systemctl status xbmc.service -l
● xbmc.service - Starts instance of XBMC using xinit
Loaded: loaded (/usr/lib/systemd/system/xbmc.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-08-02 14:01:14 NZST; 15min ago
Main PID: 280 (code=exited, status=1/FAILURE)
Aug 02 14:00:59 arch systemd[280]: pam_unix(login:session): session opened for user ams by (uid=0)
Aug 02 14:01:14 arch systemd[1]: xbmc.service: main process exited, code=exited, status=1/FAILURE
Aug 02 14:01:14 arch systemd[1]: Unit xbmc.service entered failed state.
I know XBMC is running fine as I can startx manually and start it from there.
this is my xbmc.service file
[ams@arch ~]$ cat /usr/lib/systemd/system/xbmc.service
[Unit]
Description = Starts instance of XBMC using xinit
After = systemd-user-sessions.service network.target
Conflicts=getty@tty7.service
[Service]
User = xbmc
Group = xbmc
PAMName=login
Type = simple
TTYPath=/dev/tty7
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc-standalone -- :0 -nolisten tcp vt7
Restart = on-abort
[Install]
WantedBy = multi-user.target
anybody got any suggestions on this one? im a little stuck! Thanks
Offline
I'm no expert, but if you haven't checked yet, you might want to take a look at the wiki page for xbmc https://wiki.archlinux.org/index.php/XBMC
It has a link about autostarting. I believe XBMC comes with a session and user, but currently the session is not working.
What I did was created my own user, set it to autologin to a custom xbmc.desktop file which launches an xbmc.session.
If that helps.
Offline
It's a known issue.
Offline
Thanks for the heads up Cplusplus, Im sure i checked there the other day but I never saw that the autostart was broken! I guess I was always going to be fighting a losing battle, im off to go try the bug fix!
thanks again
Offline
What I did was created my own user, set it to autologin to a custom xbmc.desktop file which launches an xbmc.session.
If that helps.
Hey cplusplus, would you mind posting your custom desktop file. Thanks
Offline
Sorry for the late reply. the XBMC package actually comes with a .desktop file included. it's located under /usr/share/xsessions/XBMC.desktop.
It just launches a xbmc-standalone. xbmc-standalone is located in /usr/bin/ you should be able to use them as a template to create your own.
Offline
Pages: 1