Punto informatico Network
Login Esegui login | Non sei registrato? Iscriviti ora (è gratuito!)
Username: Password:
  • Annuncio Pubblicitario

Accesso da remoto di X non va piu`

Il forum riservato agli amici del Pinguino e al software libero.

Accesso da remoto di X non va piu`

Messaggioda balubeto » gio giu 07, 2007 2:12 pm

CIAO

Dopo l'aggiornamento di sicurezza di Debian Lenny Testing, non riesco piu` a controllare X.Org da remoto mediante una macchina Windows.

Ho notato che, se tolgo il display manager GDM ed avvio dalla macchina Windows un collegamento SSH verso la macchina Linux, digitando startx dalla shell, mi carica l'X-Server ma, poi, quando provo a controllarlo mediante un VNC Viewer, sulla shell remota, mi appare la scritta "AUDIT: Thu Jun 7 10:28:47 2007: 3184 X: client 21 rejected from local host" .

Inoltre, ho notato che, facendo partire GDM all'avvio di Linux, riesco ad accedere da remoto ad esso ma non riesco ne` a scrivere la Login ne` ad attivare i vari menu`.

Come posso risolvere questo problema?

GRAZIE

CIAO
Balubeto

Su Facebook, e` nato il gruppo SoftHard per tutti http://www.facebook.com/group.php?gid=52641062213&ref=nf . Vi aspetto.
Avatar utente
balubeto
Senior Member
Senior Member
 
Messaggi: 434
Iscritto il: ven apr 20, 2007 12:17 pm

Messaggioda balubeto » ven giu 08, 2007 5:51 pm

Ho anche notato che, eliminando il GDM e facendo partire l'X-Server da una shell SSH remota con il comando startx, scrivendo [i]/usr/bin/x11vnc -display :0 -localhost -rfbauth root/.vnc/passwd -forever -logfile /var/log/x11vnc.log -bg[i], ottengo questo log quando tento di connettermi con un VNC Viewer:

Codice: Seleziona tutto
PLUTO:~/.vnc# cat /var/log/x11vnc.log       
07/06/2007 18:42:17 passing arg to libvncserver: -rfbauth
07/06/2007 18:42:17 passing arg to libvncserver: root/.vnc/passwd

Settings:
 display:    :0
 authfile:   null
 subwin:     0x0
 -sid mode:  0
 clip:       null
 flashcmap:  0
 shiftcmap:  0
 force_idx:  0
 cmap8to24:  0
 8to24_opts: null
 24to32:     0
 visual:     null
 overlay:    0
 ovl_cursor: 1
 scaling:    0 1.0000
 viewonly:   0
 shared:     0
 conn_once:  0
 timeout:    0
 inetd:      0
 filexfer:   1
 http:       0
 connect:    null
 connectfile null
 vnc_conn:   1
 allow:      127.0.0.1
 input:      null
 passfile:   null
 unixpw:     0
 unixpw_lst: null
 stunnel:    0
 accept:     null
 accept:     null
 gone:       null
 users:      null
 using_shm:  1
 flipbytes:  0
 onetile:    0
 solid:      null
 blackout:   null
 xinerama:   1
 xtrap:      0
 xrandr:     0
 xrandrmode: null
 padgeom:    null
 logfile:    /var/log/x11vnc.log
 logappend:  0
 flag:       null
 rc_file:    ""
 norc:       0
 dbg:        0
 bg:         1
 mod_tweak:  1
 isolevel3:  0
 xkb:        0
 skipkeys:   null
 sloppykeys: 0
 skip_dups:  0
 addkeysyms: 1
 xkbcompat:  0
 clearmods:  0
 remap:      null
 norepeat:   1
 norepeatcnt:2
 nofb:       0
 watchbell:  1
 watchsel:   1
 watchprim:  1
 seldir:     null
 cursor:     1
 multicurs:  0
 curs_mode:  null
 arrow:      1
 xfixes:     1
 alphacut:   240
 alphafrac:  0.33
 alpharemove:0
 alphablend: 1
 cursorshape:1
 cursorpos:  1
 xwarpptr:   0
 buttonmap:  null
 dragging:   1
 wireframe:  0xff,3,0,32+8+8+8,all,0.15+0.30+5.0+0.125
 wirecopy:   always
 scrollcopy: always
  scr_area:  60000
  scr_skip:  ##Soffice.bin,##StarOffice
  scr_inc:   ##Nomatch
  scr_keys:  null
  scr_term:  null
  scr_keyrep: null
  scr_parms: 0+64+32+32,0.02+0.10+0.9,0.03+0.06+0.5+0.1+5.0
 fixscreen:  null
 noxrecord:  0
 grabbuster: 0
 ptr_mode:   2
 inputskip:  10
 speeds:     null
 wmdt:       null
 debug_ptr:  0
 debug_key:  0
 defer:      30
 waitms:     30
 wait_ui:    2.00
 nowait_bog: 0
 slow_fb:    0.00
 readtimeout: 20
 take_naps:  1
 sb:         60
 fbpm:       1
 xdamage:    1
  xd_area:   20000
  xd_mem:    1.000
 sigpipe:    null
 threads:    0
 fs_frac:    0.75
 gaps_fill:  4
 grow_fill:  3
 tile_fuzz:  2
 snapfb:     0
 rawfb:      null
 pipeinput:  null
 gui:        0
 gui_mode:   null
 noremote:   0
 unsafe:     0
 privremote: 0
 safer:      0
 nocmds:     0
 deny_all:   0
 pid:        3373

07/06/2007 18:42:17 x11vnc version: 0.8.2 lastmod: 2006-07-12
07/06/2007 18:42:17 Using X display :0
07/06/2007 18:42:17
07/06/2007 18:42:17 ------------------ USEFUL INFORMATION ------------------
07/06/2007 18:42:17 X DAMAGE available on display, using it for polling hints.
07/06/2007 18:42:17   To disable this behavior use: '-noxdamage'
07/06/2007 18:42:17 Wireframing: -wireframe mode is in effect for window moves.
07/06/2007 18:42:17   If this yields undesired behavior (poor response, painting
07/06/2007 18:42:17   errors, etc) it may be disabled:
07/06/2007 18:42:17    - use '-nowf' to disable wireframing completely.
07/06/2007 18:42:17    - use '-nowcr' to disable the Copy Rectangle after the
07/06/2007 18:42:17      moved window is released in the new position.
07/06/2007 18:42:17   Also see the -help entry for tuning parameters.
07/06/2007 18:42:17   You can press 3 Alt_L's (Left "Alt" key) in a row to
07/06/2007 18:42:17   repaint the screen, also see the -fixscreen option for
07/06/2007 18:42:17   periodic repaints.
07/06/2007 18:42:17 XFIXES available on display, resetting cursor mode
07/06/2007 18:42:17   to: '-cursor most'.
07/06/2007 18:42:17   to disable this behavior use: '-cursor arrow'
07/06/2007 18:42:17   or '-noxfixes'.
07/06/2007 18:42:17 using XFIXES for cursor drawing.
07/06/2007 18:42:17 GrabServer control via XTEST.
Xlib:  extension "RECORD" missing on display ":0.0".
07/06/2007 18:42:17 XKEYBOARD: all 28 "must have" keysyms accounted for.
07/06/2007 18:42:17   Not automatically switching to -xkb mode.
07/06/2007 18:42:17   If some keys still cannot be typed, try using -xkb.
07/06/2007 18:42:17   Also, remember "-remap DEAD" for accenting characters.
07/06/2007 18:42:17 X FBPM extension not supported.
07/06/2007 18:42:17 --------------------------------------------------------
07/06/2007 18:42:17
07/06/2007 18:42:17 Default visual ID: 0x23
07/06/2007 18:42:17 Read initial data from X display into framebuffer.
07/06/2007 18:42:17 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
-permitfiletransfer    permit file transfer support
07/06/2007 18:42:17
07/06/2007 18:42:17 X display :0.0 is 32bpp depth=24 true color

FrameBuffer Info:
 width:            1280
 height:           800
 scaled_width:     1280
 scaled_height:    800
 indexed_color:    0
 bits_per_pixel:   32
 depth:            24
 red_mask:   0x00ff0000  00000000111111110000000000000000
 green_mask: 0x0000ff00  00000000000000001111111100000000
 blue_mask:  0x000000ff  00000000000000000000000011111111
 red:   max: 255  shift: 16
 green: max: 255  shift:  8
 blue:  max: 255  shift:  0
 mainfb_bytes_per_line: 5120
 rfb_fb_bytes_per_line: 5120
 format:     ZPixmap
 byte_order: LSBFirst
 bitmap_pad:  32
 bitmap_unit: 32
 bitmap_bit_order: LSBFirst
 rfb_fb:      0xb7884008
 main_fb:     0xb7884008
 8to24_fb:    (nil)
 snap_fb:     (nil)
 raw_fb:      (nil)
 fake_fb:     (nil)

07/06/2007 18:42:17 setting up 32 cursors...
07/06/2007 18:42:17   done.
07/06/2007 18:42:17
07/06/2007 18:42:17 Autoprobing TCP port
07/06/2007 18:42:17 Autoprobing selected port 5900
07/06/2007 18:42:17 Xinerama: disabling: display does not support it.
07/06/2007 18:42:17 created 40 tile_row shm polling images.
07/06/2007 18:42:18 fb read rate: 15 MB/sec
07/06/2007 18:42:18 screen setup finished.
07/06/2007 18:42:18
The VNC desktop is:      localhost:0
07/06/2007 18:42:57 Got connection from client 127.0.0.1
07/06/2007 18:42:57   other clients:
07/06/2007 18:42:57 check_access: client 127.0.0.1 matches host 127.0.0.1
07/06/2007 18:42:57 Disabled X server key autorepeat.
07/06/2007 18:42:57   to force back on run: 'xset r on' (3 times)
07/06/2007 18:42:57 created xdamage object: 0x2a0002c
07/06/2007 18:42:57 Client Protocol Version 3.5
07/06/2007 18:42:57 Protocol version sent 3.5, using 3.5
07/06/2007 18:42:57 Couldn't read password file: root/.vnc/passwd
07/06/2007 18:42:57 rfbAuthProcessClientMessage: password check failed
07/06/2007 18:42:57 client_count: 0
07/06/2007 18:42:57 Restored X server key autorepeat to: 1
07/06/2007 18:42:57 Client 127.0.0.1 gone
07/06/2007 18:42:57 Statistics             events    Transmit/ RawEquiv ( saved)
07/06/2007 18:42:57  TOTALS              :      0 |         0/        0 (  0.0%)
07/06/2007 18:42:57 Statistics             events    Received/ RawEquiv ( saved)
07/06/2007 18:42:57  TOTALS              :      0 |         0/        0 (  0.0%)
07/06/2007 18:42:57 destroyed xdamage object: 0x2a0002c
07/06/2007 18:43:00 Got connection from client 127.0.0.1
07/06/2007 18:43:00   other clients:
07/06/2007 18:43:00 check_access: client 127.0.0.1 matches host 127.0.0.1
07/06/2007 18:43:00 Disabled X server key autorepeat.
07/06/2007 18:43:00   to force back on run: 'xset r on' (3 times)
07/06/2007 18:43:00 created xdamage object: 0x2a0002d
07/06/2007 18:43:00 Client Protocol Version 3.5
07/06/2007 18:43:00 Protocol version sent 3.5, using 3.5
07/06/2007 18:43:01 Couldn't read password file: root/.vnc/passwd
07/06/2007 18:43:01 rfbAuthProcessClientMessage: password check failed
07/06/2007 18:43:01 client_count: 0
07/06/2007 18:43:01 Restored X server key autorepeat to: 1
07/06/2007 18:43:01 Client 127.0.0.1 gone
07/06/2007 18:43:01 Statistics             events    Transmit/ RawEquiv ( saved)
07/06/2007 18:43:01  TOTALS              :      0 |         0/        0 (  0.0%)
07/06/2007 18:43:01 Statistics             events    Received/ RawEquiv ( saved)
07/06/2007 18:43:01  TOTALS              :      0 |         0/        0 (  0.0%)
07/06/2007 18:43:01 destroyed xdamage object: 0x2a0002d
07/06/2007 18:43:02 Got connection from client 127.0.0.1
07/06/2007 18:43:02   other clients:
07/06/2007 18:43:02 check_access: client 127.0.0.1 matches host 127.0.0.1
07/06/2007 18:43:02 Disabled X server key autorepeat.
07/06/2007 18:43:02   to force back on run: 'xset r on' (3 times)
07/06/2007 18:43:02 created xdamage object: 0x2a0002e
07/06/2007 18:43:02 Client Protocol Version 3.5
07/06/2007 18:43:02 Protocol version sent 3.5, using 3.5
07/06/2007 18:43:02 Couldn't read password file: root/.vnc/passwd
07/06/2007 18:43:02 rfbAuthProcessClientMessage: password check failed
07/06/2007 18:43:02 client_count: 0
07/06/2007 18:43:02 Restored X server key autorepeat to: 1
07/06/2007 18:43:02 Client 127.0.0.1 gone
07/06/2007 18:43:02 Statistics             events    Transmit/ RawEquiv ( saved)
07/06/2007 18:43:02  TOTALS              :      0 |         0/        0 (  0.0%)
07/06/2007 18:43:02 Statistics             events    Received/ RawEquiv ( saved)
07/06/2007 18:43:02  TOTALS              :      0 |         0/        0 (  0.0%)
07/06/2007 18:43:02 destroyed xdamage object: 0x2a0002e


A quanto pare e` un problema di lettura della parola chiave . se fosse soltanto questo problema , come si puo` risolvere ? eppure non mi convince anche perche` prima di effettuare l` aggiornamento , tutto funzionava e perche` con GDM attivato riesco a far apparire questo DM in una finestra di Windows mediante lo stesso Viewer VNC con la stessa autentificazione ma poi non riesco afar nulla.

qual`e` l`inghippo?

grazie

ciao
Balubeto

Su Facebook, e` nato il gruppo SoftHard per tutti http://www.facebook.com/group.php?gid=52641062213&ref=nf . Vi aspetto.
Avatar utente
balubeto
Senior Member
Senior Member
 
Messaggi: 434
Iscritto il: ven apr 20, 2007 12:17 pm


Torna a Distribuzioni, Kernel e Software Applicativo

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

Powered by phpBB © 2002, 2005, 2007, 2008 phpBB Group
Traduzione Italiana phpBB.it

megalab.it: testata telematica quotidiana registrata al Tribunale di Cosenza n. 22/09 del 13.08.2009, editore Master New Media S.r.l.; © Copyright 2008 Master New Media S.r.l. a socio unico - P.I. 02947530784. GRUPPO EDIZIONI MASTER Spa Tutti i diritti sono riservati. Per la pubblicità: Master Advertising