Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S Simple Weather App
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • example-apps
  • Simple Weather App
  • Issues
  • #1
Closed
Open
Issue created Nov 21, 2019 by Richard Duivenvoorde@rduivenvoorde

Fix Unable to init server: Could not connect: Connection refused

For others who hit this.

I was trying to run this example app ( coming from https://developer.puri.sm/Librem5/Apps/Examples/General/Simple_Weather/ ), but failed to RUN it or see the dialog.

Error was:

Application started at 13:36:49
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

After some fiddling it appeared to me that in the finish-args in com.example.simple_weather.json only --socket=wayland is available. While my Desktop is Debian Buster here and I was running X (instead of Wayland).

So just add "--socket=x11", to the finish-args and it works!

Maybe an idea to just add this to the json?

Assignee
Assign to
Time tracking