TheCase / IPMIView.app

MacOS App wrapper for Supermicro's IPMIView/iKVM java app
https://github.com/TheCase/IPMIView.app/wiki
203 stars 43 forks source link

Launch KVM Console failed #5

Closed windowshome closed 4 years ago

windowshome commented 4 years ago

image

TheCase commented 4 years ago

https://github.com/TheCase/IPMIView.app/wiki/Troubleshooting

ScuttleSE commented 4 years ago

Should make a note that this DOES NOT WORK in Catalina, it spits out the exact same error as above.

TheCase commented 4 years ago

Have you tested loading the jar from the command line?

$ pwd
/Applications/IPMIView.app
$ java -jar Resources/IPMIView/IPMIView20.jar
windowshome commented 4 years ago

image

ScuttleSE commented 4 years ago

Same result as when I'm double-clicking the application

TheCase commented 4 years ago

Please pull down the latest commit. I added some fixes that relink to Mac's java and notes about how to deal with security and privacy system changes to run the console. Please let me know how it works out for you.

loozhengyuan commented 4 years ago

@TheCase Reporting back on the latest commits on the master branch. I'm encountering a problem where I am unable to add the java app to the Security & Privacy > Input Monitoring section. Here's a screenshot:

Screenshot 2020-01-02 at 3 25 54 PM

With reference to the screenshot, you would see that there is no +/- option as it would for the other sections where there is at least 1 other app listed.

Can't find much info online except this other occurrence on Apple Community. Did you encounter this issue as well?

TheCase commented 4 years ago

Have you tried running the console yet? Java actually showed up in that list on its own in several of my tests - I believe it adds itself when it is discovered that it needs permission to run properly.

loozhengyuan commented 4 years ago

I hope i understood what you meant when I ran the following commands:

cd ~/Applications/IPMIView.app/Resources/IPMIView/
java -jar IPMIView20.jar
java -jar iKVM.jar

Running iKVM.jar alone, after accepting all the security prompts, leads to this error message:

Screenshot 2020-01-03 at 9 08 11 AM

It still does not work though, i.e. the java app does not shop up on the Input Monitoring page. I've also tried restarting as well, but it doesn't show up.

I guess the alternative here would be for me to try download another app that does request for the same privacy permissions. I'll report back again when I manage to get pass this, thank you!

windowshome commented 4 years ago

I already pull again ,but problem is not resolve; ![Uploading image.png…]()

windowshome commented 4 years ago

I already pull again ,but problem is not resolve;

windowshome commented 4 years ago

I already pull again ,but problem is not resolve; image

TheCase commented 4 years ago

@loozhengyuan I opened a new issue for the Privacy problem you're having see #8

loozhengyuan commented 4 years ago

@TheCase Couldn't get it to run on my laptop, but happy to report that the newest changes works perfectly on a fresh Catalina instance.

Screenshot 2020-01-05 at 11 35 49 AM

$ java --version
java 13 2019-09-17
Java(TM) SE Runtime Environment (build 13+33)
Java HotSpot(TM) 64-Bit Server VM (build 13+33, mixed mode, sharing)
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.2
BuildVersion:   19C57
TheCase commented 4 years ago

@windowshome did you run the included shell script?

deoxykev commented 4 years ago

Hi all, I had this problem as well on Catalina. I solved it using:

cd </path/to/IPMIView_2.16.0_build.190815_bundleJRE_Linux_x64>
mkdir -p jre/Contents/Home/bin/
cd jre/Contents/Home/bin/
ln -s $(which java) java

This links the installed java binary to the file that IPMIView is looking for.

Thanks @TheCase for working on the instructions for this! Appreciate it.

TheCase commented 4 years ago

shell script includes improvements - Closing.