Problemas ao usar SSH

Discussão sobre linux para plataformas Intel x86 ou x64 (PC)

Moderadores: 51, guest2003, Renie, gpenga

Problemas ao usar SSH

Mensagempor albertorcneto » 15 Mai 2009 10:36

Bom, eu rodo WinXP com Cygwin e openGL instalado e consigo conectar via SSH em um servidor Solaris. Bom, ate ai tudo bem. So que preciso usar um programa (COMSOL) que exige:

J3D
JDK-1.5 ou superior
OpenGL 1.3 ou superior

Nos terminais locais consegui colocar pra funcionar ontem (Tive que atualizar o JDK e o OpenGL e rebootar o servidor X). O problema eh que nao consigo acessar remotamente via CygWin ou via Ubuntu (da uma mensagem que o OpenGL nao eh "fully supported" quando tenta acessar alguma coisa com "Canvas3d").

Qual deve ser o problema?
"Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own set of laws" ~ Douglas Adams
albertorcneto
Byte
 
Mensagens: 269
Registrado em: 28 Mar 2007 14:08

Mensagempor msamsoniuk » 15 Mai 2009 13:07

o que vc chama de terminais locais? sao terminais X conectados via ethernet no solaris? ou sao maquinas que rodam a aplicacao local na propria maquina?
Avatar do usuário
msamsoniuk
Dword
 
Mensagens: 2935
Registrado em: 13 Out 2006 18:04

Mensagempor albertorcneto » 18 Mai 2009 02:19

Sao terminais X conectados via ethernet no solaris. Existem 2 servidores: um so para "apoiar" os terminais (eh o servidor X para todas os terminais) e o outro que roda as aplicacoes.

Marcelo Samsoniuk escreveu:o que vc chama de terminais locais? sao terminais X conectados via ethernet no solaris? ou sao maquinas que rodam a aplicacao local na propria maquina?
"Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own set of laws" ~ Douglas Adams
albertorcneto
Byte
 
Mensagens: 269
Registrado em: 28 Mar 2007 14:08

Mensagempor polesapart » 18 Mai 2009 16:36

Roda um "glxinfo" quando conectado num dos terminais e posta o resultado aqui pra gente... aproveita e faz um "xdpyinfo" tbm.
Warning: time of day goes back (-163479us), taking countermeasures. :)
Avatar do usuário
polesapart
Byte
 
Mensagens: 477
Registrado em: 19 Nov 2007 12:56
Localização: Curitiba

Mensagempor msamsoniuk » 18 Mai 2009 17:06

os terminais que funcionam e os que nao funcionam sao do mesmo tipo? eu acho que o X no cygwin nao suporta opengl.

albertorcneto escreveu:Sao terminais X conectados via ethernet no solaris. Existem 2 servidores: um so para "apoiar" os terminais (eh o servidor X para todas os terminais) e o outro que roda as aplicacoes.

Marcelo Samsoniuk escreveu:o que vc chama de terminais locais? sao terminais X conectados via ethernet no solaris? ou sao maquinas que rodam a aplicacao local na propria maquina?
Avatar do usuário
msamsoniuk
Dword
 
Mensagens: 2935
Registrado em: 13 Out 2006 18:04

Mensagempor albertorcneto » 19 Mai 2009 07:00

Com um programa chamado XWinLogon eu *quase* consegui. O programa abriu e ate calcula legal, mas nao mostra qual eh o resultado.

Esse programa XWinLogon eh um Cygwin/X com supporte a OpenGL. Mas a pagina dele nao diz quais os packages a mais do que o Cygwin que foram instalados. Ele mostra tudo, menos a imagem que deveria aparecer.

Eh assim:
Imagem



Mas deveria ser assim:
Imagem

Com o XWin32 eu consegui numa boa, mas tava querendo evitar gastar mais 300 dolares nisso (so o programa ja foi uma boa facada).

