Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#46384 - [gpm] "disable-paste: cannot open mouse connection" message on login

Attached to Project: Arch Linux
Opened by Alexander Meshcheryakov (Self-Perfection) - Monday, 21 September 2015, 21:59 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 27 October 2015, 00:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


If following conditions are met:
1) gpm is installed (pretty common as required by vim);
2) gpm service is not running (a few users know about it and enable it)
3) there is running process with 'gpm' sequence in process name, e.g. ''

Then logging in into tty console produces error message
"disable-paste: cannot open mouse connection"

The reason is inaccurate check for running gpm service in /etc/profile.d/ I propose solution: replace
`[ -n "$(pgrep gpm)" ]`
`pidof -s gpm >/dev/null`

Additional info:
* gpm 1.20.7-5
* proposed fix is attached as a patch
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 27 October 2015, 00:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  gpm-1.20.7-6 in [testing]