Linux HOW-TO make XBMC for Linux auto start on Ubuntu

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ukasz Offline
Member
Posts: 71
Joined: Apr 2009
Reputation: 0
Location: Poland
Post: #81
i have found simpler method not involving istalling mimgetty etc.
using debian squeeze
the file .xinitrc in your home irectory is still the same:
PHP Code:
#!/bin/sh

exec /usr/bin/xbmc --standalone 

edit your /etc/rc.local and put it there:
PHP Code:
su -"/usr/bin/startx" yourusernamehere 

and voila xbmc will launch automticly after all init scripts has launched.

btw i have shriked debian to 700 mb and i have everything working Smile

lenovo y530
nvidia gf 9600 512mb
Debian squeeze
find quote
camdagr8 Offline
Junior Member
Posts: 1
Joined: Nov 2009
Reputation: 0
Post: #82
What I'm trying to do is this:

- run xbmc only (no desktop)
- make sure xbmc can access shares
- start my wireless connection (wep secured)
- set my resolution correctly (see: http://forum.xbmc.org/showthread.php?tid=39717)

Code:
#!/bin/sh
aticonfig --set-dispattrib=tmds1i,positionX:0
aticonfig --set-dispattrib=tmds1i,positionY:0
aticonfig --set-dispattrib=tmds1i,sizeX:1920
aticonfig --set-dispattrib=tmds1i,sizeY:1080

I'm running Ubuntu Karmic 9.10 and the latest xbmc

Any suggestions? Oh, btw I'm a total n00b so please be very descriptive with any help.
(This post was last modified: 2009-12-07 15:27 by camdagr8.)
find quote
bolzerrr Offline
Junior Member
Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #83
Hi!

I tried this guide but i gdm is not in my rcconf (not selected), but i alwasy get the gdm gui login. im using ubuntu 9.10. can someone help me please with this?

cheers
find quote
OldOne Offline
Member
Posts: 64
Joined: Jan 2009
Reputation: 0
Post: #84
I just figured out how to disable GDM in Ubuntu 10.04,
just remove or rename the gdm.conf
Code:
mv /etc/init/gdm.conf /etc/init/gdm.conf.noexec
(This post was last modified: 2010-09-03 20:18 by OldOne.)
find quote
acid_junkie Offline
Junior Member
Posts: 1
Joined: Sep 2010
Reputation: 0
Post: #85
Hi,

this thread looks a bit obsolete. There is now a package called xbmc-standalone that will do all that for you. It gives you access to a new type of session in GDM called "XBMC Standalone" or something therefore it will not even start Gnome but only XBMC. You just have to go in the GDM options from the control panel to start automatically on that session as the user owner of the XBMC program and that is it. It will even allow you to disable grub if you want (but therefore you will have to do a update-grub2 at every kernel update).
find quote
osirisjem Offline
Senior Member
Posts: 166
Joined: Oct 2008
Reputation: 0
Post: #86
Would something here work in 10.1 ?
I updated my xbmc to 10.1 and it doesnt boot to xbmc ... it boots to the terminal.

ASrock Ion 330HT - XBMCFreak 10.1 Lucid LiveCD. Everything works but System sounds over HDMI.
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #87
Quote:Would something here work in 10.1

If you did not do this before the upgrade don't do it now.
Start another thread and give a detailed description.

The most common reason why a working xbmc-live stops working is that you have broken the nvidia drivers. If that is the case re-install the drivers.

step1: login and manualy start xbmc.
find quote
milkybar1983 Offline
Junior Member
Posts: 12
Joined: Aug 2012
Reputation: 0
Post: #88
i get stuck at this step:

Install rcconf:
Code:
sudo apt-get install rcconf

I get :

rcconf needs dialog or whiptail.

Using 12.10, any ideas?
find quote
Nickroche Offline
Junior Member
Posts: 1
Joined: Dec 2012
Reputation: 0
Post: #89
milkybar: I had the same issue. Google solved it:

"Whiptail is already there, but not in the folder the apps try to launch it from. All you need to do is to create a symlink to the app in the /usr/bin directory. To do so, execute:

$ sudo ln -s /bin/whiptail /usr/bin/whiptail

After this, run rcconf."
find quote
Post Reply