Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ecflow_ui do not start #7

Open
AlexandreMary opened this issue Jun 17, 2024 · 7 comments
Open

ecflow_ui do not start #7

AlexandreMary opened this issue Jun 17, 2024 · 7 comments

Comments

@AlexandreMary
Copy link

Did I miss something in ecflow setup ?

rm9@ac6-101:~$ ecflow_ui
ecflow_ui: EXIT on ERROR (line 1), exit status 134, starting 'cleanup'
Last 50 lines of log file:
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

/usr/local/apps/ecflow/5.12.4/bin/ecflow_ui: line 446: 4049073 Aborted                 ${ECFLOWUI_USER_START_CMD} "$exe"

Last 50 lines of user interaction log file:
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

/usr/local/apps/ecflow/5.12.4/bin/ecflow_ui: line 446: 4049073 Aborted                 ${ECFLOWUI_USER_START_CMD} "$exe"
@trygveasp
Copy link

You need to make sure you have logged in with X forwarding (-Y/-X)

@AlexandreMary
Copy link
Author

I have ssh -X -J [email protected] rm9@hpc-login

@tbnc
Copy link

tbnc commented Jun 17, 2024

Perhaps @draelsaid has experience with this kind of problem?

@trygveasp
Copy link

I have ssh -X -J [email protected] rm9@hpc-login

All the way? Can you open xclock on hpc-login?

@AlexandreMary
Copy link
Author

nope

@trygveasp
Copy link

nope

Then your X forwarding does not work as it should. I normally use ssh -AYC

@draelsaid
Copy link

draelsaid commented Jun 18, 2024

Hey @AlexandreMary ! I usually login from VMware Horizon remote desktop like this:

ssh -X hpc-login

(ecflow_ui & also works without even logging into hpc-login) - and this is the best way with least issues for me.

The way you're doing it looks fine...

I have ssh -X -J [email protected] rm9@hpc-login

But when I tried it from my mac just now, I got the same errors as you. When I did these steps (again), it somehow worked for me:

adam.el-said@DrAdams-MacBook-Pro Deode-Prototype % tsh version
Teleport v14.3.3 git: go1.21.6
Proxy version: 7.3.9
Proxy: jump.ecmwf.int:443
adam.el-said@DrAdams-MacBook-Pro Deode-Prototype % tsh  login --proxy=jump.ecmwf.int
If browser window does not open automatically, open it by clicking on the link:
 http://127.0.0.1:60484/1104dfd9-ff74-439e-bd47-82cdd44db4b6
607069
ERROR: connection error: desc = "transport: Error while dialing: failed to dial: unable to establish proxy stream\n\trpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: tls: first record does not look like a TLS handshake\""

