Here is a guide that will show you how to create a login account for XBMC. It will allow you to select XBMC when you login and after entering your password XBMC will started automatically.
To create the account and to make it show in your login screen you need to add two files. To make the files open a terminal window (press Ctrl+Alt+T) and copy+paste the following line:
sudo gedit /usr/share/xsessions/xbmc.desktop
When the text file is opened copy+paste the following lines:
[Desktop Entry]
Encoding=UTF-8
Name=XBMC
Comment=
Exec=/usr/bin/xbmc-session
Icon=
Type=Application
When the text is added save and close the xbmc.desktop file and now you need to create the file for the XBMC session. In your terminal window copy+paste the following line:
sudo gedit /usr/bin/xbmc-session
Now copy+paste the following lines:
#!/bin/bash
# add some initialization stuff here (if necessary)
xbmc --standalone
Finally make the session script executable, copy+paste the following line in your terminal window:
sudo chmod +x /usr/bin/xbmc-session
Now logout and select XBMC from your login manager’s session list.
how to connect xbmc to internet, Please tell me,
i have tried alot of time but unsuccessful.
Waiting
Thanks
You change some network settings under Setting -> Network. Can you be a bit more clear about the trying to connect to internet. Why you want to connect and what do you want to do??
I get this error can you help? Ubuntu 11.10.
(gedit:8531): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.2USF4V’: No such file or directory
(gedit:8531): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
Sorry for the late reply but the error message doesn’t tell me much… i tried doing a google search but that didn’t help with finding a fix. Sorry 🙁
This error can savely be ignored, its just the editor trying to save a “recent files” list. But its not there as you wotk with the root user an not with your own profile.
If its really bothering you can do a “sudo mkdir -p /root/.local/share/”.
Anyway its unrelated and does not affect what is done here.