Cannot export my Display

Hello everyone,

I am currently using my VM installed on my Mac and using a Cluster connected to a GTX 1050Ti. I want to display some graphics and cannot do so. Here the code appearing even when I try to execute a graphic from the cuda samples library.

[./marchingCubes] - Starting…
GPU Device 0: “GeForce GTX 1050 Ti” with compute capability 6.1

grid: 32 x 32 x 32 = 32768 voxels
max verts = 102400
Read ‘./data/Bucky.raw’, 32768 bytes
CUDA error at marchingCubes.cpp:485 code=999(cudaErrorUnknown) “cudaGraphicsGLRegisterBuffer(&cuda_posvbo_resource, posVbo, cudaGraphicsMapFlagsWriteDiscard)”

Could someone help me please understand this issue? Thank you

graphics interop samples such as the one you are running require special handling to see the display output in a remote setting. Simply using X-forwarding is not sufficient.

You can read about it here:


Thank you for your answer but it still doesn’t work even if I fell I did everything I could as told in le link you sent me… Any more suggestions ? Or could you explain it to me maybe in an easier way please ? (I am a newbie in informatics)

Thank you !

No I don’t have any further suggestions. Its the only way I know of to do it. And yes it is fairly complicated.

Hello !

Today a new problem came up :
CUDA Recursive Gaussian Starting…

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.

Loaded ‘./data/lena.ppm’, 512 x 512 pixels
X11 connection rejected because of wrong authentication.
freeglut (./recursiveGaussian): failed to open display ‘localhost:10.0’

Any suggestions please ? I am completely lost !