Re: [Thinstation-developer] Implementation of VNC Tray Icon
Brought to you by:
doncuppjr
From: Jens H. <je...@hi...> - 2020-01-07 08:31:14
|
Hi Don, I could get it to work. Thanks for your Support. I´ve read a little bit about the "design" of ports and the interaction with packages. I also had a look at the wiki-article "changing to a new branch". I tried to update the environment to the 6.3-Unstable branch, but I could not get it to work. As a workaround I mirrored the 6.3-Unstable branch to a new folder, ran setup-chroot and made a new build in that environment to get the packages compiled. Then I copied the binaries of the new tk package to my "live" - environment. My question: Can you tell me how I can update the "live"-environment to for example in this case 6.3-Unstable? - I´m on 6.2-Stable at the moment I tried it as displayed in the screenshot with the commands explained in the wiki-article. For anyone who is interested for x11vnc: Not only package "tk" is required, also the package "tcl" is needed. So when you would like to implement it, you have to add both packages. Either trough adding to build.conf or to the dependencies-file of "xorg7vnc" - package. I changed the parameters in /thinstation/build/packages/xorg7vnc/bin/check_x11vnc. - I know that theses changes are not persistent if I upgrade to a new version... - Then I have to do it again This file will be triggered via crontab every minute to check if it´s running (default behaviour). The call looks like this for me: x11vnc -accept popup -gone popup -gui tray -display :0 -rfbauth /etc/.vncpasswd -many -q -o /var/log/x11vnc -bg Eplaination: -accept popup -> Generate an Accept/Reject windows when someone connects -gone popup -> Generate a popup Window when the remote-Session ended -gui tray -> Places a VNC-Icon in the taskbar next to the clock -display :0 -> REQUIRED if you would like to see the icon. If this parameter is not set, there won´t show up an icon. Don Cupp schrieb am 03.01.2020 16:52 (GMT +01:00): > > I added the tk port and created a corresponding package. You can include wish by adding > > package tk > > to build.conf or by adding it to the dependencies file of any other package you think will require wish. > > > On Friday, January 3, 2020, 07:25:53 AM MST, Jens Hindricksen <je...@hi...> wrote: > > > Hi, > > > I don´t know if it´s the right place here, but I would like to address a feature request. > > > I implemented x11vnc and it works well so far. > > > I also implemented the parameter "-accept popup" so that the user can accept or reject the remote connection. > > > In x11vnc there is also the option to show a tray icon and whether the supporter is connected or not, the color of the icon changes. > > > The parameter for that is "-gui tray". > > > The problem is that there is something missing, as you can see in the screenshot. > > > the output when calling x11vnc manually is: > > > gui: ping succeeded. > > > could not exec wish: wish - > > > execlp: No such file or directory > > > So I assume that the "program" wish is not installed. I tried to lookup "wish" and landed on "tcl" (see: https://sourceforge.net/projects/tcl <https://sourceforge.net/projects/tcl> ) > > > Is it possible that someone can "integrate" that program, so that we maybe can use the tray-icon of vnc? > > > Kind regards > > > Jens > > > _______________________________________________ > Thinstation-developer mailing list > Thi...@li... <mailto:Thi...@li...> > https://lists.sourceforge.net/lists/listinfo/thinstation-developer <https://lists.sourceforge.net/lists/listinfo/thinstation-developer> > > |