How to Enable Media Sharing in Ubuntu Linux

Richard
Written by
Richard
Sep 13, 2022 Updated Mar 22, 2026 4 min read
How to Enable or Disable Microsoft Defender Cloud Protection

You enable media sharing in Ubuntu Linux using the Rygel package.

Media sharing lets you stream your music, photos, and videos from your Ubuntu PC to UPnP or DLNA-enabled devices like smart TVs, game consoles, or phones.

Rygel, installed via Ubuntu’s Software Center or the command line, acts as a Digital Media Renderer (DMR) and server, making your media accessible on your local network.

For sharing to work, both your Ubuntu machine and the target devices must connect to the same network.

How to turn on or off media sharing in Ubuntu Linux

As described above, you can enable Media Sharing in Ubuntu Linux. Once enabled, you can browse, search, and play the media on your computer using a UPnP or DLNA-enabled device such as a phone, TV, or game console.

Below is how to enable or disable it in Ubuntu Linux.

Ubuntu Linux has a centralized location for the majority of its settings. From system configurations to creating new users and updating, all can be done from the System Settings panel.

Ubuntu Linux Activities overview showing desktop menu access
ubuntu linux activities overview

Alternatively, click on the System menu at the top-right corner of the top bar on your desktop.

On the System menu, select Settings, as highlighted below.

Ubuntu Linux System menu top bar with Settings option
ubuntu linux system menu top bar settings

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

Ubuntu Linux Sharing panel displaying available sharing options
ubuntu linux sharing panel

Next, toggle the Sharing switch at the top of the window to On so sharing is enabled.

Sharing is disabled when the switch is set to Off.

If the text below Computer Name allows you to edit it, you can change the name your computer displays on the network.

Ubuntu Linux Sharing switch toggled on for media access
ubuntu linux sharing switch on

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

Ubuntu Linux Media Sharing tile in Settings application
ubuntu linux media sharing tile

On the Media Sharing window, toggle the Media Sharing switch to On.

To disable it, switch it back to the Off position.

By default, Music, Pictures, and Videos are shared. To remove one, click the × next to the folder name.

Choose the network connection to use to share with other devices. These devices must also be connected to the same network.

If a Wi-Fi network is available, that should be the best option to reach other devices.

Media Sharing switch turned on in Ubuntu Linux settings
media sharing swtich to on

Click + to open the Choose a folder window to add another folder. Then, navigate to the desired folder and click Open.

Ubuntu Linux Media Sharing add new folder option
ubuntu linux media sharing add new

Click X on the Media Sharing window to close. Using the external device, you can now browse or play media in the folders you selected.

That should do it!

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.

Frequently Asked Questions

How do I enable media sharing in Ubuntu Linux?

To enable media sharing in Ubuntu Linux, open the Settings app, click on the Sharing tile, and toggle the Sharing switch to On. Then, select Media Sharing and toggle the Media Sharing switch to On as well.

What devices can access shared media on Ubuntu Linux?

Devices that can access shared media on Ubuntu Linux include any UPnP or DLNA-enabled devices such as smartphones, smart TVs, and game consoles. Ensure these devices are connected to the same network as your Ubuntu machine.

Can I disable media sharing in Ubuntu Linux?

Yes, you can disable media sharing in Ubuntu Linux by going to the Settings app, selecting Sharing, and toggling the Media Sharing switch to Off. This will stop other devices from accessing your shared media.

What types of media can I share from Ubuntu Linux?

You can share music, pictures, and videos from Ubuntu Linux. By default, these folders are shared, but you can add or remove folders as needed in the Media Sharing settings.

Do I need a specific network connection for media sharing in Ubuntu Linux?

Yes, sharing must be enabled on a connected network. It is recommended to use a Wi-Fi network for the best connectivity with other devices that need to access your shared media.

Was this guide helpful?

Was this helpful?
Richard

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.

0 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Exit mobile version