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

notebook() with no X server and elink #1100

Closed
gl-yziquel opened this issue Dec 6, 2023 · 1 comment
Closed

notebook() with no X server and elink #1100

gl-yziquel opened this issue Dec 6, 2023 · 1 comment

Comments

@gl-yziquel
Copy link

gl-yziquel commented Dec 6, 2023

I've tried doing using IJulia followed by notebook(). As I usually work over ssh in a terminal without X, it launched ~/.local/bin/jupyter notebook which launched the web browser, which here is... elinks.

So, bottom line: the julia repl freezes, as it waits for elinks to terminate. And elinks is moreover not displayed in the julia repl.

Question: would it not be possible to detect whether or not X is running before trying to launch jupyter notebook ? Or fine tune somewhat the jupyter notebook invocation ?

A way to call jupyter notebook --no-browser would be perfect.

More info:

julia> versioninfo()
Julia Version 1.11.0-DEV.203
Commit ec8df3da35 (2023-07-31 19:24 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
  Threads: 1 on 8 virtual cores
@gl-yziquel
Copy link
Author

Ahhhh...

notebook(detached=true)

Fixed.

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

1 participant