TigerVNC / tigervnc

High performance, multi-platform VNC client and server
https://tigervnc.org
GNU General Public License v2.0
5.26k stars 956 forks source link

dmg file in mac catalina is not working #1006

Open mj2ua opened 4 years ago

mj2ua commented 4 years ago

Describe the bug

I tried to open the dmg file of TigerVNC in my mac (Catalina 10.15) for installation once I downloaded it. The process of opening dmg file is described in the screenshot.

1 2 3

I clicked the "open" button (blue button in the last screenshot), then the tiger logo popped up in the dock but disappeared soon. Nothing happened anymore.

I tried different version of dmg file (1.10.0, 1.10.1, & 1.10.18) to fix this issue but it did not help. I also tried installing it in the safe mode as apple support suggested, but it did not work as well. I also tried double click the dmg file holding down the ctrl key. But It did not work anyway.

When I opened disk utility, I could see the dmg file is mounted, but the installation is not processed!

Could you fix this issue for me?

--- Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/91322437-dmg-file-in-mac-catalina-is-not-working?utm_campaign=plugin&utm_content=tracker%2F3557444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3557444&utm_medium=issues&utm_source=github).
bphinz commented 4 years ago

Did you try dragging the TigerVNC Viewer icon from the dmg to the Applications folder?

On Tue, Apr 28, 2020 at 6:41 PM mj2ua notifications@github.com wrote:

Describe the bug

I tried to open the dmg file of TigerVNC in my mac (Catalina 10.15) for installation once I downloaded it. The process of opening dmg file is described in the screenshot.

[image: 1] https://user-images.githubusercontent.com/64504082/80544273-ae37d280-897e-11ea-8a20-8d5b525ac37c.png

[image: 2] https://user-images.githubusercontent.com/64504082/80544279-b1cb5980-897e-11ea-8381-b72bb0e63d71.png

[image: 3] https://user-images.githubusercontent.com/64504082/80544287-b4c64a00-897e-11ea-810f-c5727f8e0427.png

I clicked the "open" button (blue button in the last screenshot), then the tiger logo popped up in the dock but disappeared soon. Nothing happened anymore.

I tried different version of dmg file (1.10.0, 1.10.1, & 1.10.18) to fix this issue but it did not help. I also tried installing it in the safe mode as apple support suggested, but it did not work as well. I also tried double click the dmg file holding down the ctrl key. But It did not work anyway.

When I opened disk utility, I could see the dmg file is mounted, but the installation is not processed!

Could you fix this issue for me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TigerVNC/tigervnc/issues/1006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB45M3LPAEXEMJXLO7AR2VDRO5LSLANCNFSM4MTHLOBA .

-- Sent from Gmail Mobile

mj2ua commented 4 years ago

Yes. I tried it but It did not work as well. When I dragged it to the application directory, nothing happened :(

2020년 4월 28일 (화) 오후 9:08, Brian Hinz notifications@github.com님이 작성:

Did you try dragging the TigerVNC Viewer icon from the dmg to the Applications folder?

On Tue, Apr 28, 2020 at 6:41 PM mj2ua notifications@github.com wrote:

Describe the bug

I tried to open the dmg file of TigerVNC in my mac (Catalina 10.15) for installation once I downloaded it. The process of opening dmg file is described in the screenshot.

[image: 1] < https://user-images.githubusercontent.com/64504082/80544273-ae37d280-897e-11ea-8a20-8d5b525ac37c.png

[image: 2] < https://user-images.githubusercontent.com/64504082/80544279-b1cb5980-897e-11ea-8381-b72bb0e63d71.png

[image: 3] < https://user-images.githubusercontent.com/64504082/80544287-b4c64a00-897e-11ea-810f-c5727f8e0427.png

I clicked the "open" button (blue button in the last screenshot), then the tiger logo popped up in the dock but disappeared soon. Nothing happened anymore.

I tried different version of dmg file (1.10.0, 1.10.1, & 1.10.18) to fix this issue but it did not help. I also tried installing it in the safe mode as apple support suggested, but it did not work as well. I also tried double click the dmg file holding down the ctrl key. But It did not work anyway.

When I opened disk utility, I could see the dmg file is mounted, but the installation is not processed!

Could you fix this issue for me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TigerVNC/tigervnc/issues/1006, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB45M3LPAEXEMJXLO7AR2VDRO5LSLANCNFSM4MTHLOBA

.

-- Sent from Gmail Mobile

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TigerVNC/tigervnc/issues/1006#issuecomment-620934437, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMECEXZQNT2IWZH45IMLUDRO542DANCNFSM4MTHLOBA .

bl4ckgh0st commented 4 years ago

Same problem, but it works if you run it as root. In a terminal (after having dragged it to the applications directory) : sudo /Applications/TigerVNC\ Viewer\ 1.10.80.app/Contents/MacOS/TigerVNC\ Viewer

gregneagle commented 4 years ago

No need to run it as root. /Applications/TigerVNC\ Viewer\ 1.10.80.app/Contents/MacOS/TigerVNC\ Viewer will run it as you.

But you can fix the double-click launching by editing /Applications/TigerVNC\ Viewer\ 1.10.80.app/Contents/Info.plist and removing:

    <key>LSRequiresCarbon</key>
    <true/>
bphinz commented 4 years ago

I've committed @gregneagle's suggested fix in 10d9a8d. An updated nightly build is already up. If anyone can test it and confirm that resolves the issue I'd appreciate it.

CendioOssman commented 4 years ago

I tried it here with TigerVNC 1.10.1 on macOS 10.15. I can reproduce it not opening in the DMG, but if I drag it to Applications (or any other folder) then it works fine. Note that it doesn't start after I've clicked the first "Open", but every attempt after that is fine.

Using the nightly build works the same, i.e. doesn't work in DMG but works in a normal folder.

Not sure why I'm not seeing the same issue as you others. @bphinz , I guess you cannot reproduce this either?

PS. The app bundle should probably not include the version number

bphinz commented 4 years ago

I’m not using 10.15 but otherwise I see the same things as you

On Mon, Jun 1, 2020 at 7:17 AM Pierre Ossman (Work account) < notifications@github.com> wrote:

I tried it here with TigerVNC 1.10.1 on macOS 10.15. I can reproduce it not opening in the DMG, but if I drag it to Applications (or any other folder) then it works fine. Note that it doesn't start after I've clicked the first "Open", but every attempt after that is fine.

Using the nightly build works the same, i.e. doesn't work in DMG but works in a normal folder.

Not sure why I'm not seeing the same issue as you others. @bphinz https://github.com/bphinz , I guess you cannot reproduce this either?

PS. The app bundle should probably not include the version number

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/TigerVNC/tigervnc/issues/1006#issuecomment-636795007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB45M3LH4SHZDEOX2A5A4X3RUOE4ZANCNFSM4MTHLOBA .

-- Sent from Gmail Mobile