Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
2009-01-03, 22:07
I have installed XBMC on ubuntu server with only xorg installed.
I start XBMC by running xinit, than from the console: xbmc
When I try to shut down/ suspend the computer I get the following message:
"Is another session active, perhaps over ssh?"
and XBMC stays alive. Could you please help me out on that?
Thanks
Posts: 854
Joined: May 2008
Reputation:
6
try starting "xbmc --standalone"
or put this in advancedsettings.xml
<systempowermanagement>true</systempowermanagement>
cheers.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
We have actually moved to completely rely on SystemPowermanagement in svn version.
The error you recieve is because only admins can shutdown a computer that have more than one active session / active tty. This is because is the server nature of linux so person A cant turn of the computer when person B is active.
So if you have ssh connected to the HTPC then exit.
If you dont, then your script that launches XBMC isnt good, it spawns another session (this is not the right word for terminal but I cant recall the right one) so if you post that script Im sure a linux guru could help you.
Cheers,
Tobias
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Im not that great on these things but what works for me is
sudo apt-get install gdm fluxbox
And add xbmc --standalone &
to .fluxbox/startup
(after you have succesfully run fluxbox once)
Then you need to alter gdm to autoboot fluxbox
Should be option session and choose fluxbox and tell it to be default, should be asked about it.
Then start gdmsetup and choose automatic boot and select your user
Cheers,
Tobias
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."