Attempting to run tigervnc 1.7.0 results in the item below. [kitsune@vixen42]/home/kitsune% vncserver :2 vncserver: couldn't find "mcookie" on your PATH. Exit 2
Created attachment 175381 [details] mcookie mcookie is a command of util-linux. FreeBSD doesn't have it. Quick workaround is put the attached shell script named mcookie into your PATH. I'll report this to upstream. Please be patient.
Created attachment 175406 [details] patch I've submitted a patch to vncserver script. tigervnc port requires mcookie command but mcookie is a part of util-linux. Now vncserver script generates magic cookie without mcookie command. The patch contains the same changes to both tigervnc and tigervnc-devel. And one trivial change only to tigervnc (pkg-plist). net/tigervnc, net/tigervnc-devel: - generate magic cookie without cookie command net/tigervnc: - fix pkg-plist (Vietnamiese translation)
And strip binaries for both port.
(In reply to Koichiro IWAO from comment #2) Fix typo in summary. I think this should be applied to quarterly. net/tigervnc, net/tigervnc-devel: - generate magic cookie without mcookie command - strip binaries net/tigervnc: - fix pkg-plist (Vietnamiese translation)
A commit references this bug: Author: marino Date: Wed Oct 5 15:38:17 UTC 2016 New revision: 423352 URL: https://svnweb.freebsd.org/changeset/ports/423352 Log: net/tigervnc(-devel): runtime and stage-QA fix Previous attempts to run tigervnc resulted in the server quitting: vncserver: couldn't find "mcookie" on your PATH With the attached patch, the vncserver now generates the "magic cookie". While here, add the missing vietnamese translation to fix stage-QA checks. The -devel version got the same fix and was revbumped even though it is still ignored since it's no newer than the stable version. PR: 213150 Reported by: Zane Bowers-Hadley (vvelox [at] vvelox.net) Submitted by: maintainer Changes: head/net/tigervnc/Makefile head/net/tigervnc/files/patch-unix_vncserver head/net/tigervnc/pkg-plist head/net/tigervnc-devel/Makefile head/net/tigervnc-devel/files/patch-unix_vncserver head/net/tigervnc-devel/pkg-plist
Done. I went ahead and fixed the tignervnc-devel pkg-plist as well.
*** Bug 213607 has been marked as a duplicate of this bug. ***