LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot activate Labview 2020SP1 community edition for Linux

Hey Aqua,

 

The first method works for me. Had a popular problem to verify the CE software.

You've found an amazing solution! Thank a lot.

Would be nice, if the NI developers, or whoever are responsible for Labview development, take a look on all the struggles the users have with the editions for non-rpm packages using Linux systems.

 

Now, I'm going to do something with that tiny fonts they implemented in the interface. Problem after a problem. Or get back to Matlab/Simulink.

 

P.S. Here, I cannot even verify again I'm not a robot, just to publish this answer to your comment after a small update. Comedy.

 

Best regards

0 Kudos
Message 11 of 19
(3,533 Views)

Maybe you are a robot, but you just don't know it.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 12 of 19
(3,525 Views)

Awsome @mukhaDin! glad the 1st method works, I only realized that the whole trouble of the 2nd method could've been spared, cause the program started but got stuck on authentication. good thing you checked it, may save time for the next poor fella to try it.

 

Indeed the website and the forum is awful, and to be honest the whole LabVIEW interface looks like it got stuck in the late 80's. Im not a LabVIEW fan, though I do try to improve at it as it is a useful tool sometime when direct machine communication is required. I'd like to hear your fix for the fonts if you get anywhere.

0 Kudos
Message 13 of 19
(3,516 Views)

Hey Aqua,

 

Interface fonts problem was solved by navigating Tools > Options > Environment > (section called "Fonts"). Choose from a drop-down menu the Application, Dialog and System fonts, uncheck "Use default font", and click on the "Font style..." button, "Save".

 

Regards

0 Kudos
Message 14 of 19
(3,504 Views)

I had issue with normal instalation and also with alien so...
This worked for me ..

Procedure:-

  1. Install Labview community version into Ubuntu as root (sudo).
  2. Install Midora. sudo apt install midori
  3. Set midora as the default browser in 'x-www-browser' using this command. sudo update-alternatives --config x-www-browser (Changing default browser in GUI window in settings option does NOT work)
  4. Run labview 'very specifically' in sudo -i mode (NOT in 'just' sudo mode).
  1. sudo -i
  2. labview64
  1. Now the NI login page will appear in the midori browser window.
  2. Login and wait for some time
  3. Now the Labview will authenticated
  4. If the login page takes long time to log into then close the browser after 5min. After you close the browser the Labview will extract the authetication token from the midora cache.
  5. Now you can run Labview in sudo mode. sudo labview64 NOTE:- You cannot run labview using the icon in application window as this method only authenticates the labview in sudo mode and not in normal mode.
0 Kudos
Message 15 of 19
(2,909 Views)

Hi lacika,

 

Thanks for the new solution discovery!

I'll try it, too, once I get my hands on it in the nearest future, and feedback the result here as well.

 

Best regards

0 Kudos
Message 16 of 19
(2,897 Views)

Thank you mot7 !!

 

I followed your suggestions with some variations and I successfully activated LabView 2021 Community Edition.

In particular I did that:

1 Log in as root

2 Uninstall LabView

2 Root log out and log in with my account with standard user permissions

3 I have Firefox and Chrome installed

4 Install LabView with "sudo" etc. ....

5 Launch LabView with the link provided in the Menu of the Desktop Environment

6 Click on activate button

7 It will try to start the default browser that's in my case Firefox, in my case it doesn't start...

8 Open a terminal and kill the process kill -9 $(ps -x | grep firefox) and get the address (remove the last : from the address)

9 Kill Firefox with the resource manager and after that Chrome will open automatically

10 In Chrome enter your credentials for NI registration of the page self opened; keep the page opened

11 Open another tab in Chrome, enter website NI.com and perform the login to your account; keep the page opened

12 Open another tab in Chrome and past&go to the link got before @ point 8 --> wait a while and the page should become as point 10; enter again your credentials and  keep the page opened

13 Wait some minutes, meantime you can surf the web with other pages opened in Chrome.

14 Close all the tabs in Chrome, one by one and finally close Chrome

15 The Labview activation window in background will catch the registration license and open finally LabView registered.

END

Maybe it works also with one browser only e.g. Chrome or Firefox ....

I think the key is the repetition of the login in another page.

 

Of course the version of LabView you are installing should be downloaded with the same account you are using for the registration.

 

Installed in the way above, when you want to use LabView, you don't need any administrative privilege to run it.

 

0 Kudos
Message 17 of 19
(2,715 Views)

Thankyou aqua- for your post, I've been dealing with the issue to no avail and you put just the right word in.

I'm using opensuse 15.1

I did not have the file /usr/local/natinst/LabVIEW-2020-64/labviewprofull.

Instead of going through the process of repackaging the whole installation I installed manually the .rpm file "labview-2020-profull-exe-20.5.0.49152-0+f0.x86_64.rpm" after that labview started like a charm calling as you indicated.

 

0 Kudos
Message 18 of 19
(2,622 Views)

Similar approach worked. LabVIEW 2021 ubuntu 20.04:

 

1. Installed sudo "etc." per instructions in the labview README

2. In terminal navigate to folder '/usr/local/natinst/LabVIEW-2021-64'

KEY PART (IN MY OPINION)

3. Run './labview' in command line -  (do not use sudo in this step) 

4. Click the 'Activate' button. Your default browser will open.

5. As pointed out above, open a terminal and kill the process kill -9 $(ps -x | grep chrome) [in my case it was chrome not firefox] and get the address (remove the last : from the address)

6. Exit the labview either using ^C in the terminal or exiting out the GUI

7. Run 'sudo ./labview' (note that now I use sudo)

8. Click the activate button (nothing will open up, that is fine).

9. Open a browser window (it doesn't matter which browser [ I used chrome again]) paste and go to the link obtained in step  5. 

10. Use your credential to login. Now the LabVIEW should register your credentials and open the default home page. 

 

Again, I think the key part is not using sudo to run LabVIEW when obtaining the link to the credential process and then using sudo to run LabVIEW when actually entering your credentials. 

 

Hope this helps the next person, thank you to everyone who has posted their solutions so far. 

0 Kudos
Message 19 of 19
(2,126 Views)