How to Enable Media Sharing in Ubuntu Linux
Media sharing on Ubuntu Linux lets you stream music, photos, and videos from your computer directly to other devices on your home network, like a smart TV or game console. This setup uses a free tool called Rygel to turn your PC into a personal media server.
You can install Rygel on Ubuntu in just a few clicks using the Ubuntu Software Center, or by running sudo apt install rygel in the terminal. Once installed, Rygel works in the background so you can watch movies and play songs stored on your computer on any screen in your house.
Open System Settings, then click Sharing. Toggle the main Sharing switch ON, then click Media Sharing. Toggle the Media Sharing switch ON to stream your music, photos, and videos to other devices on your network.
How to turn on or off media sharing in Ubuntu Linux
Media sharing turns on or off within the Sharing settings. This feature makes music, videos, and other files from the computer visible to other devices on the home network. Accessing media from any device in the house becomes possible this way.
Configuring this setup takes only a few moments.
Most configurations live inside the System Settings panel. Open this area by clicking the System menu in the top-right corner of the desktop and selecting Settings.

Alternatively, click on the System menu at the top-right corner of the top bar on the desktop.
On the System menu, select Settings, as highlighted below.

In the Settings app, click on the Sharing tile to open the panel.

The Sharing switch at the top of the Sharing window controls media sharing. When turned on, the computer's media files become visible to other devices on the network, allowing them to access music, videos, and pictures. Sharing remains disabled when the switch is set to Off.
The name displayed on the network updates here if the text below Computer Name allows editing.

In the System Settings -> Sharing panel, select Media Sharing as highlighted below.

On the Media Sharing window, toggle the Media Sharing switch to On.
Switching it back to the Off position disables the feature.
By default, Music, Pictures, and Videos share automatically. Removing a folder requires clicking the × next to its name.
Selecting the desired network connection for sharing happens next, ensuring other devices connect to the same network.
Availability of a Wi-Fi network provides the best connection option to reach other devices.


Click X on the Media Sharing window to close. Using the external device, browsing or playing media in the selected folders works immediately.
Everything is now ready for use.
Conclusion:
- Media Sharing in Ubuntu Linux can be easily enabled or disabled using the Sharing panel in System Settings.
- Following the simple steps outlined in this post, you can share music, photos, and videos with UPnP or DLNA-enabled devices across the same network.
- Select the appropriate network connection for seamless sharing with other connected devices.
- After configuring Media Sharing, you can access and enjoy your media on various external devices such as phones, TVs, or game consoles.
How does media sharing work on Ubuntu?
LAN (Local Area Network) devices can now immediately access the shared folder without any extra configuration.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
Even if i turn off the media sharing, the non-default folders are still being shared.
[…] you turn on DLNA media sharing in Windows, your system will begin scanning your network for DLNA-enabled devices. If a device is […]