adam.el-said@DrAdams-MacBook-Pro Deode-Prototype % 607069
zsh: command not found: 607069
adam.el-said@DrAdams-MacBook-Pro Deode-Prototype % ssh -V
OpenSSH_9.6p1, LibreSSL 3.3.6
adam.el-said@DrAdams-MacBook-Pro Deode-Prototype % ssh -v ecs-login
OpenSSH_9.6p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/adam.el-said/.ssh/config
debug1: /Users/adam.el-said/.ssh/config line 22: Applying options for ecs-*
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Setting implicit ProxyCommand from ProxyJump: ssh -v -W '[%h]:%p' jump.ecmwf.int
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Executing proxy command: exec ssh -v -W '[ecs-login]:22' jump.ecmwf.int
debug1: identity file /Users/adam.el-said/.ssh/id_rsa type 0
debug1: identity file /Users/adam.el-said/.ssh/id_rsa-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519 type 3
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_xmss type -1
debug1: identity file /Users/adam.el-said/.ssh/id_xmss-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_dsa type -1
debug1: identity file /Users/adam.el-said/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.6
OpenSSH_9.6p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/adam.el-said/.ssh/config
debug1: /Users/adam.el-said/.ssh/config line 9: Applying options for jump.ecmwf.int
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to jump.ecmwf.int port 22.
debug1: Connection established.
debug1: identity file /Users/adam.el-said/.ssh/id_rsa type 0
debug1: identity file /Users/adam.el-said/.ssh/id_rsa-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519 type 3
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/adam.el-said/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_xmss type -1
debug1: identity file /Users/adam.el-said/.ssh/id_xmss-cert type -1
debug1: identity file /Users/adam.el-said/.ssh/id_dsa type -1
debug1: identity file /Users/adam.el-said/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.6
debug1: Remote protocol version 2.0, remote software version Teleport
debug1: compat_banner: no match: Teleport
debug1: Authenticating to jump.ecmwf.int:22 as 'ab0'
debug1: load_hostkeys: fopen /Users/adam.el-said/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: [email protected]
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host certificate: [email protected] SHA256:yAJzmK5nCp9R0TIxkfdaLjJt3uf3S0QkxjGX18Ws5EM, serial 0 ID "" CA ssh-rsa SHA256:++Ck4cLCxOww0tfkwIuETFXRmwGaKjmtC5kYtZLMoyg valid after 2022-03-10T16:41:55
debug1: load_hostkeys: fopen /Users/adam.el-said/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: No matching CA found. Retry with plain key
debug1: Host 'jump.ecmwf.int' is known and matches the RSA host key.
debug1: Found key in /Users/adam.el-said/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: agent returned 2 keys
debug1: Will attempt key: teleport:jump.ecmwf.int:jump.ecmwf.int:[email protected] RSA-CERT SHA256:ctHhZQQ7fuQFGwG/BBmz1pZNKSZDSYlmr47Q5flk22E agent
debug1: Will attempt key: teleport:jump.ecmwf.int:jump.ecmwf.int:[email protected] RSA SHA256:ctHhZQQ7fuQFGwG/BBmz1pZNKSZDSYlmr47Q5flk22E agent
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_rsa RSA SHA256:ohM2ImS+9HnIcuhktjvjGtKaothjOILafa/VKtltn5M
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_ecdsa 
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_ed25519 ED25519 SHA256:8Os1utGEeauCSR+stU5RWJGSe7CftOddPFsqgU8ZwyY
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_ed25519_sk 
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_xmss 
debug1: Will attempt key: /Users/adam.el-said/.ssh/id_dsa 
debug1: Offering public key: teleport:jump.ecmwf.int:jump.ecmwf.int:[email protected] RSA-CERT SHA256:ctHhZQQ7fuQFGwG/BBmz1pZNKSZDSYlmr47Q5flk22E agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: teleport:jump.ecmwf.int:jump.ecmwf.int:[email protected] RSA SHA256:ctHhZQQ7fuQFGwG/BBmz1pZNKSZDSYlmr47Q5flk22E agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: /Users/adam.el-said/.ssh/id_rsa RSA SHA256:ohM2ImS+9HnIcuhktjvjGtKaothjOILafa/VKtltn5M
debug1: Authentications that can continue: publickey
debug1: Trying private key: /Users/adam.el-said/.ssh/id_ecdsa
debug1: Trying private key: /Users/adam.el-said/.ssh/id_ecdsa_sk
debug1: Offering public key: /Users/adam.el-said/.ssh/id_ed25519 ED25519 SHA256:8Os1utGEeauCSR+stU5RWJGSe7CftOddPFsqgU8ZwyY
debug1: Authentications that can continue: publickey
debug1: Trying private key: /Users/adam.el-said/.ssh/id_ed25519_sk
debug1: Trying private key: /Users/adam.el-said/.ssh/id_xmss
debug1: Trying private key: /Users/adam.el-said/.ssh/id_dsa
debug1: No more authentication methods to try.
[email protected]: Permission denied (publickey).
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
adam.el-said@DrAdams-MacBook-Pro Deode-Prototype % ssh -Y -J [email protected] nkac@hpc-login


Welcome to ac6-100 of cluster ac!
              
  ##    ####  
 #  #  #    # 
#    # #      
###### #      
#    # #    # 
#    #  ####  
              
[IMPORTANT] Read carefully the following documentation:

https://confluence.ecmwf.int/display/UDOC/HPC2020+User+Guide

Have fun!

EC_GIT_TAG='commit a91dc4a8 deployed at 20240611_133340'


[ECMWF-INFO -ecprofile] /usr/bin/bash INTERACTIVE on ac6-100 at 20240618_091953.260, PID: 153515, JOBID: N/A
[ECMWF-INFO -ecprofile] $SCRATCH=/ec/res4/scratch/nkac
[ECMWF-INFO -ecprofile] $PERM=/perm/nkac
[ECMWF-INFO -ecprofile] $HPCPERM=/ec/res4/hpcperm/nkac
[ECMWF-INFO -ecprofile] $TMPDIR=/etc/ecmwf/ssd/ssd1/tmpdirs/nkac.153515.20240618_091953.260
[ECMWF-INFO -ecprofile] $SCRATCHDIR=/ec/res4/scratchdir/nkac/3/ac6-100.153515.20240618_091953.260
[nkac@ac6-100 ~]$ ecflow_ui &

Are you using a Mac?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants