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

Clash 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!
nvidia ssh xserver x-forwarding
add a comment |Â
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!
nvidia ssh xserver x-forwarding
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
add a comment |Â
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!
nvidia ssh xserver x-forwarding
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
nvidia ssh xserver x-forwarding
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1024386%2fproblems-with-x-forwarding-and-nvidia-driver-for-ssh-x%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
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