GeoDict Forum

GeoDict Modules and their functionality => Basic functionality and features (GeoDict Base Package) => Topic started by: djauffres on June 14, 2023, 03:33:46 PM

Title: Error message when trying to run geodict remotely on a linux serveur
Post by: djauffres on June 14, 2023, 03:33:46 PM
Goodmorning,
I have issues to run geodict remotely (using ssh -X connection to a linux server). The server is under CentOS Linux 8 and here is the error message I am getting:
"Unexpected critical error: GLWidget::makeCurrent(): Current context does not exist or is not valid!"

Geodict runs perfectly when I am executing it locally on the server.

Any guess from where the issue could come from ?

Thank you
Title: Re: Error message when trying to run geodict remotely on a linux serveur
Post by: Aaron Widera on June 14, 2023, 04:16:17 PM
Hello,

nice to have you here as a new user.I assume you start GeoDict from the command line?
Have you tried using the vglrun command in linux? This uses the VirtualGL https://wiki.archlinux.org/title/VirtualGL (https://wiki.archlinux.org/title/VirtualGL) tool to enable to use a graphic card for rendering in GeoDict.

Code: [Select]
pathToGeoDict: vglrun geodict2023.sh
For this to work you first need to install the VirtualGL to your linux system.

Let me know if this can resolve the issue.
Title: Re: Error message when trying to run geodict remotely on a linux serveur
Post by: djauffres on June 15, 2023, 02:56:25 PM
Thank you for your suggestion, using virtualGL actually solved the issue.