- Environment Variables: Remote sessions may not initialize all the same environment variables as local sessions. Check if the "LD_LIBRARY_PATH" and "GTK_PATH" environment variables are set correctly in the remote session.
- If you need to use MATLAB remotely and cannot resolve the GTK module issue, you could consider using "MATLAB Online", which provides access to MATLAB from a web browser without any installation.
- You could also try launching MATLAB in no-display mode (without the GUI) by using the '-nodesktop' option when starting MATLAB in the remote session.
MATLAB blank sreen uppon launch
31 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
This is a weird one so any help will be appreciated. I can open Matlab normally using a university computer connected via an ethernet port to a given cluster. However whenever I connect to that same computer remotely I get a blank screen and "Gtk-Message": Failed to load module "canberra-gtk-module", "Gtk-Message": Failed to load module "pk-gtk-module".
I have no permission to install any modules, however I don't see how that would be even required when the only thing that has changed is the internet connection. In both cases the university computer is connected to the given cluster with the only difference being the way I access that computer.
Thanks in advance
0 comentarios
Respuestas (1)
Gayatri
el 29 de Feb. de 2024
Hi Arsenios,
The error messages "Gtk-Message": Failed to load module "canberra-gtk-module" and "Gtk-Message": Failed to load module "pk-gtk-module" are related to the GTK graphical user interface toolkit that MATLAB uses for rendering its interface on Linux systems.
The fact that this issue only occurs when you're connecting remotely suggests that there might be a difference in the environment configuration between local and remote sessions. Here are some possible workarounds:
>> matlab -nodesktop
I hope this helps!
0 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!