muriloventuroso/easyssh

Connection refused on Ubuntu 18.04

Closed this issue · 2 comments

Hi there

I am trying to install easyssh on Ubuntu 18.04, with no success. The steps I followed are:

  1. Install flatpak using:
    sudo apt install flatpak
  2. Add easyssh repo to flatpak:
    sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  3. Install easyssh:
    sudo flatpak install flathub com.github.muriloventuroso.easyssh
    (while installing flatpak asked me to install a few dependencies apparently required by easyssh, which were:)
Required runtime for com.github.muriloventuroso.easyssh/x86_64/stable (runtime/org.gnome.Platform/x86_64/3.30) found in remote flathub
Do you want to install it? [y/n]: y
Installing in system:
org.gnome.Platform/x86_64/3.30                          flathub 5e0d61a207f9
org.gnome.Platform.Locale/x86_64/3.30                   flathub d3ff07ad7633
org.freedesktop.Platform.GL.nvidia-390-116/x86_64/1.4   flathub 375974b1136e
org.freedesktop.Platform.html5-codecs/x86_64/18.08      flathub bf0202f85ad8
com.github.muriloventuroso.easyssh/x86_64/stable        flathub c6bc3a3e72fb
  permissions: ipc, network, ssh-auth, wayland, x11, dri
  file access: home, xdg-run/dconf, ~/.config/dconf:ro
  dbus access: ca.desrt.dconf
com.github.muriloventuroso.easyssh.Locale/x86_64/stable flathub b705864b8d78
Is this ok [y/n]: y
Installing: org.gnome.Platform/x86_64/3.30 from flathub
[####################] 1195 metadata, 23432 content objects fetched; 343266 KiB 
Now at 5e0d61a207f9.
Installing: org.gnome.Platform.Locale/x86_64/3.30 from flathub
[####################] 23 metadata, 141 content objects fetched; 4570 KiB transf
Now at d3ff07ad7633.
Installing: org.freedesktop.Platform.GL.nvidia-390-116/x86_64/1.4 from flathub
[####################] Downloading files: 11/11 47,6 MB (47,6 MB/s)       
Now at 375974b1136e.
Installing: org.freedesktop.Platform.html5-codecs/x86_64/18.08 from flathub
[####################] 25 metadata, 128 content objects fetched; 2730 KiB transf
Now at bf0202f85ad8.
Installing: com.github.muriloventuroso.easyssh/x86_64/stable from flathub
[####################] 194 metadata, 3721 content objects fetched; 26208 KiB tra
Now at c6bc3a3e72fb.
Installing: com.github.muriloventuroso.easyssh.Locale/x86_64/stable from flathub
[####################] 9 metadata, 7 content objects fetched; 37 KiB transferred
Now at b705864b8d78.

After this, when I try to run easyssh I get the following error:

 >> flatpak run com.github.muriloventuroso.easyssh
error: While opening repository /home/mbvalentin/.local/share/flatpak/repo: /home/mbvalentin/.local/share/flatpak/repo: opendir(/home/mbvalentin/.local/share/flatpak/repo): Permission denied
mbvalentin@cepes:~$ sudo flatpak run com.github.muriloventuroso.easyssh
Unable to init server: Could not connect: Connection refused

(com.github.muriloventuroso.easyssh:2): Gtk-WARNING **: 10:43:37.557: cannot open display: 

Even If I try to run the app using sudo I get the error:

>> sudo flatpak run com.github.muriloventuroso.easyssh
Unable to init server: Could not connect: Connection refused

(com.github.muriloventuroso.easyssh:2): Gtk-WARNING **: 10:43:37.557: cannot open display: 

Any thoughts?? Thanks in advance

Actually I was able to make it work but only when using sudo. Is it safe to use easyssh only under sudo?

In Ubuntu 19.04 works OK