2

I have been using Mathematica 12 on Ubuntu 20.04 for a while now, and everything has been fine.

However, now when I try and open it, it freezes on 'Initializing kernels'. I have also tried running 'mathematica' and 'math' and 'WolframKernel' from the terminal, but they all just freeze. Does anyone have any suggestions?

Edit: I have tried installing the most recent version, but I have the same issue, except it gets to 'Initializing internal preferences', and then my laptop starts whirring lots, and eventually freezes.

user112495
  • 245
  • 1
  • 9
  • 1
    I am unsure of what is causing your kernal to hang on initialization, I did submit a bug report for this. Did you update to 12.3? – Shelton_swelton Aug 04 '21 at 19:52
  • @Shelton_swelton Yes, I've updated to 12.3, but it changed from hanging on 'Initialising kernels' to hanging on 'Initializing internal preferences'.

    I also made a mistake in my initial post - I'm running Ubuntu 20.04, not 21.04.

    – user112495 Aug 04 '21 at 19:55
  • 1
    Thank you for the clarification! hopefully if its a bug, it can be fixed quickly – Shelton_swelton Aug 04 '21 at 19:58
  • Alright, I've received some guidance @user112495, try the following:-Does a clean start help? 1.Does deleting UserBaseDirectory make a difference? 2.How is Mathematica being activated? Is it connecting to a mathlm server perhaps? 3. Is Mathematica installed on a locally or on a network drive? 4. Does the user have any special code in $UserBaseDirectory/Kernel/init.m ? – Shelton_swelton Aug 04 '21 at 21:20
  • Apologies for formatting errors, but check your authentication for mathematica and the your init.m file. – Shelton_swelton Aug 04 '21 at 21:23
  • @Shelton_swelton I've tried deleting the .Mathematica folder in my home directory, but it didn't change anything. It should be being activated online? On the wolfram website, it says the license code being used is activated. Mathematica is installed locally. There's no special code. When I open the init.m file, all it says is (** User Mathematica initialization file **). How else can I check the authentication? I'm not entirely sure how it's being authenticated. Ican't get to a screen where I'm required to enter a license key/ enter login details to authenticate it online. – user112495 Aug 05 '21 at 08:33
  • @Shelton_swelton Just to add to this, I have also tried a clean startup (by deleting the four folders), which also didn't work. – user112495 Aug 05 '21 at 14:15
  • 2
    Well I'll pass this on, I'll let you know with updates. – Shelton_swelton Aug 05 '21 at 18:40
  • This also happens to me, Ubuntu 20.04, Mathematica 12.3.1 – wklm Aug 07 '21 at 08:03
  • @Shelton_swelton were you able to figure it out? – wklm Aug 23 '21 at 20:22
  • 1
    Hello! I have been following the ticket and developers are still working on it. It's fairly tricky and some above my head! Rest assured its not forgotten about. – Shelton_swelton Aug 25 '21 at 18:52
  • @Shelton_swelton Thank you! – user112495 Aug 27 '21 at 14:46
  • Thanks a million! Please keep us posted! – wklm Aug 28 '21 at 14:18
  • @wklm Wolfram technical support have managed to resolve the issue for me. I'd recently installed Citrix, and said 'yes' to installing app protection when installing it. Uninstalling Citrix and reinstalling it without app protection resolved the issue. If you haven't recently installed Citrix, this probably won't resolve your issue though. Thank you for your help @Shelton_swelton! – user112495 Sep 08 '21 at 15:19

1 Answers1

3

Wolfram technical support have managed to resolve the issue for me. I'd recently installed Citrix, and said 'yes' to installing app protection when installing it. Uninstalling Citrix and reinstalling it without app protection resolved the issue.

user112495
  • 245
  • 1
  • 9