The Nvidia Jetson device can not be remotely connected with my laptop computer
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Liwei
el 20 de Dic. de 2022
Comentada: Ramakrishna Mandalapu
el 25 de Mayo de 2023
I tried to connect nvidia device (sitting in one of plants far away from my laptop) with my laptop with our company network. it shows the error below. Do you know how to fix this issue?
*************************************
Error using nvidiaio.internal.launchServer
Specified user name must belong to the sudoer group.
Error in nvidiaboard/connectToServer
Error in nvidiaboard/initiatePeripheralAccess
Error in nvidiaboard/checkAndGetHardwareConfig
Error in jetson
***********************************
I then went to the file LauchServer.m (under MATLAB\SupportPackages\R2022b\toolbox\target\Supportpackages\nivida\+nvidiaio\+internal\launchServer.m to make the file change below. it worked. Do u see any side effect by making the change?
from
*******************************
userIsSudoer = true; %#ok<NASGU>
userIsSudoer = nvidiacoder.internal.isUserSudoer(obj);
if ~userIsSudoer
error(message('nvidia:utils:UserNotSudoer'));
end
***********
to
*************
userIsSudoer = true; %#ok<NASGU>
userIsSudoer = nvidiacoder.internal.isUserSudoer(obj);
if ~userIsSudoer
userIsSudoer = true; %#ok<NASGU>
userIsSudoer = nvidiacoder.internal.isUserSudoer(obj);
% error(message('nvidia:utils:UserNotSudoer'));
end
*******************
0 comentarios
Respuesta aceptada
Hariprasad Ravishankar
el 20 de Dic. de 2022
While you were able to workaround the error temporarily by commenting out the code, MATLAB still needs sudo permissions in order to perform tasks such as code execution remotely on the NVIDIA device.
I would recommend adding your username to the sudoers list in the NVIDIA device you are trying to deploy to. Here is an example I found on the web:
You can then revert the change you made to launchServer.m.
Hari
5 comentarios
Anoop George
el 24 de Mayo de 2023
Thanks a lot! Directly using the direct display, as suggested by you solved the issue.
Earlier I was using RDP Client (Remote Desktop Connection App).
Best regards
Anoop
Ramakrishna Mandalapu
el 25 de Mayo de 2023
Hi Anoop,
Glad to know that it resolved the issue. Happy coding!
Thanks,
Ramakrishna
Más respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!