Problems with X-forwarding and nvidia driver for ssh -X

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I have just digged out a T430 Lenovo Notepad with a dockingstation. After installing the nvidia-384 driver through Settings > Software ... > Additional Drivers, I got it running on my 2 screen setup *yay!



However this is my office PC and I am accessing a Workstation as well. SSH does a perfect job, but if I try to forward spyder (for Python) to my machine, it would say:



libGL error: failed to load driver: swrast
Unrecognized OpenGL version


I then reinstalled mesa-utils



sudo apt install mesa-utils


and the error changed. Now, if I log into the server and start the program, I get



libGL error: failed to load driver: swrast
[17689:17737:0412/162127.329691:ERROR:gl_context_glx.cc(240)] Couldn't make context current with X drawable.


The starting window of spyder will pop to the screen but get's stuck afterwards.
Setting



unset LC_ALL


like supposed for some gaming-issues did not solve the problem.



I did some copy-pasting, but I do not understand the problem anymore and instead of messing up my Ubuntu, I decided to ask you for help.
Appreciate any comments.



Thanks in advance!










share|improve this question























  • Do programs like xclock forward? Maybe spyder is not an X program.
    – ubfan1
    Apr 12 at 15:45










  • You're right @ubfan1. xlcock works fine, but Spyder does on other machines without the nvidia graphic cards as well. Any idea, where the problem could be?
    – Gabriel
    Apr 12 at 19:22














up vote
2
down vote

favorite












I have just digged out a T430 Lenovo Notepad with a dockingstation. After installing the nvidia-384 driver through Settings > Software ... > Additional Drivers, I got it running on my 2 screen setup *yay!



However this is my office PC and I am accessing a Workstation as well. SSH does a perfect job, but if I try to forward spyder (for Python) to my machine, it would say:



libGL error: failed to load driver: swrast
Unrecognized OpenGL version


I then reinstalled mesa-utils



sudo apt install mesa-utils


and the error changed. Now, if I log into the server and start the program, I get



libGL error: failed to load driver: swrast
[17689:17737:0412/162127.329691:ERROR:gl_context_glx.cc(240)] Couldn't make context current with X drawable.


The starting window of spyder will pop to the screen but get's stuck afterwards.
Setting



unset LC_ALL


like supposed for some gaming-issues did not solve the problem.



I did some copy-pasting, but I do not understand the problem anymore and instead of messing up my Ubuntu, I decided to ask you for help.
Appreciate any comments.



Thanks in advance!










share|improve this question























  • Do programs like xclock forward? Maybe spyder is not an X program.
    – ubfan1
    Apr 12 at 15:45










  • You're right @ubfan1. xlcock works fine, but Spyder does on other machines without the nvidia graphic cards as well. Any idea, where the problem could be?
    – Gabriel
    Apr 12 at 19:22












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have just digged out a T430 Lenovo Notepad with a dockingstation. After installing the nvidia-384 driver through Settings > Software ... > Additional Drivers, I got it running on my 2 screen setup *yay!



However this is my office PC and I am accessing a Workstation as well. SSH does a perfect job, but if I try to forward spyder (for Python) to my machine, it would say:



libGL error: failed to load driver: swrast
Unrecognized OpenGL version


I then reinstalled mesa-utils



sudo apt install mesa-utils


and the error changed. Now, if I log into the server and start the program, I get



libGL error: failed to load driver: swrast
[17689:17737:0412/162127.329691:ERROR:gl_context_glx.cc(240)] Couldn't make context current with X drawable.


The starting window of spyder will pop to the screen but get's stuck afterwards.
Setting



unset LC_ALL


like supposed for some gaming-issues did not solve the problem.



I did some copy-pasting, but I do not understand the problem anymore and instead of messing up my Ubuntu, I decided to ask you for help.
Appreciate any comments.



Thanks in advance!










share|improve this question















I have just digged out a T430 Lenovo Notepad with a dockingstation. After installing the nvidia-384 driver through Settings > Software ... > Additional Drivers, I got it running on my 2 screen setup *yay!



However this is my office PC and I am accessing a Workstation as well. SSH does a perfect job, but if I try to forward spyder (for Python) to my machine, it would say:



libGL error: failed to load driver: swrast
Unrecognized OpenGL version


I then reinstalled mesa-utils



sudo apt install mesa-utils


and the error changed. Now, if I log into the server and start the program, I get



libGL error: failed to load driver: swrast
[17689:17737:0412/162127.329691:ERROR:gl_context_glx.cc(240)] Couldn't make context current with X drawable.


The starting window of spyder will pop to the screen but get's stuck afterwards.
Setting



unset LC_ALL


like supposed for some gaming-issues did not solve the problem.



I did some copy-pasting, but I do not understand the problem anymore and instead of messing up my Ubuntu, I decided to ask you for help.
Appreciate any comments.



Thanks in advance!







nvidia ssh xserver x-forwarding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 12 at 15:10

























asked Apr 12 at 14:33









Gabriel

112




112











  • Do programs like xclock forward? Maybe spyder is not an X program.
    – ubfan1
    Apr 12 at 15:45










  • You're right @ubfan1. xlcock works fine, but Spyder does on other machines without the nvidia graphic cards as well. Any idea, where the problem could be?
    – Gabriel
    Apr 12 at 19:22
















  • Do programs like xclock forward? Maybe spyder is not an X program.
    – ubfan1
    Apr 12 at 15:45










  • You're right @ubfan1. xlcock works fine, but Spyder does on other machines without the nvidia graphic cards as well. Any idea, where the problem could be?
    – Gabriel
    Apr 12 at 19:22















Do programs like xclock forward? Maybe spyder is not an X program.
– ubfan1
Apr 12 at 15:45




Do programs like xclock forward? Maybe spyder is not an X program.
– ubfan1
Apr 12 at 15:45












You're right @ubfan1. xlcock works fine, but Spyder does on other machines without the nvidia graphic cards as well. Any idea, where the problem could be?
– Gabriel
Apr 12 at 19:22




You're right @ubfan1. xlcock works fine, but Spyder does on other machines without the nvidia graphic cards as well. Any idea, where the problem could be?
– Gabriel
Apr 12 at 19:22















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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1024386%2fproblems-with-x-forwarding-and-nvidia-driver-for-ssh-x%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024386%2fproblems-with-x-forwarding-and-nvidia-driver-for-ssh-x%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error