Até onde eu sei, xcb_connection_has_error faz parte de:
walt@bat:~(0)$ man xcb_connection_has_error
No manual entry for xcb_connection_has_error
walt@bat:~(16)$ man -k xcb_connection_has_error
xcb_connection_has_error: nothing appropriate.
walt@bat:~(16)$ man -k xcb_connection
xcb_connection: nothing appropriate.
walt@bat:~(16)$ man -k xcb
DES_xcbc_encrypt (3ssl) - DES encryption
XGetXCBConnection (3) - get the XCB connection for an Xlib Display
XSetEventQueueOwner (3) - set event queue owner on a shared Xlib/XCB connection
X Windows. Qual é a variável $DISPLAY definida em ambos os sistemas? Você já tentou as opções -v , -X e -x no comando ssh ?
Como strings $(type -p pactl) | grep DISPLAY retorna 1 (nenhuma correspondência), pactl NÃO faz uso direto do X Windows e não pode receber erros do X Windows ( xcb_connection_has_error ).