Error when opening Owncloud-client

Expected behaviour

Tell us what should happen

i just installed the Owncloud client and when I tried to open it with writing “owncloud” on the terminal, I expected to open the app.

Actual behaviour

Tell us what happens instead

it outputted the following error:
“qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.”

Steps to reproduce

  1. Download and install as per instructions here: https://software.opensuse.org/download/package?project=isv:ownCloud:desktop&package=owncloud-client
  2. input “Owncloud” in terminal.

Server configuration

Operating system: Ubuntu Cosmic Cuttlefish

Web server: apache2

Database:mysql

PHP version:7.2.15

ownCloud version:10.1.0.4

Storage backend (external storage):

Client configuration

Client version:2.5.3 - Production

Operating system: Linux

OS language:Ubuntu
Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):