Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-29-2017, 12:54 PM   #1
Registered: Jul 2006
Distribution: slackware
Posts: 94

Rep: Reputation: 3
loosing middle mouse button in TigerVnc

i experience a strange problem with the middle mouse button in tigervnc 1.7.0, on Slackware Linux 14.2.

once in a while VNC simply looses functionality for this middle mouse button, out of the blue - i can't explain why. this can happen in VNC server sessions that run on a physical machine or on a virtual OS (VPS). i don't see any connection with the VNC clients and host platforms in use.

but then it can also happen - like these days - that i restart on a physical machine numerous times a VNC session without ever gaining back this middle mouse button - while it runs perfectly on fresh VNC restarts on a VPS. it's completely erratic. needless to say that on every platform (i have several) i use the very same home directory with identical startup files - xinitrc, xstartup, and so on - here my xstartup file :

sh $HOME/.xinitrc

i need to add on that once this middle mouse button gets lost i have to restart the VNC session which seems - sometimes at least - to cure this problem...

any input is greatly appreciated, thanks ! bye, pisti
Old 01-06-2018, 10:34 AM   #2
Registered: Jul 2006
Distribution: slackware
Posts: 94

Original Poster
Rep: Reputation: 3
problem solved : Pierre, the maintainer of TigerVNC, suggested to run this here:
xmodmap -e 'pointer = 1 2 3 4 5 6 7 8'
my ~/.xinitrc file features something similar but when the server, client and the local screen are out of sync in terms of my three Kensington trackball key settings that's when the middle mouse button gets lost :
xmodmap -e 'pointer = 1 8 3 4 5 0 0 2'
so, in sum, i just rerun the '1234...' command in the VNC screen --- and all set we are


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Middle Mouse Button Yopla Linux - Newbie 1 07-07-2014 04:21 PM
middle mouse button kittaanna Linux - Newbie 7 08-03-2006 09:50 AM
how should i enable the middle button of 3-button mouse ?? b0nd Slackware 1 07-17-2006 03:46 AM
middle mouse button FLOODS Linux - Hardware 5 07-18-2004 06:54 AM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 09:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration