# Share media, desktop, cups printer between Budgie PCs

**URL:** <https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154>\
**Category:** General\
**Created:** [March 1, 2020, 8:02pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154 "2020-03-01T20:02:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 1, 2020, 8:02pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/1 "2020-03-01T20:02:22Z")

</div>

I have 1 PC (Intel core i3-8100/16GB) and 1 laptop (core i5), installed Ubuntu Budgie 19.10 on the laptop and upgraded the PC from 19.04 to 19.10. The IP address of the PC is 192.168.88.10.  
The PC had a clean 19.04 install. I did not mess with Firewall as I am really still a noob.

Both are on the same network, connected via LAN to 1 router. I also connected both computers directly to each other with 1 ethernet cable and set IP addresses manually. It didn’t change the following:

On the PC, called FujitsuServer:  
I enabled Settings \> Sharing: Screen Sharing and Media Sharing.  
I installed a Brother printer via USB (works fine) and shared it through CUPS.

On the laptop, I can’t access the PC:

- I can find the printer, but I am unable to print anything.
- When I go to 192.168.88.10:631 I expect to see the CUPS webUI of the PC, but it times out.
- Using Remmina, I can find the vnc server but even when I input the address manually (192.168.88.10:5900) it is forever trying to connect.
- When I open the Files \> Network, I see “FujitsuServer” but clicking on it gives me “Connection Refused”.

Am I missing something?  
It looks like some kind of security measure on the PC is preventing a connection to be made, although discovery does work (something with Avahi/mdns doing its job).  
But I have no clue how to get more information/debug this issue.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [March 2, 2020, 10:05am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/2 "2020-03-02T10:05:30Z")

</div>

Does this help for your vnc issues? [https://askubuntu.com/questions/968869/remmina-vnc-hangs-on-connecting-to-headless-mini-pc](https://askubuntu.com/questions/968869/remmina-vnc-hangs-on-connecting-to-headless-mini-pc)

---

<div class="post-metadata">

**Author:** ![zaivala](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/zaivala/32/2125_2.png) [@zaivala](https://discourse.ubuntubudgie.org/u/zaivala)\
**Post date:** [March 2, 2020, 11:59am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/3 "2020-03-02T11:59:15Z")

</div>

The driver for the printer needs to be installed on all machines. I know, I have this problem a lot. I have a Brother MFC-J491DW. The biggest surprise I’ve had was to find the driver included in OpenMandriva Lx 4.1. Otherwise I’ve had to go through and install it each time.

---

<div class="post-metadata">

**Author:** ![puffettacicciottella](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/puffettacicciottella/32/4525_2.png) [@puffettacicciottella](https://discourse.ubuntubudgie.org/u/puffettacicciottella)\
**Post date:** [March 2, 2020, 1:45pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/4 "2020-03-02T13:45:03Z")

</div>

About vnc …

Since I don’t like vnc at all (and, mostly, often it happens to me to be in need of connecting from home to my job pc - via vpn tunnel - and I’m no more alone in my office, so I’d like my colleague couldn’t see my monitor moving as if I were on my chair) I’ve installed xrdp on every pc, both at home and at job.

First, install xrdp on target pc (you can do it via ssh or locally)  
`sudo apt install xrdp`

then modify /etc/xrdp/startwm.sh by commenting out last two lines and adding `budgie-desktop` as last line:  
`sudo vi /etc/xrdp/startwm.sh` (use nano or gedit if you’re more familiar)  
last three lines will be this way:  
`#test -x /etc/X11/Xsession && exec /etc/X11/Xsession`  
`#exec /bin/sh /etc/X11/Xsession`  
`budgie-desktop`

finally allow rdp through local firewall:  
`sudo ufw allow 3389/tcp`  
and give xrdp daemon ssl-certs membership:  
`sudo adduser xrdp ssl-cert`

xrdp works on linux as it does on windows, so if you’re already logged in in target pc, you won’t get access from remote pc.

Sil

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 2, 2020, 4:05pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/5 "2020-03-02T16:05:15Z")

</div>

I’ll try, but should it not work out of the box? If vncserver needs to be installed, why have those options in the Settings?

I know there are plenty of other methods for remote desktop and filesharing, I just wanted to figure out how to successfully use the built in options.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [March 2, 2020, 4:09pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/6 "2020-03-02T16:09:04Z")

</div>

> [@zilexa](#):
>
> why have those options in the Settings?

not everything in Settings work under budgie - they can be gnome-shell specific. Unfortunately there isnt a way to hide the incompatible options. This problem will disappear eventually when Settings is combined with Budgie Desktop Settings. Basically 95+% work just fine.

I don’t know why your VNC stuff is not working for you - just pointing you towards a potential solution.

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 2, 2020, 4:10pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/7 "2020-03-02T16:10:05Z")

</div>

Ah that makes sense 🙂 thanks I will try.

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 8, 2020, 9:39pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/8 "2020-03-08T21:39:25Z")

</div>

It works out of the box.  
I forgot I had installed AlgoVPN. I strongly recommend anyone who would like a Wireguard VPN based ‘roadwarrior’ Ubuntu server to not use AlgoVPN. It completely messes up IPtables and other system settings and there is no way to reverse it. I started fresh and the integrated desktop and file sharing works out of the box.

File sharing is SMB based. NFS is most likely a much better choice (especially between Linux devices).  
Desktop sharing is VNC based which is not as fast as I would expect (within my LAN). It doesn’t seem to be faster than Teamviewer over the internet. xrdp, as suggested by @puffettacicciottella might be faster? I am going to try.

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 8, 2020, 10:32pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/9 "2020-03-08T22:32:00Z")

</div>

> [@puffettacicciottella](#):
>
> xrdp

Are you sure those are all required steps for Budgie?  
I did that, but when I try to connect, after accepting an SSL message, I get a flickering window, constantly showing this, it doesn’t count the attempts and it does not connect. Tested within my LAN, from Ubuntu Budgie \> Ubuntu Budgie (both 19.10), using Remmina to connect.

 ![Screenshot from 2020-03-08 23-29-27](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/1/1293cebdcce40e30117f1bc711eaf4cdedf5f8dc.png)

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 14, 2020, 8:59am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/10 "2020-03-14T08:59:45Z")

</div>

Does anyone know how to get xrdp working between UB machines?

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 29, 2020, 4:50pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/11 "2020-03-29T16:50:15Z")

