LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-02-2011, 01:49 PM   #1
fmr
Member
 
Registered: Oct 2009
Posts: 32

Rep: Reputation: 0
Put XBMC in own graphical "console" ?


Hi, I have a similar situation to this thread:
http://www.linuxquestions.org/questi...onsole-332215/

I would like to start XBMC (a full-screen multimedia application) in a new graphical console, but without gnome's, kde's or the like's desktop running behind it. How can this be achieved?

XBMC should be running as root at startup, and (to put it in laments terms) accessible via "CTRL+ALT+F8". Currently I'm using OpenSuSE 11.4 with XFCE on "CTRL+ALT+F7"

Any plans?
 
Old 09-02-2011, 02:46 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
At the login screen, see if you have XBMC as a login option in session type. If you do that will allow you to start XBMC without loading any desktop environment(s).
 
Old 09-02-2011, 02:46 PM   #3
droyden
Member
 
Registered: Feb 2007
Location: UK
Posts: 150

Rep: Reputation: 19
If this is a dedicated htpc / XBMC machine then u may want to consider XBMC live and install it to the hdd. This is what I use and it launches XBMC on boot flawlessly
 
1 members found this post helpful.
Old 09-02-2011, 02:52 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
You can also start XBMC automatically, adding this somewhere to startup script:
Code:
/usr/bin/xinit /usr/bin/xbmc-standalone -- :1
or starting it manually.
 
1 members found this post helpful.
Old 09-03-2011, 02:41 AM   #5
fmr
Member
 
Registered: Oct 2009
Posts: 32

Original Poster
Rep: Reputation: 0
Lightbulb

Thank you, I tried eSelix's solution, and it's perfect!

Now, another question: Can I specify a custom xorg.conf file for xbmc to use? I want to (for example) clone xbmc on my monitors in stead of spanning or displaying on only one.

Last edited by fmr; 09-03-2011 at 02:53 AM.
 
Old 09-03-2011, 07:08 AM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Yes, you can use "-config" option to server to specify non default file:
Code:
/usr/bin/xinit /usr/bin/xbmc-standalone -- :1 -config /path/to/file.conf
You can also define whole new directory configuration, like is /etc/X11. In xinit command arguments before "--" are for X client configuration (where you specified that should be xbmc), and after it about X server configuration (which by default is Xorg). You can read "man Xorg" for information and accessible options for your Xserver.
 
2 members found this post helpful.
Old 11-14-2011, 09:33 AM   #7
jesperkrogh
LQ Newbie
 
Registered: Nov 2011
Location: Copenhagen, DK
Distribution: Debian testing
Posts: 2

Rep: Reputation: Disabled
Question Put XBMC in own graphical "console" ?

Hi eSelix or others

Could you provide me with an example of which file to add the
Code:
/usr/bin/xinit /usr/bin/xbmc-standalone -- :1 -config /path/to/file.conf
I am running Debain testing.

Thank you in advance!

/Jesper
 
Old 11-14-2011, 04:03 PM   #8
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
This file is for configuration of XServer, you very likely don't need this option if you have no created it yourself. X will use default file in /etc/X11/xorg.conf if exists. If you want to just start xbmc in other console use command from post #4. If this is not what you want, then can you specify more your question?
 
Old 11-14-2011, 05:01 PM   #9
jesperkrogh
LQ Newbie
 
Registered: Nov 2011
Location: Copenhagen, DK
Distribution: Debian testing
Posts: 2

Rep: Reputation: Disabled
Unhappy

Hi eSelix

Sorry for my no-so-specific question

It was the line from #4 I would like to ask where to put. I have tried to add multiply local Xsessions to my xdm config but with no success.

If using the method you describe where should I put the code line from #4 to make it work?

Thanks

/Jesper
 
Old 11-15-2011, 04:32 AM   #10
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Well, I made this as service in /etc/init, I don't known if this is used in your distribution, but you can check also /etc/rc.local or other /etc/rc?.d directories, probably you need to add "&" at end to run it in background.
 
  


Reply

Tags
console, graphical, startup, tty, xbmc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No more utf-8 console when using "su", but "su -" works. Linux.tar.gz Linux - Software 3 08-18-2011 07:21 AM
LXer: XBMC 10.0 "Dharma" Beta 2 Released, How to Install Latest XBMC Beta in Ubuntu LXer Syndicated Linux News 0 09-15-2010 10:20 PM
Put the "Forums" link nice and LARGE on the front page resetreset LQ Suggestions & Feedback 9 06-17-2008 10:43 AM
"s" "d" and "f" don't type in console krose Linux - General 11 05-30-2008 11:42 PM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration