Code Monkey home page Code Monkey logo

nesi-virtual-desktops's People

Contributors

callumwalley avatar chrisdjscott avatar jennan avatar ndjones avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nesi-virtual-desktops's Issues

Black Screen on connection

Command runs fine on cluster.
Server starts fine, websocket starts fine.
Black screen after clicking the 'connect' button in web browser.

User config

Create a config file that sets up modules to load, paths to mount and icons to create.

slurm commands not working

Possibly since the slurm upgade, eg sbatch:

sbatch: error: plugin_load_from_file: dlopen(/opt/slurm/lib64/slurm/cli_filter_lua.so): liblua-5.1.so: cannot open shared object file: No such file or directory
sbatch: error: Couldn't load specified plugin name for cli_filter/lua: Dlopen of plugin file failed
sbatch: error: cannot create cli_filter context for cli_filter/lua
sbatch: fatal: failed to initialize cli_filter plugin

in the container we have /lib64/liblua-5.3.so but slurm is looking for liblua-5.1.so

Address already in use

Looks like websocket is being initialised twice, then failing the second time?
Gets around the usual port checking by getting a free port, then failing.

WebSocket server settings:
  - Listen on localhost:56703
  - Web server. Web root: /opt/noVNC
  - No SSL/TLS support (no cert file)
  - proxying from localhost:56703 to :66424
  - Navigate to http://localhost:56703 in web browser to connect
  - Press 'Ctrl + C' to close connection ( Note: VDT instance not persistent )
WebSocket server settings:
  - Listen on localhost:56703
  - Web server. Web root: /opt/noVNC
  - No SSL/TLS support (no cert file)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/websockify/websockify/__main__.py", line 4, in <module>
    websockify.websocketproxy.websockify_init()
  File "/opt/websockify/websockify/websocketproxy.py", line 701, in websockify_init
    server.start_server()
  File "/opt/websockify/websockify/websockifyserver.py", line 704, in start_server
    lsock = self.socket(self.listen_host, self.listen_port, False,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/websockify/websockify/websockifyserver.py", line 470, in socket
    sock.bind(addrs[0][4])
OSError: [Errno 98] Address already in use

Blank screen on re-connection.

After making a new desktop and killing the connection with ctrl + c, attempting to re-connect will lead to a blank screen when connecting to noVNC.

If websocket is killed manually (using pkill for example) connection can be re-established without a problem. Also, all subsequent times socket is killed with ctrl + c will not cause an issue.

Suspect some element of the container is being lumped in the parent process. Subsequent connections do-not cause this to happen as they are a different process.

virtual desktop screen locked

Hi,

It seems that the desktop locks itself after some inactivity. However it is not clear which password should be used to unlock it.
I didn't manage to unlock it with my NeSI password (it may be me typing the wrong one ๐Ÿ˜…). Please could you document which password to use. Thank you :).
image

nsys-ui not working.

module load PyQt/5.12.1-gimkl-2020a-Python-3.8.2
module load Nsight-Systems/2020.5.1
nsys-ui  # this will work only if you have a graphical session

Polkit error: round 2

'GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: User of caller and user of subject differs.' on startup

Use phoney home directory

Contents of home directory can cause unreliable behavior.

Advantages of setting HOME to be equal to somewhere inside the container.

  • Can deliver already set up desktop.
  • Same experience for everyone
  • Easier to maintain.

Advantages of using a persistent overlay for HOME.

  • User can modify desktop env.
  • Will not interfere with regular home.

Failed to connect to :<PORT>: [Errno 111] Connection refused

Seems to happen to about 1 in 20 attempts to connect.

From user with this issue.

[I 2023-09-26 14:11:39.408 SingleUserLabApp log:189] 101 GET /user/*/vdt/vnc.html (@::ffff:130.195.253.20) 1.65ms
[I 2023-09-26 14:11:39.408 SingleUserLabApp handlers:447] Trying to establish websocket connection to ws://localhost:60075/vnc.html
[I 2023-09-26 14:11:39.419 SingleUserLabApp handlers:454] Websocket connection established to ws://localhost:60075/vnc.html
127.0.0.1 - - [26/Sep/2023 14:11:39] 127.0.0.1: Plain non-SSL (ws://) WebSocket connection
127.0.0.1 - - [26/Sep/2023 14:11:39] 127.0.0.1: Path: '/vnc.html'
127.0.0.1 - - [26/Sep/2023 14:11:39] connecting to: :43889
127.0.0.1 - - [26/Sep/2023 14:11:39] Failed to connect to :43889: [Errno 111] Connection refused

Problem is fixed with a jupyter session restart.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.