Question Nexus

Ask a question get an Answer

  • Recent Questions

    Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • Categories

  • Advertisements

How to stream video to your XBox360 using Ubuntu + uShare

Posted by slayton on April 26, 2009

I’ve known for a while that the newest Xbox 360 software supports streaming video from a computer running Window Media Center. What I didn’t know is that when Microsoft added the media center capabilities they decided to use someone else’s media server standard; UPnP to be precise.

This is really exciting because this means that anybody who implements this standard can stream video to an Xbox over the network.

I run Ubuntu Linux and discovered that there are several programs you can install that will setup a UPnP Media Server, the one I picked to use is uShare.  To install ushare I opened a terminal and ran:

sudo apt-get install ushare

After that I had to edit the ushare configuration file saved under /etc/ushare.conf

If you don’t feel comfortable editing the file you can run to help you setup the configuration file.

sudo dpkg-reconfigure ushare

Here is how I setup my file (I’ve removed the comments from the file for readability):


USHARE_IFACE=eth0 (the name of which ethernet adapter you’ll send the data over)



USHARE_DIR=/home/slayton/Desktop/Shares (any dir will work just put your media there)



USHARE_ENABLE_XBOX=yes (the USHARE_ is missing in the file you need to add it)


uShare automatically starts a daemon upon boot, I don’t like this so I kill the daemon after boot with:

sudo /etc/init.d/ushare stop

Then I start uShare when I need it with:

ushare -x  (-x is for xbox compatible mode)

Start up your Xbox scroll the Video Library, select Ubuntu_Media_Server (or whatever name you picked) and begin the streaming goodness!


22 Responses to “How to stream video to your XBox360 using Ubuntu + uShare”

  1. Randy said


    I just wanted to thank you for this guide! I’m new to Ubuntu but really like it.

    The only thing I feel that needs to be added to make it noob friendly would be a note on how to edit the ushare.conf file. I mean with:

    Applications > Accessories > Terminal
    sudo gedit /etc/ushare.conf
    Then applying your listed changes.

    or maybe I’m just too noob and everyone knows how to do that =p.

    Either way! – Thanks, Works great!

  2. Kyle said

    Thank you for this. Worked perfectly.

    Was nice to find an updated guide.

  3. Slayton said

    I’m glad you found it useful.

  4. Steven said

    Thanks for this! I’m setting up a home server (pieces in the mail), and have a check list of things I need to do with it. This was one of the important ones! I’m glad I can stay with Ubuntu (instead of WHS). =)

  5. inzy123 said

    man, thanks a freakin’ load for this,
    i really appreciate your help!!

    funny thing is xbox says in the corner “connect to a windows-based pc to browse media”
    what fools.

  6. drdreau said

    excellent-A (excellenté). thank you.

  7. […] program. If you don’t get the installer to work feel free to post here. Here is the installer guide i used. GD Star Ratingloading…AKPC_IDS += "703,"; Linux, […]

  8. Theuntje said

    It didn’t work for me 😮

  9. […] You have a media server (think windows media server or XBMC server) that is connected to your wired network. You also have a variety of wireless clients (think netbooks or laptops) that you would like to setup in order to use the media server via streaming or UPnP. In my particular case I had a wireless ubuntu laptop hosting uShare which I wanted to connect to my wired Xbox 360 to play content on the TV. (to read more about setting up uShare on ubuntu follow the blogpost here: […]

  10. Atlast was able to stream videos to my xbox from ubuntu….. 🙂

  11. ok i got it working to the point of my xbox sees the ushare server and i can even open it but for some reason it doesn’t see any of my files this is ho i have it set up:

    # /etc/ushare.conf
    # Edit this file with ‘dpkg-reconfigure ushare’
    # Configuration file for uShare

    # uShare UPnP Friendly Name (default is ‘uShare’).

    # Interface to listen to (default is eth0).
    # Ex : USHARE_IFACE=eth1

    # Port to listen to (default is random from IANA Dynamic Ports range)
    # Ex : USHARE_PORT=49200

    # Port to listen for Telnet connections
    # Ex : USHARE_TELNET_PORT=1337

    # Directories to be shared (space or CSV list).
    # Ex: USHARE_DIR=/dir1,/dir2

    # Use to override what happens when iconv fails to parse a file name.
    # The default uShare behaviour is to not add the entry in the media list
    # This option overrides that behaviour and adds the non-iconv’ed string into
    # the media list, with the assumption that the renderer will be able to
    # handle it. Devices like Noxon 2 have no problem with strings being passed
    # as is. (Umlauts for all!)
    # Options are TRUE/YES/1 for override and anything else for default behaviour

    # Enable Web interface (yes/no)

    # Enable Telnet control interface (yes/no)

    # Use XboX 360 compatibility mode (yes/no)

    # Use DLNA profile (yes/no)
    # This is needed for PlayStation3 to work (among other devices)

  12. (unique Halloween ideas|Halloween costumes|kid’s Halloween costumes|plus size Halloween costumes|Halloween party ideas|Halloween decorating|sexy Halloween costumes…

    […]How to stream video to your XBox360 using Ubuntu + uShare « Question Nexus[…]…

  13. Thank you for this!

    It didn’t work at first: the xbox wouldn’t even see the ubuntu server.

    The solution for me was with the firewall. The Ubuntu server needs to allow BOTH TCP and UDP traffic from the xbox. Once those holes were in the firewall, it worked like a champ.

    Thanks again!

  14. red lights fix…

    […]How to stream video to your XBox360 using Ubuntu + uShare « Question Nexus[…]…

  15. This is seg faulting on me… I have multiple directories.

  16. eva9150 said


    […]How to stream video to your XBox360 using Ubuntu + uShare « Question Nexus[…]…

  17. how to fix said

    how to fix…

    […]How to stream video to your XBox360 using Ubuntu + uShare « Question Nexus[…]…

  18. zoom said


    […]How to stream video to your XBox360 using Ubuntu + uShare « Question Nexus[…]…

  19. is the leading social entertainment destination powered by the passion of fans. Music, movies, celebs, TV, and games made social….

    […]How to stream video to your XBox360 using Ubuntu + uShare « Question Nexus[…]…

  20. Frank Dee said

    Posted damn near four years ago and it STILL works using Backtrack 5r2

  21. […] How to stream video […]

  22. I’ve gone through over 15 guides and nowhere do they make the note that you did regarding the .conf file missing the “USHARE_ENABLE_XBOX=yes (the USHARE_ is missing in the file you need to add it)”

    I mean I spent well over 2 hours trying to get this to work. Thanks a bunch good sir! Thought I was losing my mind, thanks for making me sane again! 😀


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: