withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.06k stars 63 forks source link

Can't setup fig ssh integration on ec2 instance #1679

Open galxy25 opened 2 years ago

galxy25 commented 2 years ago

Description:

Trying to set up fig ssh integration on ubuntu 22 aws ec2 instance and getting the following errors

root@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656# sudo -su kvd-user /bin/bash
kvd-user@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656$ source <(curl -Ls fig.io/install)
✔ Do you want fig to modify your shell config (you will have to manually do this otherwise)? · yes
Launching Fig...
(To turn off autolaunch, run fig settings app.disableAutolaunch true)
error: Failed to launch fig.desktop
kvd-user@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656$ fig

→ Launching Fig...

→ Opening https://app.fig.io...

error: No such file or directory (os error 2)
kvd-user@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656$ fig doctor

✘ Logged into Fig: Not logged in. Run `fig login` to login.

error: Not logged in. Run `fig login` to login.
kvd-user@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656$ fig login
Login to Fig
✔ Email · levismschoen@gmail.com
Sending login code to levismschoen@gmail.com...
Please check your email for the code
✔ Login code · 036160
Login successful!
kvd-user@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656$ fig doctor
⠋ Running checks...
→ Launching Fig...

✘ Fig Integration: Figterm is not running
  FIG_INTEGRATION_VERSION=None

✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at hello@fig.io!

kvd-user@ip-10-6-133-78:/var/snap/amazon-ssm-agent/5656$ 

Details:

macOS Fig Shell
12.4.0 Version 1.0.60 (B502) /opt/homebrew/bin/fish
fig diagnostic

Version 1.0.60 (B502) [U.S.] 
UserShell: /opt/homebrew/bin/fish
Bundle path: /Applications/Fig.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/levischoen/.fig/bin/fig
Accessibility: true
SSH Integration: false
Tmux Integration: false
iTerm Integration: false 
Hyper Integration: false
VSCode Integration: true
Docker Integration: true
Symlinked dotfiles: false
Only insert on tab: false
UNIX Socket Exists: true
Installation Script: true
PseudoTerminal Path: /Applications/Sublime Text.app/Contents/SharedSupport/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/levischoen/.fig/bin:/Users/levischoen/.local/bin:/Users/levischoen/go/bin/
SecureKeyboardInput: false
SecureKeyboardProcess: 
Current active process: bash (785529) - /dev/pts/2
Current terminal session: D3553E5A-580B-4061-911B-AEF947014938
Current working directory: /var/snap/amazon-ssm-agent/5656
Current window identifier: 174981/% (com.apple.Terminal)

brendanfalk commented 2 years ago

@sullivan-sean