Ho fatto qualche miglioramento in piu`
Facendo un po` di pulizia al mio Server, ho elimitato tutti i vari componenti di KDE che dipendevano da altri programmi che non mi interessano piu` cosi` ora ho soltanto GDM, GNOME ed i suoi componenti.
Dopo aver fatto cio`, ho configurato il server x11vnc sul Server e, poi, ho provato a connettermi, in remoto, via SSH e, dopo, ho provato a caricare, sulla macchina Windows XP, il viewer TightVNC per Windows XP e, miracolosamente, mi e` apparsa, sulla macchina Windows, il server X.Org del Server senza alcuna finesta d'errore. Ossia
- Codice: Seleziona tutto
PLUTO:~# cat /etc/inetd.conf
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet superserver configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#time stream tcp nowait root internal
#:STANDARD: These are standard services.
5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc.sh
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#:INFO: Info services
ident stream tcp wait identd /usr/sbin/identd identd
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#:OTHER: Other services
PLUTO:~#
PLUTO:~# cat /usr/local/bin/x11vnc.sh
#!/bin/sh
/usr/bin/x11vnc -inetd -create -localhost -auth /var/lib/gdm/:0.Xauth -noxdamage -rfbauth root/.vnc/passwd -capslock -forever -logfile /var/log/x11vnc.log
PLUTO:~#
PLUTO:~# cat /var/log/x11vnc.log
22/01/2008 18:59:36 x11vnc version: 0.9.3 lastmod: 2007-09-30
22/01/2008 18:59:36 wait_for_client: WAIT:cmd=FINDCREATEDISPLAY-Xvfb
22/01/2008 18:59:36 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/2560
22/01/2008 18:59:36
22/01/2008 18:59:36 other clients:
22/01/2008 18:59:36 check_access: client 127.0.0.1 matches host 127.0.0.1
22/01/2008 18:59:36 Client Protocol Version 3.5
22/01/2008 18:59:36 Protocol version sent 3.5, using 3.5
22/01/2008 18:59:36 wait_for_client: got client
22/01/2008 18:59:36 wait_for_client: running: env X11VNC_SKIP_DISPLAY='' /bin/sh /tmp/x11vnc-find_display.zA9NIQ
22/01/2008 18:59:37 wait_for_client: find display cmd failed
22/01/2008 18:59:37 wait_for_client: FINDCREATEDISPLAY cmd: /bin/sh /tmp/x11vnc-find_display.zA9NIQ Xvfb
trying N=20 ...
/usr/bin/startx /usr/bin/xterm -- /usr/bin/Xvfb :20 -screen 0 1280x1024x16 +kb -cc 4 -nolisten tcp -auth /tmp/.xas33637102
xauth: creating new authority file /.serverauth.3604
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
22/01/2008 18:59:42 Using X display :20
22/01/2008 18:59:42
22/01/2008 18:59:42 ------------------ USEFUL INFORMATION ------------------
22/01/2008 18:59:42
22/01/2008 18:59:42 Wireframing: -wireframe mode is in effect for window moves.
22/01/2008 18:59:42 If this yields undesired behavior (poor response, painting
22/01/2008 18:59:42 errors, etc) it may be disabled:
22/01/2008 18:59:42 - use '-nowf' to disable wireframing completely.
22/01/2008 18:59:42 - use '-nowcr' to disable the Copy Rectangle after the
22/01/2008 18:59:42 moved window is released in the new position.
22/01/2008 18:59:42 Also see the -help entry for tuning parameters.
22/01/2008 18:59:42 You can press 3 Alt_L's (Left "Alt" key) in a row to
22/01/2008 18:59:42 repaint the screen, also see the -fixscreen option for
22/01/2008 18:59:42 periodic repaints.
22/01/2008 18:59:42
22/01/2008 18:59:42 XFIXES available on display, resetting cursor mode
22/01/2008 18:59:42 to: '-cursor most'.
22/01/2008 18:59:42 to disable this behavior use: '-cursor arrow'
22/01/2008 18:59:42 or '-noxfixes'.
22/01/2008 18:59:42 using XFIXES for cursor drawing.
22/01/2008 18:59:42 GrabServer control via XTEST.
22/01/2008 18:59:42
22/01/2008 18:59:42 Scroll Detection: -scrollcopyrect mode is in effect to
22/01/2008 18:59:42 use RECORD extension to try to detect scrolling windows
22/01/2008 18:59:42 (induced by either user keystroke or mouse input).
22/01/2008 18:59:42 If this yields undesired behavior (poor response, painting
22/01/2008 18:59:42 errors, etc) it may be disabled via: '-noscr'
22/01/2008 18:59:42 Also see the -help entry for tuning parameters.
22/01/2008 18:59:42 You can press 3 Alt_L's (Left "Alt" key) in a row to
22/01/2008 18:59:42 repaint the screen, also see the -fixscreen option for
22/01/2008 18:59:42 periodic repaints.
22/01/2008 18:59:42 warning: XKEYBOARD extension not present.
22/01/2008 18:59:42 warning: disabling bell. XKEYBOARD ext. not present.
22/01/2008 18:59:42 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":20.0".
22/01/2008 18:59:42 X display is not capable of DPMS.
22/01/2008 18:59:42 --------------------------------------------------------
22/01/2008 18:59:42
22/01/2008 18:59:42 Default visual ID: 0x23
22/01/2008 18:59:42 Read initial data from X display into framebuffer.
22/01/2008 18:59:42 initialize_screen: fb_depth/fb_bpp/fb_Bpl 16/16/2560
22/01/2008 18:59:42 rfbNewFramebuffer(0x82dd8b8, 0x0, 1280, 1024, 5, 1, 2)
22/01/2008 18:59:42 Pixel format for client 127.0.0.1:
22/01/2008 18:59:42 32 bpp, depth 24, little endian
22/01/2008 18:59:42 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
22/01/2008 18:59:42
22/01/2008 18:59:42 X display :20.0 is 16bpp depth=16 true color
22/01/2008 18:59:42
22/01/2008 18:59:42 calling setTranslateFunction()...
22/01/2008 18:59:42 Pixel format for client 127.0.0.1:
22/01/2008 18:59:42 32 bpp, depth 24, little endian
22/01/2008 18:59:42 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
22/01/2008 18:59:42 done.
22/01/2008 18:59:42 TS_REDIR is empty, restarting...
22/01/2008 18:59:42 fb read rate: 321 MB/sec
22/01/2008 18:59:42 screen setup finished.
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
more info: http://www.karlrunge.com/x11vnc/#faq-client-caching
22/01/2008 18:59:42 Battling with something for -norepeat!! (1 resets left)
22/01/2008 18:59:42 Disabled X server key autorepeat.
22/01/2008 18:59:42 to force back on run: 'xset r on' (2 times)
22/01/2008 18:59:52 cutbuffer_send: no send: uninitialized clients
22/01/2008 19:00:08 Pixel format for client 127.0.0.1:
22/01/2008 19:00:08 16 bpp, depth 16, little endian
22/01/2008 19:00:08 true colour: max r 31 g 63 b 31, shift r 11 g 5 b 0
22/01/2008 19:00:08 no translation needed
22/01/2008 19:00:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type zlibhex
22/01/2008 19:00:08 Enabling X-style cursor updates for client 127.0.0.1
22/01/2008 19:00:08 Enabling full-color cursor updates for client 127.0.0.1
22/01/2008 19:00:08 Enabling cursor position updates for client 127.0.0.1
22/01/2008 19:00:08 Using image quality level 6 for client 127.0.0.1
22/01/2008 19:00:08 Enabling LastRect protocol extension for client 127.0.0.1
22/01/2008 19:00:08 Enabling NewFBSize protocol extension for client 127.0.0.1
22/01/2008 19:00:08 Using tight encoding for client 127.0.0.1
22/01/2008 19:05:24 idle keyboard: turning X autorepeat back on.
PLUTO:~#
e il server X.Org, che appare sulla macchina Windows XP, e`
Ora, ti volevo chiedere se gli errori visualizzati dal log del server x11vnc sono dovuti esclusivamente dal viewer VNC o e` possibile modificare/aggiungere qualche opzione del server x11vnc per eliminare tali errori?
In locale, si vede ancora il Login grafico GDM; mentre, in remoto, non si vede piu`. Come mai? E` possibile far apparire GDM anche per chi si collega in remoto?
GRAZIE
CIAO