3

I am using Raspberry Pi 4 for experiments with Docker. The problem is, sometimes I need to copy-paste information from the internet, but my server has no UI.

I tried the ubuntu-desktop package which made the system slow to the extent that it was unusable. I tried sway, but it doesn't start at all with this error.

Question: How to setup a simple, workable GUI on Raspberry PI 4 running Ubuntu Server 20.20?

Basically, I only need to open browser and terminal. That's it.

1
  • try a text based web browser like Lynx – jsotola Sep 21 '20 at 8:15
3

There is no need for a desktop to copy and past information to a Ubuntu Server. SSH and and a SSH client, wget and scp can perform this tasks perfectly from the command line.

  • ssh is a remote terminal into your server.
  • wget fetch files from an http(s), ftp source.
  • scp copy a file to your Ubuntu server from your local PC.

Ref.:ssh , wget , scp

2
  • Well, it is a test machine and I don't want to expose its ssh port to the network. It is not that easy to use wget or curl for modern web sites. Just try querying for instance this documentation docs.docker.com/engine/install/ubuntu – Sasha Shpota Sep 21 '20 at 6:55
  • 3
    Take a look at how to create a ssh login with "SSH Key-Based Authentication" and limit what have access to ssh, that is a god protection, and its a BAD practice to have a desktop on a server (even a test server). – Mats Karlsson Sep 21 '20 at 7:00
1

"How to setup a simple, workable GUI on Raspberry PI 4 running Ubuntu Server 20.20"

Simple answer - you can't.

The server works well enough (if not spectacularly) and it IS POSSIBLE to install a GUI but this is not endorsed by Canonical and there are none specifically targeted at the Pi.

apt offers a few alternatives. I tried, but can't recommend any.

If you do you will need to change networking.

1
  • Interesting answer - I did notice they are saying you can install 3 desktops (Ubuntu, kubuntu, lubuntu) ubuntu.com/download/raspberry-pi/… (may start to download an image) - are they all bad or have they now been tweaked for the Pi? – user115418 Sep 21 '20 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.