<div dir="ltr">The "-X" vs "-Y" doesn't mean encrypted vs. non-encrypted. See the ssh man page here:<div><br></div><div><a href="https://man.openbsd.org/ssh">https://man.openbsd.org/ssh</a><div><br></div><div>Specifically: -Y Enables trusted X11 forwarding.</div><div><br></div><div>The "-Y" gives the client access to the GPU, and is necessary for all but the most basic rendering. I'm not sure if putty provides this option, since I do nearly all of my work on Linux or Mac.</div><div><br></div><div> - David</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 11, 2017 at 7:52 AM, Sophonet <span dir="ltr"><<a href="mailto:vtk12af6bc42@kant.sophonet.de" target="_blank">vtk12af6bc42@kant.sophonet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, well, I am using a Windows machine and putty. Putty has an option in it's configuration dialog. I don't know whether the X connection is encrypted (-X) or not (-Y).<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 2017-08-11 14:31, David Gobbi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How are you doing the X11 forwarding? Are you using "ssh -Y"?<br>
<br>
On Fri, Aug 11, 2017 at 6:20 AM, Sophonet<br>
<<a href="mailto:vtk12af6bc42@kant.sophonet.de" target="_blank">vtk12af6bc42@kant.sophonet.de</a><wbr>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list,<br>
<br>
an application using VTK 8.0.0 and Qt 5.9.1 (built with -opengl<br>
desktop) does not start correctly (using X11 forwarding). After<br>
displaying an error message "failed to get the current screen<br>
resources", there is another error message<br>
<br>
vtkXOpenGLRenderWindow (0x55f891d77a80): GL version 2.1 with the<br>
gpu_shader4 extension is not supported by your graphics driver but<br>
is required for the new OpenGL rendering backend. Please update your<br>
OpenGL driver. If you are using Mesa please make sure you have<br>
version 10.6.5 or later and make sure your driver in Mesa supports<br>
OpenGL 3.2.<br>
<br>
However, my Ubuntu 17.04 system has Mesa 17.0.7, glxgears works fine<br>
(using X11 forwarding) and glxinfo shows (among other things) the<br>
correct driver - see below, so I am a bit puzzled what is going on.<br>
Any hints?<br>
<br>
Thanks,<br>
<br>
sophonet<br>
<br>
P.S.: The first call in my application's main() function is<br>
QSurfaceFormat::setDefaultForm<wbr>at, see below. The same application<br>
runs fine and without problems on Windows.<br>
<br>
#if QT_VERSION >= 0x050500<br>
// before initializing QApplication, set the default surface<br>
format, see documentation<br>
<br>
QSurfaceFormat::setDefaultForm<wbr>at(QVTKOpenGLWidget::defaultFo<wbr>rmat());<br>
#endif<br>
<br>
GLX version: 1.2<br>
GLX extensions:<br>
GLX_ARB_get_proc_address, GLX_ARB_multisample,<br>
GLX_EXT_import_context,<br>
GLX_EXT_visual_info, GLX_EXT_visual_rating,<br>
GLX_MESA_multithread_makecurre<wbr>nt, GLX_MESA_query_renderer,<br>
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,<br>
GLX_SGI_make_current_read<br>
Extended renderer info (GLX_MESA_query_renderer):<br>
Vendor: VMware, Inc. (0xffffffff)<br>
Device: llvmpipe (LLVM 4.0, 128 bits) (0xffffffff)<br>
Version: 17.0.7<br>
Accelerated: no<br>
Video memory: 3949MB<br>
Unified memory: no<br>
Preferred profile: core (0x1)<br>
Max core profile version: 3.3<br>
Max compat profile version: 3.0<br>
Max GLES1 profile version: 1.1<br>
Max GLES[23] profile version: 3.0<br>
OpenGL vendor string: VMware, Inc.<br>
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 4.0, 128 bits)<br>
OpenGL version string: 3.0 Mesa 17.0.7<br>
OpenGL shading language version string: 1.30<br>
</blockquote></blockquote></div></div><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>