Kodi Community Forum
XBMC on Ubuntu Server, minimal install with no GDM - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: XBMC on Ubuntu Server, minimal install with no GDM (/showthread.php?tid=32891)

Pages: 1 2 3 4 5


- haffi - 2008-06-21

just wanted to say thanks , this made the difference so I have now changed from the orgianl xbox to linux since its all working almost the same, now for some Boot logo and such and im happy Smile


- icekiller - 2008-06-21

haffi
http://hnboekhouding.be/rss/xbmc_hardy_ubuntu.pdf

Wink


- InDashMP3 - 2008-07-22

So I followed rrambos install, but I used the Hardy mini iso, and installed xorg. It all seems to be working, but without installing GDM, how to I bypass the login? Sorry for the n00b question. I actually can't believe I even got this far! Booting off of CF-SATA adapter!Big Grin


minimal install and hibernation/suspend - Kobeissi - 2008-07-22

@rrambo: Is it possible to, either suspend or hibernate instead of shutdown?


- snuggidk - 2008-07-22

InDashMP3 .. have you followed the guide wi-th the startup-scripts? Smile .. that should work .. although remember to check if the xbmc-install is in the right place .. mine was installed at /usr/local/share/xbmc (the svn-install) .. So I had to edit both scripts a bit .. if anyone need em I can post them Smile


- InDashMP3 - 2008-07-22

@snuggidk, thanks for the heads up. Hmm, I thought I modified the path as mine is also in /usr/local/share/xbmc. I will double check, but I am still confused how the script will execute prior to login. This is obviously because I am not familiar enough yet with Linux, however I am sure I will learn. Although the scripts you have may be someone redundant to what has already been posted here, I would certainly appreciate looking at yours.


- snuggidk - 2008-07-22

InDashMP3 .. I am not a pro either .. but I guess it has something to do with the runlevel it is running on and so .. well to sum up .. when a script initializes right it does not require a specific user to login and by that you can start something up (x-session+xbmc+lirc) without typing in user and pass Smile

The XboxMediaCenter.sh

Quote:#/usr/local/bin/XboxMediaCenter.sh

#Script to start x server and XBMC

#!/bin/bash

/usr/bin/X11/xinit /usr/local/share/xbmc/xbmc.bin -q &
irexec -d /root/.lircrc &
fi


and the file just called XboxMediaCenter

Quote:#/etc/init.d/XboxMediaCenter

#Start XBMC

#!/bin/sh

export PATH=/usr/bin:/usr/local/bin:/usr/local/share/xbmc
export HOME=/root

case "$1" in
start) echo -n "Starting XboxMediaCenter"

setterm -blank 0

/usr/local/bin/XboxMediaCenter.sh

esac
exit 0


I dont know if all the stuff in the scripts are right now (placement, lirc and so) .. but it works!, and that should be what is needed Smile


- rrambo - 2008-07-23

Yes, it's runlevel... the script I have in init.d is called during boot which starts x and xbmc... there is no login... modifications may need to be made for whatever install method you use for xbmc with regards to location of the binary...


- InDashMP3 - 2008-07-23

snuggidk / rrambo,

Thanks for the help! I can't believe how much I have learned with regards to Linux while rolling this out. My most recent challenge was geeting Alsa to work with my soundcard, (which by the way still sounds a little distorted/overdriven)...but that's another story.

I hope to attempt this rebuild again soon with new hardware. When I do, I will try and update this thread with a new Step/by/Step for the total N00b including:
8.04 Mini iso/ cli install / xorg / libs / alsa / xbmc / scripts, etc....

Now off to continue searching for a listing of scripts/plugins for XBMC that have been tested to work with the Linux port.

Again, this thread has been very valuable, and I thank all who have contributed.


- olympia - 2008-07-24

rrambo, cornbell, thank you for the guides.

Based on the two guides, I was able to build my setup, booting relatively fast, except lirc, which seems a real disaster, I am still struggling with it.

Nevertheless, my question now to rrambo is, that is there any way to avoid seeing loading the modules? I mean before the script which is initiating to launch X together with XBMC. There would be much more fancy to see a splash screen instead of the text scrolling.
The same question rearding the X screen with the X type mouse pointer appearing for a second, after X started but before XBMC launched. OK, it is just a second, or less, but still not too nice.


- rrambo - 2008-07-24

olympia Wrote:rrambo, cornbell, thank you for the guides.

Based on the two guides, I was able to build my setup, booting relatively fast, except lirc, which seems a real disaster, I am still struggling with it.

Nevertheless, my question now to rrambo is, that is there any way to avoid seeing loading the modules? I mean before the script which is initiating to launch X together with XBMC. There would be much more fancy to see a splash screen instead of the text scrolling.
The same question rearding the X screen with the X type mouse pointer appearing for a second, after X started but before XBMC launched. OK, it is just a second, or less, but still not too nice.

Usplash:

https://sourceforge.net/project/showfiles.php?group_id=87054&package_id=260464


- olympia - 2008-07-24

rrambo Wrote:Usplash:

https://sourceforge.net/project/showfiles.php?group_id=87054&package_id=260464

Yes, I saw this one, but I though it is applicable only if you have gdm and gnome installed and you can replace the standard ubuntu splash with the one, created by this tool.

So, is it also OK for the minimal version of yours? Without gdm?
If yes, could you please help on how to include this into the booting process?


- WTF0v3r - 2008-07-25

usplash and gdm are unrelated. I changed it no problem. No GDM or Gnome here.


- olympia - 2008-07-25

Would it be too huge question to ask somebody who already did it, to share a how-to with noobs, like me? Once again, to install usplash theme into a minimal, server install (followed rrambo's steps) of ubuntu.

Thank you in advance!


- althekiller - 2008-07-25

olympia Wrote:Would it be too huge question to ask somebody who already did it, to share a how-to with noobs, like me? Once again, to install usplash theme into a minimal, server install (followed rrambo's steps) of ubuntu.

Thank you in advance!

I'm sure the ubuntu forums are packed with this kind of info since it is much more their domain than it is ours.