Closed MarcSkovMadsen closed 1 year ago
Hi @MarcSkovMadsen, it's not documented anywhere and is not a super clean solution but if this is blocking you, a work around is already being discussed at https://github.com/Lightning-AI/lightning/issues/14700
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, PyTorch Lightning Team!
First check
Bug description
I want to run lightning on a server in the cloud that where I have access to the terminal via a browser (Its part of a Jupyter Hub). I.e. it cannot open a browser. I see no way to login.
Eventually I would like to deploy my lightning app via
lightning run app app.py --cloud
.How to reproduce the bug
Error messages and logs
INFO: login started for lightning.ai, opening https://lightning.ai/sign-in?redirectTo=http%3A%2F%2Flocalhost%3A38151%2Flogin-complete /usr/bin/xdg-open: 869: www-browser: not found /usr/bin/xdg-open: 869: links2: not found /usr/bin/xdg-open: 869: elinks: not found /usr/bin/xdg-open: 869: links: not found /usr/bin/xdg-open: 869: lynx: not found /usr/bin/xdg-open: 869: w3m: not found xdg-open: no method available for opening 'https://lightning.ai/sign-in?redirectTo=http%3A%2F%2Flocalhost%3A38151%2Flogin-complete'
Important info
lightning==2022.9.8
More info