System -> Administration -> Software Sources
Under the Ubuntu Software Tab, tick all the check boxes
Under the Third-Party Software Tab click Add and enter in:
deb http://www.geexbox.org/debian/ unstable main
Close out of it, it’ll ask you to reload, do it.
System -> Administration -> Synaptic Package Manager
Search for ushare and install it and all its depedencies
Open up a terminal
sudo nano /etc/ushare.conf
Make sure you change the interface if it’s not eth0. Set your share folder under USHARE_DIR. For some reason ushare won’t scan more than one folder, so share one folder and put symbolic links to your other folders in that. Change ENABLE_XBOX (the var) to USHARE_ENABLE_XBOX and set the value to ‘yes’. Feel free to customize anything else, if you want to change the port or name. Save and exit.
Now we’re gonna test if ushare is working.
In the same terminal,
sudo ushare
It should show the number of videos you have in the folder you listed under USHARE_DIR. If anything weird happens at this point, try any of the following:
Add a new route, for example:
sudo route -net add 192.168.1.0 netmask 255.255.255.0 dev eth0
Make sure you forward the port you specified in the config if your router doesn’t support UPnP or you have it disabled.
Check to see that the interface in the config is correct.
Example output:
Interface eth0 is down.
Recheck uShare's configuration and try again !
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Listening on telnet port 1337
Initializing UPnP subsystem ...
Starting in XboX 360 compliant profile ...
UPnP MediaServer listening on 192.168.2.97:49152
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /home/joseph/Videos
Found 315 files and subdirectories.
Note: Ignore if you see Interface is down. It still worked for me.
Now, CTRL-C out of the process. We’re gonna run the daemon.
In the same terminal,
/etc/init.d/ushare restart
Now turn on your XBOX,
System -> Network Settings -> Test Media Connection
Let’s test if your XBOX is connected properly. If it fails under PC Selected or PC Connection, open up a terminal and type in,
sudo /etc/init.d/ushare restart
Test again. If it fails again, enter the command above one more time. If everything is set up correctly then you should only have to do this twice.
Now that it’s working correctly,
Media -> Videos
uShare should be an available source (press X if you’re not at the source selection screen). Select it and test out a video.
If you run into any problems at this point like a message saying the content is unplayable, try restarting uShare using the method above or try restarting your XBOX.
Good luck!