Posts: 138
Joined: Jul 2007
Reputation:
0
rrambo
Senior Member
Posts: 138
I've actually got it pretty much working like I want it to at home as my htpc.. base install of 7.10 server with x-window-system, ssh, lirc, envy and xbmc/dependencies.. my scripts to start x and xbmc on boot without logging in or any desktop managers.. boots very fast now.. and I use irexec to call scripts for reboot and shutdown on 2 unused buttons on my mce remote.. so on the off chance xbmc locks up I just hit one button on the remote and it reboots.. then when I'm done I hit another to shut it down.. now if I could figure out a way to suspend and then wake up with a button on the remote it would be perfect.. don't know if that's possible..
the only other thing I need to tweak is my xorg.conf.. i used envy for my nvidia driver and it's using auto to detect my screen and sets my resolution at 1920x1080.. which is perfect... except if I happen to boot up without my display on.. then I don't get a screen if I turn my lcd on after boot.. so basically I need to define my xorg.conf...
Posts: 20
Joined: Jan 2008
Reputation:
0
Grast
Junior Member
Posts: 20
I though issue with display not coming up when display is not turned on is an issue with nvidia and X. Everything I have read has stated that when X is loading the display device must be on in order to get X to initialize the display.
If you find a method in your xorg.conf to remove that limitation, I am all ears.
later...
Posts: 1,741
Joined: Jul 2006
Reputation:
4
I too would be interested in this - my screen isn't seen when I'm switched to another source so it sees who knows what from my receiver (no EDID) and I get 1024X768. Argh!
Posts: 138
Joined: Jul 2007
Reputation:
0
rrambo
Senior Member
Posts: 138
i'll look at it this weekend... i know it will work without the screen on because it's the same hardware i was running linux mce on and I could boot without the screen on.
Posts: 10
Joined: Apr 2008
Reputation:
0
pefdus
Junior Member
Posts: 10
I installed Ubuntu 7.10 Server.
Then
xserver-xorg
then
gdm
then
created my "dvr" account
and added it to
/etc/gdm/gdm.conf
[daemon]
# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=true
AutomaticLogin=dvr
Then, in the /home/dvr/.xsession
#!/bin/sh
export XBMC_HOME=/opt/xbmc
exec $XBMC_HOME/XboxMediaCenter -fs
Simple, no fussing around with tty's etc. and I can plugin by USB keyboard, and ctrl-alt-f1 to get to the console (and login as mythtv, and
startx -- :1
to start the mythtv setup in that screen
no window managers.
Hope that helps someone.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
umm pefdus you just said you installed gdm
Posts: 138
Joined: Jul 2007
Reputation:
0
rrambo
Senior Member
Posts: 138
yeah.. no gdm here.. I just installed x-window-system.... then my script calls xinit and xbmc..
Posts: 21
Joined: Apr 2008
Reputation:
0
How does one apply these scripts exactly. Linux noob.
Posts: 138
Joined: Jul 2007
Reputation:
0
rrambo
Senior Member
Posts: 138
i have one script in /etc/init.d linked to etc/rc2.d that calls my script in /usr/bin.. that way it starts automatically at boot with no desktop environment and no logging in.
Posts: 138
Joined: Jul 2007
Reputation:
0
rrambo
Senior Member
Posts: 138
InDash... I'm pretty much following the same procedure with 8.04.. instead of x-window-system, I install xorg.. and I just use the ppa now instead of the .deb.. so the scripts have to be changed a little to reflect where the install of xbmc is with the ppa install.. still works great... no window manager.. autostarts and runs xbmc and boots quickly..
I do remember something else.. I change my kernel to generic from the server kernel that gets installed with 8.04 server....
Posts: 59
Joined: Jul 2008
Reputation:
0
rrambo, so you install the 8.04 server distro, and change the kernel?
What is the advantage/need?