unble to launch Assist/Monitor when using vncviewer from tigervnc

Bug #1501747 reported by cyberorg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Epoptes
Fix Released
Low
Alkis Georgopoulos

Bug Description

vncviewer from tigervnc requires launching like xvnc4viewer, so may be test to find out which vncviewer binary is used before launching it would be better.

On openSUSE there is /usr/bin/vncviewer-tigervnc actual binary and /usr/bin/vncviewer is link to /etc/alternatives/vncviewer. On suse the attached patch would work, however it does not solve issue with other distributions that install vncviewer binary which is from tigervnc.

For example on CentOS /usr/bin/vncviewer is actual binary provided by tigervnc. Only way I could discover if the binary comes from tigervnc is like this::

if grep TigerVNC /usr/bin/vncviewer; then
      echo "this is vncviewer-tigervnc, using vnc4viewer parameters"
elif grep TightVNC /usr/bin/vncviewer; then
     echo "this is TightVNC vncviewer, using old school parameters to launch"
else
    echo "unknown vncviewer, using .... parameters to launch"
fi

Don't know python equal of this.

Revision history for this message
cyberorg (jigish-gohil) wrote :
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

cyberorg, please send us another patch that checks for some file that the tigervnc package includes, and launches /usr/bin/vncviewer using the tigervnc syntax in that case.

Thanks!

Changed in epoptes:
assignee: nobody → Alkis Georgopoulos (alkisg)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
cyberorg (jigish-gohil) wrote :

Please go ahead and commit the patch attached earlier to fix epoptes on openSUSE, I am unable to find the clean way to detect vncviewer on Fedora/rh clones as there is nothing common that we could use to detect it.

See content of the rpm package:

Centos:
http://rpm.pbone.net/index.php3/stat/4/idpl/29077807/dir/centos_7/com/tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64.rpm.html

Fedora:
http://rpm.pbone.net/index.php3/stat/4/idpl/31137891/dir/fedora_other/com/tigervnc-1.5.0-3.fc23.x86_64.rpm.html

SUSE, Fedora/RH clones do not have any other vncviewer available, the new patch attached would be ideal if you are happy to drop support for other non-default vncviewers.

Revision history for this message
cyberorg (jigish-gohil) wrote :

checking for /usr/share/locale/de/LC_MESSAGES/tigervnc.mo

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :
Changed in epoptes:
status: Incomplete → Fix Committed
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Fix released in epoptes 0.5.9.

Changed in epoptes:
status: Fix Committed → Fix Released
Revision history for this message
cyberorg (jigish-gohil) wrote :

Unfortunately tigervnc is lacking feature for multiple connect to the same listen port. So if epoptes can use new port for every connection the above patch works only for the first connection, then epoptes has to be restarted.

https://github.com/TigerVNC/tigervnc/issues/227

In the mean time, we use tightvnc, the attached patch is needed to avoid epoptes launching the default tigervnc's vncviewer.

Revision history for this message
cyberorg (jigish-gohil) wrote :

Sorry wrong patch. Here is the proper one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.