You are not logged in.

#1 2010-03-09 00:54:13

rokr424
Member
Registered: 2009-11-28
Posts: 9

XBMC start at login

is it possable to force an environment to load at login?

im using kdm to log in. what im trying to do, is have kde or whatever i pick from kdm start when i use my login info, and has another accout (ex: XBMC) that forces an X session with only xbmc, reguardless of the pre-selected environment.

Offline

#2 2010-03-09 05:41:36

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: XBMC start at login

yes, you can do this using your .xinitrc
http://wiki.archlinux.org/index.php/Xinitrc


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

#3 2010-03-09 05:52:45

rokr424
Member
Registered: 2009-11-28
Posts: 9

Re: XBMC start at login

is there a way that i can use some part of kdm or init to do it? somethin like

if USER=xbmc
then
  killall kde
  /usr/bin/xbmc
else
  do the usual stuff
fi

because as far as i am aware, kdm skips the xinitrc


Edit: actually.. autostarting into xbmc, then switching to the main one later is a great idea.. thx big_smile

Edit: Edit: is there an option on startx to use a different vt? so xbmc starts on vt12 and vt7-11 are still free for other uses?

Last edited by rokr424 (2010-03-09 06:11:14)

Offline

#4 2010-03-09 17:17:34

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: XBMC start at login

1) i think you'll have to make a .desktop with a xbmc launcher and set it as your session using kdm. i'm not sure of the specifics on that.
2) yes, but i'm not sure how to do that. tongue


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

Board footer

Powered by FluxBB