Isso eh o que aparece na janela de output:
Código: Selecionar todos
/usr/X11R6/bin/XWin_GL :0 -clipboard -trayicon -bs -mwextwm

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 994 depth: 32
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
glWinInitVisuals:1472: glWinInitVisuals
glWinInitVisualConfigs:1379: glWinInitVisualConfigs glWinSetVisualConfigs:1457:
glWinSetVisualConfigs
init_visuals:918: init_visuals
MIT-SHM extension disabled due to lack of kernel support
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
glWinScreenProbe:1266: glWinScreenProbe
init_screen_visuals:1199: init_screen_visuals
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000407" (00000407)
(--) Using preset keyboard for "German (Germany)" (407), type "4"
Rules = "xorg" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null
)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
 list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
 list!
glWinRealizeWindow:700: glWinRealizeWindow
winPointerWarpCursor - Discarding first warp: 640 497
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - Locale not supported by X.  Exiting.
glWinRealizeWindow:700: glWinRealizeWindow
glWinRealizeWindow:700: glWinRealizeWindow
glWinRealizeWindow:700: glWinRealizeWindow
glWinRealizeWindow:700: glWinRealizeWindow
glWinCopyWindow:763: glWinCopyWindow - passing to hw layer
glWinUnrealizeWindow:779: glWinUnrealizeWindow
glWinUnrealizeWindow:779: glWinUnrealizeWindow
glWinUnrealizeWindow:779: glWinUnrealizeWindow
glWinCreateContext:668: glWinCreateContext
glWinCreateContext:687: glWinCreateContext done
glWinCreateBuffer:1353: glWinCreateBuffer
attach:365: attach (ctx 0x0)
attach:384: attached
glWinSetVisualConfigs
init_visuals:918: init_visuals
MIT-SHM extension disabled due to lack of kernel support
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
glWinScreenProbe:1266: glWinScreenProbe
fixup_visuals:1166: fixup_visuals
init_screen_visuals:1199: init_screen_visuals
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000407" (00000407)
(--) Using preset keyboard for "German (Germany)" (407), type "4"
Rules = "xorg" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null
)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
 list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
 list!
glWinRealizeWindow:700: glWinRealizeWindow
"Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own set of laws" ~ Douglas Adams
albertorcneto
Byte
 
Mensagens: 269
Registrado em: 28 Mar 2007 14:08

Mensagempor albertorcneto » 19 Mai 2009 07:17

Pensei que fosse a versao do OpenGL (o programa precisa de no minimo versao 1.3) mas tentei no meu notebook, que informa pelo glxinfo que usa a versao 2.1 do OpenGL, e nao consegui do mesmo jeito.

Sera que com a versao 9.04 do Ubuntu ajudaria? Ou seria so mais uma perda de tempo?

Comandos no Ubuntu 8.10:

Código: Selecionar todos
rodrig@ubuntu:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGI_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_visual_select_group
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Rage 128 20051027 AGP 1x x86/MMX+/3DNow!+
OpenGL version string: 1.2 Mesa 7.2
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_texture_compression, GL_ARB_texture_env_add,
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_buffer_object, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_object,
    GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texgen_reflection,
    GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod

3 GLX Visuals
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x3c 32 tc  0 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None

16 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x3d  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x3e  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x3f  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x40  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x41  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x42  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x43  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x44  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x45  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x46  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x47  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x48  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x49  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x4a  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x4b  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x4c  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow

rodrig@ubuntu:~$ xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    10502000
X.Org version: 1.5.2
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x300000b, revert to Parent
number of extensions:    31
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    GLX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-DRI
    XFree86-Misc
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1600x1200 pixels (363x272 millimeters)
  resolution:    112x112 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x4e
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfa8033
    KeyPressMask             KeyReleaseMask           EnterWindowMask         
    LeaveWindowMask          ExposureMask             StructureNotifyMask     
    SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask         
    PropertyChangeMask       ColormapChangeMask       
  number of visuals:    3
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3c
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
rodrig@ubuntu:~$


polesapart escreveu:Roda um "glxinfo" quando conectado num dos terminais e posta o resultado aqui pra gente... aproveita e faz um "xdpyinfo" tbm.
[/code]
"Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own set of laws" ~ Douglas Adams
albertorcneto
Byte
 
Mensagens: 269
Registrado em: 28 Mar 2007 14:08


Voltar para Linux ( x86 ou x64 )

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante

x