X11 connection rejected because of wrong authentication












0















I recently installed fbprophet via conda on python. Whenever I am trying to import it, my ipython environment crashes with follwowing error.



X11 connection rejected because of wrong authentication.                                                                                                     
qt.qpa.screen: QXcbConnection: Could not connect to display analytics-lab:10.0
Could not connect to any X display.


I have already opened a bug on github for the same. https://github.com/facebook/prophet/issues/887



However, this issue seems more system configuration specific than fbprophet issue. Since I have seeing X11 connection rejected because of wrong authentication. error for long time.



I have already tried deleting the .Xauthority file from server and relogin with ssh -X user@host, but it did not solve the problem.



I have tried to the change the configuration as per suggestions mentioned here as well. X11/SSH issues "wrong authentication"



On server side



df -h
/dev/sdc1 50G 34G 14G 73% /


ls -l ~/.Xauthority
-rw------- 1 xxx xxx 50 Mar 15 00:35 /home/prashant/.Xauthority


grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes



On client side:



Host *
ForwardX11 yes


There is no quota on the server.



I have also tried setting DISPLAY=0 as suggested at many places. But it also does not work.



Can anyone suggest what might be causing this issue and how to fix it?



P.S. I see this message even when I exit vim and I also can't open any gui based output. It failed with the same error.
P.S. Ubuntu 14.04










share|improve this question

























  • What OS and which X server is running on the system from which you are SSHing from?

    – steeldriver
    3 hours ago
















0















I recently installed fbprophet via conda on python. Whenever I am trying to import it, my ipython environment crashes with follwowing error.



X11 connection rejected because of wrong authentication.                                                                                                     
qt.qpa.screen: QXcbConnection: Could not connect to display analytics-lab:10.0
Could not connect to any X display.


I have already opened a bug on github for the same. https://github.com/facebook/prophet/issues/887



However, this issue seems more system configuration specific than fbprophet issue. Since I have seeing X11 connection rejected because of wrong authentication. error for long time.



I have already tried deleting the .Xauthority file from server and relogin with ssh -X user@host, but it did not solve the problem.



I have tried to the change the configuration as per suggestions mentioned here as well. X11/SSH issues "wrong authentication"



On server side



df -h
/dev/sdc1 50G 34G 14G 73% /


ls -l ~/.Xauthority
-rw------- 1 xxx xxx 50 Mar 15 00:35 /home/prashant/.Xauthority


grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes



On client side:



Host *
ForwardX11 yes


There is no quota on the server.



I have also tried setting DISPLAY=0 as suggested at many places. But it also does not work.



Can anyone suggest what might be causing this issue and how to fix it?



P.S. I see this message even when I exit vim and I also can't open any gui based output. It failed with the same error.
P.S. Ubuntu 14.04










share|improve this question

























  • What OS and which X server is running on the system from which you are SSHing from?

    – steeldriver
    3 hours ago














0












0








0


1






I recently installed fbprophet via conda on python. Whenever I am trying to import it, my ipython environment crashes with follwowing error.



X11 connection rejected because of wrong authentication.                                                                                                     
qt.qpa.screen: QXcbConnection: Could not connect to display analytics-lab:10.0
Could not connect to any X display.


I have already opened a bug on github for the same. https://github.com/facebook/prophet/issues/887



However, this issue seems more system configuration specific than fbprophet issue. Since I have seeing X11 connection rejected because of wrong authentication. error for long time.



I have already tried deleting the .Xauthority file from server and relogin with ssh -X user@host, but it did not solve the problem.



I have tried to the change the configuration as per suggestions mentioned here as well. X11/SSH issues "wrong authentication"



On server side



df -h
/dev/sdc1 50G 34G 14G 73% /


ls -l ~/.Xauthority
-rw------- 1 xxx xxx 50 Mar 15 00:35 /home/prashant/.Xauthority


grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes



On client side:



Host *
ForwardX11 yes


There is no quota on the server.



I have also tried setting DISPLAY=0 as suggested at many places. But it also does not work.



Can anyone suggest what might be causing this issue and how to fix it?



P.S. I see this message even when I exit vim and I also can't open any gui based output. It failed with the same error.
P.S. Ubuntu 14.04










share|improve this question
















I recently installed fbprophet via conda on python. Whenever I am trying to import it, my ipython environment crashes with follwowing error.



X11 connection rejected because of wrong authentication.                                                                                                     
qt.qpa.screen: QXcbConnection: Could not connect to display analytics-lab:10.0
Could not connect to any X display.


I have already opened a bug on github for the same. https://github.com/facebook/prophet/issues/887



However, this issue seems more system configuration specific than fbprophet issue. Since I have seeing X11 connection rejected because of wrong authentication. error for long time.



I have already tried deleting the .Xauthority file from server and relogin with ssh -X user@host, but it did not solve the problem.



I have tried to the change the configuration as per suggestions mentioned here as well. X11/SSH issues "wrong authentication"



On server side



df -h
/dev/sdc1 50G 34G 14G 73% /


ls -l ~/.Xauthority
-rw------- 1 xxx xxx 50 Mar 15 00:35 /home/prashant/.Xauthority


grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes



On client side:



Host *
ForwardX11 yes


There is no quota on the server.



I have also tried setting DISPLAY=0 as suggested at many places. But it also does not work.



Can anyone suggest what might be causing this issue and how to fix it?



P.S. I see this message even when I exit vim and I also can't open any gui based output. It failed with the same error.
P.S. Ubuntu 14.04







ssh sshd x11-forwarding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago







princethewinner

















asked 5 hours ago









princethewinnerprincethewinner

41227




41227













  • What OS and which X server is running on the system from which you are SSHing from?

    – steeldriver
    3 hours ago



















  • What OS and which X server is running on the system from which you are SSHing from?

    – steeldriver
    3 hours ago

















What OS and which X server is running on the system from which you are SSHing from?

– steeldriver
3 hours ago





What OS and which X server is running on the system from which you are SSHing from?

– steeldriver
3 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125708%2fx11-connection-rejected-because-of-wrong-authentication%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125708%2fx11-connection-rejected-because-of-wrong-authentication%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

香粉寮

GameSpot