parec not working via ssh
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I am trying to use scripts such as sox and rec without the mic | Ask Ubuntu and recording from PulseAudio | outflux.net
If I ssh into the box and try to run any command such as
pactl list short sources
I get back
root@blue:~# pactl list short sources
No protocol specified
xcb_connection_has_error() returned true
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
root@blue:~#
I get the same if I try parec. Now if I try it from the desktop it works fine. I am using Ubuntu 16.0.4. Any idea what would cause this? Doing the same on CentOS 7 has no such issue.
sound ssh pulseaudio
add a comment |Â
up vote
1
down vote
favorite
I am trying to use scripts such as sox and rec without the mic | Ask Ubuntu and recording from PulseAudio | outflux.net
If I ssh into the box and try to run any command such as
pactl list short sources
I get back
root@blue:~# pactl list short sources
No protocol specified
xcb_connection_has_error() returned true
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
root@blue:~#
I get the same if I try parec. Now if I try it from the desktop it works fine. I am using Ubuntu 16.0.4. Any idea what would cause this? Doing the same on CentOS 7 has no such issue.
sound ssh pulseaudio
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to use scripts such as sox and rec without the mic | Ask Ubuntu and recording from PulseAudio | outflux.net
If I ssh into the box and try to run any command such as
pactl list short sources
I get back
root@blue:~# pactl list short sources
No protocol specified
xcb_connection_has_error() returned true
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
root@blue:~#
I get the same if I try parec. Now if I try it from the desktop it works fine. I am using Ubuntu 16.0.4. Any idea what would cause this? Doing the same on CentOS 7 has no such issue.
sound ssh pulseaudio
I am trying to use scripts such as sox and rec without the mic | Ask Ubuntu and recording from PulseAudio | outflux.net
If I ssh into the box and try to run any command such as
pactl list short sources
I get back
root@blue:~# pactl list short sources
No protocol specified
xcb_connection_has_error() returned true
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
root@blue:~#
I get the same if I try parec. Now if I try it from the desktop it works fine. I am using Ubuntu 16.0.4. Any idea what would cause this? Doing the same on CentOS 7 has no such issue.
sound ssh pulseaudio
sound ssh pulseaudio
edited Apr 14 at 7:51
Drakonoved
7321415
7321415
asked Apr 13 at 16:51
Dovid Bender
61
61
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
As far as I can tell, xcb_connection_has_error
is part of:
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. What's your $DISPLAY
variable set to on both systems? Have you tried the -v
, -X
and -x
options to your ssh
command?
Since strings $(type -p pactl) | grep DISPLAY
returns 1 (no match), pactl
does NOT directly make use of X Windows and cannot get X Windows errors(xcb_connection_has_error
).
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
As far as I can tell, xcb_connection_has_error
is part of:
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. What's your $DISPLAY
variable set to on both systems? Have you tried the -v
, -X
and -x
options to your ssh
command?
Since strings $(type -p pactl) | grep DISPLAY
returns 1 (no match), pactl
does NOT directly make use of X Windows and cannot get X Windows errors(xcb_connection_has_error
).
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
add a comment |Â
up vote
0
down vote
As far as I can tell, xcb_connection_has_error
is part of:
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. What's your $DISPLAY
variable set to on both systems? Have you tried the -v
, -X
and -x
options to your ssh
command?
Since strings $(type -p pactl) | grep DISPLAY
returns 1 (no match), pactl
does NOT directly make use of X Windows and cannot get X Windows errors(xcb_connection_has_error
).
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
add a comment |Â
up vote
0
down vote
up vote
0
down vote
As far as I can tell, xcb_connection_has_error
is part of:
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. What's your $DISPLAY
variable set to on both systems? Have you tried the -v
, -X
and -x
options to your ssh
command?
Since strings $(type -p pactl) | grep DISPLAY
returns 1 (no match), pactl
does NOT directly make use of X Windows and cannot get X Windows errors(xcb_connection_has_error
).
As far as I can tell, xcb_connection_has_error
is part of:
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. What's your $DISPLAY
variable set to on both systems? Have you tried the -v
, -X
and -x
options to your ssh
command?
Since strings $(type -p pactl) | grep DISPLAY
returns 1 (no match), pactl
does NOT directly make use of X Windows and cannot get X Windows errors(xcb_connection_has_error
).
answered Apr 13 at 17:09
waltinator
20.6k74068
20.6k74068
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
add a comment |Â
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
when I ssh into the CentOS box and do echo $DISPLAY I get nothing. On the Ubuntu box if I ssh in remotely it's blank as well. On the Ubuntu box if I do ssh@localhost again $DISPLAY is blank. On the Ubuntu box if I do ssh -X root@localhost then $DISPLAY is localhost:10.0 AND I am able to run parec. Here is what is very interesting. If I ssh in remotely to the ubuntu box parec wont work. However if I now do export DISPLAY=localhost:10.0 the next time I try parec it will work. It will only work so long as there is a local ssh session. If that goes away it stops working.
â Dovid Bender
Apr 13 at 18:23
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024728%2fparec-not-working-via-ssh%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password