Some users have reported that Maya licensing hangs after it has been force quit. Trying to relaunch Maya results in Maya just hanging.
This appears due to Maya's process keeping the adlmmutex file locked (AdlmMutex::Lock). To get around this issue, we can set up the following system variable:
Usually a variable can be setup at system level. But Maya is particularly helpful in letting us set up Maya-specific variables directly in the Maya.env file, to avoid cluttering the system settings with customised variables. Location of Maya.env changes depending on our system. On Linux, it usually is located in either one of these paths:
More information on how to work with/edit Maya.env file can be found here: Setting environment variables using Maya.env
This workaround can be also found on the Autodesk Knowledge Network