</div>

Unfortunately, it still does not seem to work.

Enabling Screen Sharing via Settings does not allow me to share screen…  
Installing tightvncserver and running vncserver helps, I can now connect. But this shows a blank desktop environment, which is NOT screen sharing. It’s probably just the same with xRDP.

Screen sharing = seeing current user desktop, open windows etc. and be able to work as if I am behind my computer.

How can I actually share my screen within local net? Should I just install TeamViewer? I am trying to stick to open source solutions.

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [March 29, 2020, 11:41pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/12 "2020-03-29T23:41:23Z")

</div>

> [@zilexa](#):
>
> I also connected both computers directly to each other with 1 ethernet cable and set IP addresses manually.

Do we agree : you tested this but it’s no longer connected like this ( pc to pc ) + ( each pc to router ) ?

Screen sharing as proposed by (gnome-)settings expects `vino` to be installed, which is normally the default situation in 19.10

I can’t help about xrdp unfortunately.

TeamViewer is a bit of a big beast for screen sharing on a local network - but there is a ( mostly or completely ? ) open-source alternative : [dwservice.net](https://www.dwservice.net/)

Regarding file sharing ( between devices - not only local ) [syncthing](https://syncthing.net/) is a tremendous piece of software !

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 30, 2020, 12:06am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/13 "2020-03-30T00:06:29Z")

</div>

indeed the pcs are connected via router, now. But I could test again pc to pc.  
The 2nd laptop (client) is now a Macbook instead of an HP with Ubuntu running.  
I installed tightvncserver but that didn’t change anything.

vino is indeed installed (its a clean 19.10 install). But the Settings\>Sharing desktop really doesn’t do much.

TV is indeed overkill for local network screensharing. I will check dwservice.

I am just wondering: it seems like I am the only one trying out the build in Screen Sharing option, does it work for anyone else?

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [March 30, 2020, 12:11am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/14 "2020-03-30T00:11:44Z")

</div>

For local network screensharing, dwservice will be overkill just the same as TV…

I don’t understand you said everything worked out of the box [Share media, desktop, cups printer between Budgie PCs](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/8) ?

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [March 30, 2020, 12:14am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/15 "2020-03-30T00:14:35Z")

</div>

I am sorry, I now see I did not share all info in that post: that was Ubuntu 19.04 \<-\> Ubuntu 19.04.  
When I found out AlgoVPN had completely messed up my system, I knew I needed a clean start but wanted to test this functionality first. I used two older systems that were waiting to be updated.

Since 19.10 I have not made this work yet.

I will experiment more with tightvncserver to see if I can get logs when connecting, might help debug what is really happening.

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [April 11, 2020, 4:26pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/16 "2020-04-11T16:26:31Z")

</div>

Sorry for the late reply.

I just picked this up again because I would love to sit in the sun with my laptop while accessing my shared desktop PC screen.  
I installed tightvncserver via apt-get and ran the command tightvncserver which asked me to set a password. Done. Now I open the log file and there are a few errors:

```auto
11/04/20 18:24:23 Xvnc version TightVNC-1.3.10
11/04/20 18:24:23 Copyright (C) 2000-2009 TightVNC Group
11/04/20 18:24:23 Copyright (C) 1999 AT&T Laboratories Cambridge
11/04/20 18:24:23 All Rights Reserved.
11/04/20 18:24:23 See http://www.tightvnc.com/ for information on TightVNC
11/04/20 18:24:23 Desktop name 'X' (ServerPC:1)
11/04/20 18:24:23 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
11/04/20 18:24:23 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
xrdb: No such file or directory
xrdb: can't open file '/home/zilexa/.Xresources'

```

This is after a clean install of Ubuntu Budgie 19.10.  
I suppose the feature shown in Settings/Sharing cannot work since tightvncserver is not installed by default (as mentioned already by @fossfreedom [Share media, desktop, cups printer between Budgie PCs](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/2)).

however, when I go to my Macbook, open the build in screensharing and connect to vnc://myip:5901, enter the password, it connects, but I see a gray screen nothing else. Two issues here I believe:

1. It tries to log me in to the pc as a seperate user. But fails due to the errors in the log.
2. _It should not log me in at all,_ **it should simply show the current active desktop and active open windows etc. of the user that is already logged in.**

I wonder if this functionality I am expecting actually exists on Linux?  
If not it seems Teamviewer or its fork Anydesk are my only options for screen sharing… because VNC, XRDP etc are only meant for remote login and cannot work when the PC has a logged in user?

EDIT:  
I understand tightvncserver can only work with an independent session, it does not capture the current users output to share. To do that there are 3 options:

- [x11vnc](http://www.karlrunge.com/x11vnc/) no longer being developed but maybe its a finished product.
- [X0VNCserver/TigerVNC](https://tigervnc.org/doc/x0vncserver.html)
- Vino, which is part of Mint

Which one is closest to Budgie/less dependent on other distributions?

EDIT2:  
I ran this command:  
` gsettings set org.gnome.Vino require-encryption false`

Tried the built in Screen Sharing again and this time I could connect from my Macbook!!  
But I still see the grey screen only. The PC pops up a message that another computer is controlling my _current desktop_ ☹ I do believe it is suppose to show my current desktop now…

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [April 12, 2020, 7:28pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/17 "2020-04-12T19:28:20Z")

</div>

After a reboot, the command to disable encryption was enough to get it working 😃 I now see the current desktop.

Next step is to tweak compression (as low as possible or disabled) & quality to optimize for a fast LAN. The delay is pretty bad, as if the host is at the other end of the world.

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [April 12, 2020, 11:54pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/18 "2020-04-12T23:54:04Z")

</div>

> [@zilexa](#):
>
> Vino, which is part of Mint

It’s part of Gnome and is installed by default on Ubuntu Budgie ( depends on gnome-control-center and gvfs ).  
You wouldn’t need to install another vnc-server. Now it’s done and set, keep going 😉

Installing `gsfonts-x11` _may_ solve the `Font directory '/usr/share/fonts/X11/*dpi/' not found - ignoring` but no dealbreaker here I think.

---

<div class="post-metadata">

**Author:** ![zilexa](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zilexa](https://discourse.ubuntubudgie.org/u/zilexa)\
**Post date:** [April 13, 2020, 8:45am UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/19 "2020-04-13T08:45:08Z")

</div>

Thanks, indeed I removed the stuff I installed myself.

What I find incredibly annoying is the double cursors… I see my own cursor and a delayed cursor running behind my cursor. I checked all `gsettings` for Vino but there is no way to disable it ☹  
This makes it feel sluggish.  
Also no options to optimise for high bandwidth/low latency connections.

I also tried Nomachine, which has better options to scale the display nicely to the client pc (temporarily changing remote resolution to match fit screen on client) and options to play with quality and codec (VP8, H.264 or MJPEG I choose the latter since I’m on LAN). It feels nearly realtime! And no delayed cursor running behind my cursor.  
But text quality is horribly fuzzy no matter what settings I choose, so after a few minutes I switch back to using built in Vino.

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [April 13, 2020, 4:08pm UTC](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154/20 "2020-04-13T16:08:17Z")

</div>

What do you use as vnc-client ?

There are scales, compression and mouse-cursor ( I think ) options in Remmina.  
But that might be a bit tricky at first if server-side the screen is bigger than on client-side.  
Once your preferences set and saved, it should be ok.

[Next page](https://discourse.ubuntubudgie.org/t/share-media-desktop-cups-printer-between-budgie-pcs/3154.md?page=2)
