[Lubuntu 13.10] x11vnc and UltraVNC

Non importa se ti serve una mano per partire o se vuoi un consiglio avanzato: gli utenti "del Pinguino" hanno una risposta per ogni necessità.
Regole del forum
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

[Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Ciao

In Windows 7 SP1 a 64 bit, uso UltraVNC viewer 1.1.9.6 a 64 bit con il plugin SecureVNCPlugin64.dsm .

Ora, ho un computer con Lubuntu 13.10 a 32 bit che esso ha installato il server x11vnc.

Come posso configurare tale server VNC in modo che io possa controllare remotamente questa macchina Linux completamente, compreso il suo Desktop Manager LightDM?

Grazie

Ciao
balubeto
System
System
Bot ufficiale TurboLab.it
Bot
Messaggi:
Iscritto il: sab dic 31, 2016 6:19 pm
Contatta: Contatta

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da System » sab mar 22, 2014 12:51 pm


Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Ciao

In Windows 7 SP1 a 64 bit, uso UltraVNC viewer 1.1.9.6 a 64 bit con il plugin SecureVNCPlugin64.dsm .

Ora, ho un computer con Lubuntu 13.10 a 32 bit che esso ha installato il server x11vnc.

Come posso configurare tale server VNC in modo che io possa controllare remotamente questa macchina Linux completamente, compreso il suo Display Manager LightDM?

Grazie

Ciao
balubeto
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Da Linux, ho scritto dal terminale:
sudo x11vnc -storepasswd /etc/x11vnc.pass
e, poi, ho creato, nella directory /etc/init, il file x11vnc.conf ed ho scritto:
start on login-session-start
script
/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /var/log/x11vnc.log
end script
ma, quando ho riavviato il computer, ho provato a collegarmi con UltraVNC senza il plugin SecureVNCPlugin64.dsm ma il server x11vnc non risponde e non mi crea nemmeno il file di log. Dove sbaglio?

Grazie

Ciao
balubeto
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Eseguendo questo comando dal terminale con il comando sudo in quanto c'e` l'opzione -o, ottengo:
25/03/2014 18:30:24 passing arg to libvncserver: -rfbauth
25/03/2014 18:30:24 passing arg to libvncserver: /etc/x11vnc.pass
25/03/2014 18:30:24 passing arg to libvncserver: -rfbport
25/03/2014 18:30:24 passing arg to libvncserver: 5900
25/03/2014 18:30:24 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 2733
No protocol specified
25/03/2014 18:30:24 XOpenDisplay(":0") failed.
25/03/2014 18:30:24 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified

25/03/2014 18:30:24 ***************************************
25/03/2014 18:30:24 *** XOpenDisplay failed (:0)

*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.

Some tips and guidelines:

** An X server (the one you wish to view) must be running before x11vnc is
started: x11vnc does not start the X server. (however, see the -create
option if that is what you really want).

** You must use -display <disp>, -OR- set and export your $DISPLAY
environment variable to refer to the display of the desired X server.
- Usually the display is simply ":0" (in fact x11vnc uses this if you forget
to specify it), but in some multi-user situations it could be ":1", ":2",
or even ":137". Ask your administrator or a guru if you are having
difficulty determining what your X DISPLAY is.

** Next, you need to have sufficient permissions (Xauthority)
to connect to the X DISPLAY. Here are some Tips:

- Often, you just need to run x11vnc as the user logged into the X session.
So make sure to be that user when you type x11vnc.
- Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE
file may be accessed. The cookie file contains the secret key that
allows x11vnc to connect to the desired X DISPLAY.
- You can explicitly indicate which MIT-MAGIC-COOKIE file should be used
by the -auth option, e.g.:
x11vnc -auth /home/someuser/.Xauthority -display :0
x11vnc -auth /tmp/.gdmzndVlR -display :0
you must have read permission for the auth file.
See also '-auth guess' and '-findauth' discussed below.

** If NO ONE is logged into an X session yet, but there is a greeter login
program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need
to find and use the raw display manager MIT-MAGIC-COOKIE file.
Some examples for various display managers:

gdm: -auth /var/gdm/:0.Xauth
-auth /var/lib/gdm/:0.Xauth
kdm: -auth /var/lib/kdm/A:0-crWk72
-auth /var/run/xauth/A:0-crWk72
xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk
dtlogin: -auth /var/dt/A:0-UgaaXa

Sometimes the command "ps wwwwaux | grep auth" can reveal the file location.

Starting with x11vnc 0.9.9 you can have it try to guess by using:

-auth guess

(see also the x11vnc -findauth option.)

Only root will have read permission for the file, and so x11vnc must be run
as root (or copy it). The random characters in the filenames will of course
change and the directory the cookie file resides in is system dependent.

See also: http://www.karlrunge.com/x11vnc/faq.html
Percio`, come faccio a risolvere questo problema?

Grazie

Ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

balubeto ha scritto:See also: http://www.karlrunge.com/x11vnc/faq.html
Cometi viene consigliato dall'output stesso... ci hai dato un'occhiata?
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:
balubeto ha scritto:See also: http://www.karlrunge.com/x11vnc/faq.html
Cometi viene consigliato dall'output stesso... ci hai dato un'occhiata?
Scusa ma non vedo una FAQ che tratta Lubuntu 13.10, LightDM e x11vnc. Come mai?

Grazie

Ciao
balubeto
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Lasciando il file x11vnc.conf nella directory /etc/init e riavviando il computer, noto che il file /var/run/lightdm/root/:0 viene creato ma, quando eseguo i comandi sudo netstat -anp | grep 5900 o sudo netstat -nlp | grep vnc o sudo ps -ef | grep [x]11vnc, non viene visualizzato nulla.

Quindi, ho eseguito da terminale il comando sudo /usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /var/log/x11vnc.log viene ricreato il file /var/run/lightdm/root/:0 ma gli altri comandi danno sempre lo stesso risultato.

Dunque, ho riavviato il computer ed ho dato il comando sudo /usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -display :0 ma lo stesso file log viene visualizzato.

Come mai?

Grazie

Ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

Scusami, ma cercando in rete ho trovato questa,,,

http://ubuntuforums.org/showthread.php?t=1868554

e questa...

http://seb.so/vnc-from-boot-without-log ... mint-lmde/

... le avevi già lette?
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:Scusami, ma cercando in rete ho trovato questa,,,

http://ubuntuforums.org/showthread.php?t=1868554

e questa...

http://seb.so/vnc-from-boot-without-log ... mint-lmde/

... le avevi già lette?
Ho attivato la direttiva xauth_path nel file /etc/lxdm/default.conf (che punta al file /etc/alternatives/lxdm.conf), ho eseguito il comando sudo x11vnc -storepasswd <Password> /etc/x11vnc.pass per creare una password per accedere a x11vnc da remoto e ho creato il file /etc/lxdm/LoginReady cosi`:
!/bin/sh
# X11VNC AutoStart
sudo x11vnc -auth /tmp/.Xauth1000 -forever rfbauth /etc/x11vnc.pass -rfbport 5900 -o /var/log/x11vnc.log
Poi, l'ho reso eseguibile scrivendo sudo chmod u+x /etc/lxdm/LoginReady ed ho riavviato il computer.

Purtroppo non riesco ancora a collegarmi da remoto in quanto, quando tento di farlo, UltraVNC viewer non riesce a trovare il Server.

Inoltre, ho notato che il file di log non viene creato ed il processo x11vnc non e` attivo.

Quindi, come devo fare a risolvere questo problema?

Grazie

Ciao
balubeto
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

P.S: Mi sono accorto che anche se eseguo il comando sudo x11vnc -auth /tmp/.Xauth1000 -forever rfbauth /etc/x11vnc.pass -rfbport 5900 -o /var/log/x11vnc.log, non funziona ma viene creato il file di log che e` sempre lo stesso (guarda sopra un po` di post).

Grazie ancora

Ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

balubeto ha scritto:...
25/03/2014 18:30:24 XOpenDisplay(":0") failed.
25/03/2014 18:30:24 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified

25/03/2014 18:30:24 ***************************************
25/03/2014 18:30:24 *** XOpenDisplay failed (:0)

*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.

Some tips and guidelines:

** An X server (the one you wish to view) must be running before x11vnc is
started: x11vnc does not start the X server. (however, see the -create
option if that is what you really want).
...,
** Next, you need to have sufficient permissions (Xauthority)
to connect to the X DISPLAY. Here are some Tips:
...
Quello che dice, traducendo, è che non è abilitato ad aprire il display:0, ovvero la prima sessione grafica attiva.
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Ho notato che con il comando:

Codice: Seleziona tutto

sudo x11vnc -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared -forever -nowf -norc -notruecolor -bg -xkb
riesco, con UltraVNC, ad effettuare il controllo remoto della sessione corrente di Lubuntu 13.10. Quindi, per potere controllare anche LightDM, come devo fare a ottenere il file che l'opzione auth di x11vnc vuole? Dove devo mettere tale comando?

Grazie

Ciao
balubeto
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

Alla fine, ho editato il file /etc/lightdm/lightdm.conf in questo modo:

Codice: Seleziona tutto

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu
display-setup-script=/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -xkb -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900
e funziona.

Ora, c'e` il problema di mappatura di caratteri e ho gia` provato a sostituire l'opzione -xkb con -noxkb ma il problema rimane:

Il computer con Windows e` mappato con la tastiera inglese-Stati uniti (EN) e quello di Lubuntu 13.10 ha la mappatura italiana-italiana (IT). Ora, facendo il controllo remoto dal computer Windows al computer Linux ed impostando la mappatura della tastiera di quest`ultimo computer con il layout della tastiera inglese (US), vedo che alcuni caratteri =, -, +, ... digitati dal computer Windows, vengono riprodotti nel computer Linux con i caratteri ), /,], ..... . Ho anche verificato direttamente collegando una tastiera al computer Linux e ho notato che questo problema non esiste anche se cambio il layout della tastiera.

Quindi come faccio a risolvere questo problema di mappatura causato dal controllo remoto?

Grazie

Ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

Prova a seguire il punto 2 di questa guida:

http://www.tips5.com/how-to-fix-keyboar ... -in-ubuntu

Dovrebbe impostare una variabile ambiente che forza l'uso della mappatura della tastiera impostata nel sistema del server vnc.
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:Prova a seguire il punto 2 di questa guida:

http://www.tips5.com/how-to-fix-keyboar ... -in-ubuntu

Dovrebbe impostare una variabile ambiente che forza l'uso della mappatura della tastiera impostata nel sistema del server vnc.
Purtroppo, x11vnc non crea nessuna directory nascosta nella directory dell'utente e, quindi, non posso provare la tua guida.

Comunque, ho scoperto un'altra cosa: Se configuro il computer Linux in modo che il primo layout della tastiera sia US, al suo riavvio, non ho problemi di caratteri in quanto x11vnc mappa la tastiera al suo avvio e basta. Infatti, se, con questa configurazionefunzionante , cambio al volo il layout dalla tastiera del computer Linux mettendo per esempio IT, il mio problema compare di nuovo . Questo significa che x11vnc non e` in grado di rimappare al volo la tastiera . Si puo` fare qualcosa?

Ho fatto un altro esperimento : invece di modificare il file lightdm.conf ho modificato il file /etc/rc.local in questo modo:

Codice: Seleziona tutto

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -xkb -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900

exit 0
Poi ho verificato che questo file fosse esguibile

Codice: Seleziona tutto

-rwxr-xr-x 1 root root 306 mar 31 11:24 /etc/rc.local
ma, quando riavvio il computer , il server x11vnc non si avvia. Come mai?

grazie

ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

balubeto ha scritto:Alla fine, ho editato il file /etc/lightdm/lightdm.conf in questo modo:

Codice: Seleziona tutto

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu
display-setup-script=/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -xkb -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900
e funziona.
Un po' di flessibilità... prova con:

Codice: Seleziona tutto

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu
display-setup-script=export XKL_XMODMAP_DISABLE=1 && /usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -xkb -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:
balubeto ha scritto:Alla fine, ho editato il file /etc/lightdm/lightdm.conf in questo modo:

Codice: Seleziona tutto

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu
display-setup-script=/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -xkb -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900
e funziona.
Un po' di flessibilità... prova con:

Codice: Seleziona tutto

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu
display-setup-script=export XKL_XMODMAP_DISABLE=1 && /usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -xkb -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900
poiche` questo pomeriggio funzionava il file /etc/rc.local (boh!!!!), ho modificato questo file in questo modo :

Codice: Seleziona tutto

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

export XKL_XMODMAP_DISABLE=1 && /usr/bin/x11vnc -rfbport 5900 -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -nomodtweak -noxrecord -shared -forever -bg

exit 0
ma il mio problema rimane (ho aggiunto il parametro nomodtweak per far funzionare il Caps Lock da remoto ). Dove ho sbagliato?

Qual`e` la soluzione migliore fra mettere il comando x11vnc nel file /etc/rc.local e mettere questo comando nel file /etc/lightdm/lightdm.conf ? Per caso esiste un`altra soluzione in modo che vada bene per ogni distribujzione di Linux e indipendente da ogni display manager?

grazie

ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

/etc/rc.local è l'ultimo script che viene eseguito dal processo di avvio e serve per eseguire i comandi che personalizzano il sistema, però non si ha la certezza che la sessione grafica venga avviata prima o dopo l'esecuzione di questo script, nel senso che di default gli script vengono si avviati si in sequenza, ma la loro esecuzione può essere parallela (contemporanea). C'è una variabile in un file di configurazione che determina il comportamento del processo di avvio del sistema (il processo con pid 1) indicandogli se effettuare l'esecuzione parallela o meno degli script (quindi se attendere che lo script termini prima di avviare il sucessivo).


Come ben sai invece /etc/lightdm/lightdm.conf è legato all'avvio della sessione grafica, o meglio di LightDM.

Se cerchi una soluzione che possa funzionare in modo più generico possibile è la prima, se invece cerchi una soluzione per sistemi che utilizzano LightDM la seconda è migliore.
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:/etc/rc.local è l'ultimo script che viene eseguito dal processo di avvio e serve per eseguire i comandi che personalizzano il sistema, però non si ha la certezza che la sessione grafica venga avviata prima o dopo l'esecuzione di questo script, nel senso che di default gli script vengono si avviati si in sequenza, ma la loro esecuzione può essere parallela (contemporanea). C'è una variabile in un file di configurazione che determina il comportamento del processo di avvio del sistema (il processo con pid 1) indicandogli se effettuare l'esecuzione parallela o meno degli script (quindi se attendere che lo script termini prima di avviare il sucessivo).


Come ben sai invece /etc/lightdm/lightdm.conf è legato all'avvio della sessione grafica, o meglio di LightDM.

Se cerchi una soluzione che possa funzionare in modo più generico possibile è la prima, se invece cerchi una soluzione per sistemi che utilizzano LightDM la seconda è migliore.
Ho messo la direttiva display-setup-script=export XKL_XMODMAP_DISABLE=1 && /usr/bin/x11vnc -rfbport 5900 -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -nomodtweak -noxrecord -shared -forever -bg nel file lightdm.conf , ho riavviato il sistema e si e` bloccato X (ossia non cmpariva piu` il display manager ). Come mai? Ho voluto fare questa prova per vedere se mi scompariva il problema della tastiera .

Naturalmente , ho eliminato il comando dal file /etc/rc.local .

grazie

ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

balubeto ha scritto:... ho riavviato il sistema e si e` bloccato X (ossia non cmpariva piu` il display manager ). Come mai?
...
I file di log li hai tu, non io... guarda che errore ha fermato l'esecuzione. :fiu
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:
balubeto ha scritto:... ho riavviato il sistema e si e` bloccato X (ossia non cmpariva piu` il display manager ). Come mai?
...
I file di log li hai tu, non io... guarda che errore ha fermato l'esecuzione. :fiu
Queste sono le ultime 10 righe prima del cash di Lightdm o di X (come faccio a distiguerli? mi compare lo schermo nero con un cursore lampeggiante in alto a destra):

Codice: Seleziona tutto

[   24.731200] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   24.795202] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.795654] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.823008] 8139too 0000:00:0b.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[   25.388486] zram: module is from the staging directory, the quality is unknown, you have been warned.
[   25.400411] zram: Created 1 device(s) ...
[   25.499062] Adding 253684k swap on /dev/zram0.  Priority:5 extents:1 across:253684k SSFS
[   29.660004] [sched_delayed] sched: RT throttling activated
[   30.711259] init: lightdm main process (1008) terminated with status 1
[   30.718298] init: plymouth-ready (started) main process (771) terminated with status 1
Quindi, come faccio a risolvere questo crash?

Grazie

Ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

Codice: Seleziona tutto

cat .xsession-errors
oppure, per leggerlo megio...

Codice: Seleziona tutto

less .xsession-errors
Altro file di log utile è /var/log/Xorg.0.log
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ninja ha scritto:

Codice: Seleziona tutto

cat .xsession-errors
oppure, per leggerlo megio...

Codice: Seleziona tutto

less .xsession-errors
Altro file di log utile è /var/log/Xorg.0.log
Ho mandato ancora in crash il sistema: il file .xsession-errors e`:

Codice: Seleziona tutto

Script for cjkv started at run_im.
Script for default started at run_im.
init: Processo main (1450) del job lxsession terminato con lo stato 1
ed il file /var/log/Xorg.0.log e`:

Codice: Seleziona tutto

[    26.583] 
X.Org X Server 1.14.5
Release Date: 2013-12-12
[    26.583] X Protocol Version 11, Revision 0
[    26.583] Build Operating System: Linux 3.2.0-54-generic i686 Ubuntu
[    26.583] Current Operating System: Linux Pluto 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:32 UTC 2014 i686
[    26.583] Kernel command line: BOOT_IMAGE=/vmlinuz-3.11.0-19-generic root=UUID=d07497b2-0392-412f-a0b4-574a39bfda83 ro quiet splash
[    26.583] Build Date: 17 December 2013  10:03:52AM
[    26.583] xorg-server 2:1.14.5-1ubuntu2~saucy1 (For technical support please see http://www.ubuntu.com/support) 
[    26.583] Current version of pixman: 0.30.2
[    26.583] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    26.583] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    26.583] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr  3 12:11:54 2014
[    26.593] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    26.593] (==) No Layout section.  Using the first Screen section.
[    26.593] (==) No screen section available. Using defaults.
[    26.593] (**) |-->Screen "Default Screen Section" (0)
[    26.593] (**) |   |-->Monitor "<default monitor>"
[    26.594] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    26.594] (==) Automatically adding devices
[    26.594] (==) Automatically enabling devices
[    26.594] (==) Automatically adding GPU devices
[    26.594] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    26.594] 	Entry deleted from font path.
[    26.594] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    26.594] 	Entry deleted from font path.
[    26.594] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    26.594] 	Entry deleted from font path.
[    26.594] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    26.594] 	Entry deleted from font path.
[    26.594] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    26.594] 	Entry deleted from font path.
[    26.594] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    26.594] 	Entry deleted from font path.
[    26.594] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[    26.594] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    26.594] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    26.594] (II) Loader magic: 0xb77116a0
[    26.594] (II) Module ABI versions:
[    26.594] 	X.Org ANSI C Emulation: 0.4
[    26.594] 	X.Org Video Driver: 14.1
[    26.594] 	X.Org XInput driver : 19.1
[    26.594] 	X.Org Server Extension : 7.0
[    26.595] (--) PCI:*(0:1:0:0) 10de:0167:1043:188a rev 161, Mem @ 0xfd000000/16777216, 0xc0000000/268435456, 0xfc000000/16777216, BIOS @ 0x????????/131072
[    26.596] (II) Open ACPI successful (/var/run/acpid.socket)
[    26.596] Initializing built-in extension Generic Event Extension
[    26.596] Initializing built-in extension SHAPE
[    26.596] Initializing built-in extension MIT-SHM
[    26.596] Initializing built-in extension XInputExtension
[    26.596] Initializing built-in extension XTEST
[    26.596] Initializing built-in extension BIG-REQUESTS
[    26.596] Initializing built-in extension SYNC
[    26.596] Initializing built-in extension XKEYBOARD
[    26.596] Initializing built-in extension XC-MISC
[    26.596] Initializing built-in extension SECURITY
[    26.596] Initializing built-in extension XINERAMA
[    26.596] Initializing built-in extension XFIXES
[    26.596] Initializing built-in extension RENDER
[    26.596] Initializing built-in extension RANDR
[    26.596] Initializing built-in extension COMPOSITE
[    26.596] Initializing built-in extension DAMAGE
[    26.596] Initializing built-in extension MIT-SCREEN-SAVER
[    26.596] Initializing built-in extension DOUBLE-BUFFER
[    26.596] Initializing built-in extension RECORD
[    26.596] Initializing built-in extension DPMS
[    26.596] Initializing built-in extension X-Resource
[    26.596] Initializing built-in extension XVideo
[    26.596] Initializing built-in extension XVideo-MotionCompensation
[    26.596] Initializing built-in extension SELinux
[    26.596] Initializing built-in extension XFree86-VidModeExtension
[    26.596] Initializing built-in extension XFree86-DGA
[    26.596] Initializing built-in extension XFree86-DRI
[    26.596] Initializing built-in extension DRI2
[    26.596] (II) "glx" will be loaded by default.
[    26.596] (WW) "xmir" is not to be loaded by default. Skipping.
[    26.596] (II) LoadModule: "dri2"
[    26.596] (II) Module "dri2" already built-in
[    26.596] (II) LoadModule: "glamoregl"
[    26.626] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    26.791] (II) Module glamoregl: vendor="X.Org Foundation"
[    26.791] 	compiled for 1.14.3, module version = 0.5.1
[    26.791] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.791] (II) LoadModule: "glx"
[    26.792] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/libglx.so
[    26.829] (II) Module glx: vendor="NVIDIA Corporation"
[    26.829] 	compiled for 4.0.2, module version = 1.0.0
[    26.829] 	Module class: X.Org Server Extension
[    26.829] (II) NVIDIA GLX Module  304.88  Wed Mar 27 14:51:59 PDT 2013
[    26.829] Loading extension GLX
[    26.829] (==) Matched nvidia as autoconfigured driver 0
[    26.829] (==) Matched nouveau as autoconfigured driver 1
[    26.829] (==) Matched vesa as autoconfigured driver 2
[    26.829] (==) Matched modesetting as autoconfigured driver 3
[    26.829] (==) Matched fbdev as autoconfigured driver 4
[    26.829] (==) Assigned the driver to the xf86ConfigLayout
[    26.829] (II) LoadModule: "nvidia"
[    26.829] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/nvidia_drv.so
[    26.835] (II) Module nvidia: vendor="NVIDIA Corporation"
[    26.835] 	compiled for 4.0.2, module version = 1.0.0
[    26.835] 	Module class: X.Org Video Driver
[    26.835] (II) LoadModule: "nouveau"
[    26.837] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    26.840] (II) Module nouveau: vendor="X.Org Foundation"
[    26.840] 	compiled for 1.14.2.901, module version = 1.0.9
[    26.840] 	Module class: X.Org Video Driver
[    26.840] 	ABI class: X.Org Video Driver, version 14.1
[    26.840] (II) LoadModule: "vesa"
[    26.841] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    26.843] (II) Module vesa: vendor="X.Org Foundation"
[    26.843] 	compiled for 1.14.1, module version = 2.3.2
[    26.843] 	Module class: X.Org Video Driver
[    26.843] 	ABI class: X.Org Video Driver, version 14.1
[    26.843] (II) LoadModule: "modesetting"
[    26.844] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    26.846] (II) Module modesetting: vendor="X.Org Foundation"
[    26.846] 	compiled for 1.14.1, module version = 0.8.0
[    26.846] 	Module class: X.Org Video Driver
[    26.846] 	ABI class: X.Org Video Driver, version 14.1
[    26.846] (II) LoadModule: "fbdev"
[    26.847] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    26.849] (II) Module fbdev: vendor="X.Org Foundation"
[    26.849] 	compiled for 1.14.1, module version = 0.4.3
[    26.849] 	Module class: X.Org Video Driver
[    26.849] 	ABI class: X.Org Video Driver, version 14.1
[    26.850] (II) NVIDIA dlloader X Driver  304.88  Wed Mar 27 14:32:42 PDT 2013
[    26.850] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    26.850] (II) NOUVEAU driver Date:   Wed Jul 31 10:51:03 2013 +1000
[    26.850] (II) NOUVEAU driver for NVIDIA chipset families :
[    26.850] 	RIVA TNT        (NV04)
[    26.850] 	RIVA TNT2       (NV05)
[    26.850] 	GeForce 256     (NV10)
[    26.850] 	GeForce 2       (NV11, NV15)
[    26.850] 	GeForce 4MX     (NV17, NV18)
[    26.850] 	GeForce 3       (NV20)
[    26.850] 	GeForce 4Ti     (NV25, NV28)
[    26.850] 	GeForce FX      (NV3x)
[    26.850] 	GeForce 6       (NV4x)
[    26.850] 	GeForce 7       (G7x)
[    26.850] 	GeForce 8       (G8x)
[    26.850] 	GeForce GTX 200 (NVA0)
[    26.850] 	GeForce GTX 400 (NVC0)
[    26.850] (II) VESA: driver for VESA chipsets: vesa
[    26.850] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    26.850] (II) FBDEV: driver for framebuffer: fbdev
[    26.850] (++) using VT number 7

[    26.854] (II) Loading sub module "fb"
[    26.854] (II) LoadModule: "fb"
[    26.854] (II) Loading /usr/lib/xorg/modules/libfb.so
[    26.857] (II) Module fb: vendor="X.Org Foundation"
[    26.857] 	compiled for 1.14.5, module version = 1.0.0
[    26.857] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.857] (II) Loading sub module "wfb"
[    26.857] (II) LoadModule: "wfb"
[    26.857] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    26.860] (II) Module wfb: vendor="X.Org Foundation"
[    26.860] 	compiled for 1.14.5, module version = 1.0.0
[    26.860] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.860] (II) Loading sub module "ramdac"
[    26.860] (II) LoadModule: "ramdac"
[    26.860] (II) Module "ramdac" already built-in
[    26.860] (WW) Falling back to old probe method for vesa
[    26.860] (WW) Falling back to old probe method for modesetting
[    26.860] (EE) open /dev/dri/card0: No such file or directory
[    26.860] (WW) Falling back to old probe method for fbdev
[    26.861] (II) Loading sub module "fbdevhw"
[    26.861] (II) LoadModule: "fbdevhw"
[    26.861] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    26.864] (II) Module fbdevhw: vendor="X.Org Foundation"
[    26.864] 	compiled for 1.14.5, module version = 0.0.2
[    26.864] 	ABI class: X.Org Video Driver, version 14.1
[    26.864] (EE) open /dev/fb0: No such file or directory
[    26.864] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    26.864] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    26.864] (==) NVIDIA(0): RGB weight 888
[    26.864] (==) NVIDIA(0): Default visual is TrueColor
[    26.864] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    26.864] (**) NVIDIA(0): Enabling 2D acceleration
[    27.899] (II) NVIDIA(GPU-0): Display (Nvidia Default Flat Panel (DFP-0)) does not support
[    27.899] (II) NVIDIA(GPU-0):     NVIDIA 3D Vision stereo.
[    27.902] (II) NVIDIA(0): NVIDIA GPU GeForce Go 6200 (NV44) at PCI:1:0:0 (GPU-0)
[    27.902] (--) NVIDIA(0): Memory: 262144 kBytes
[    27.902] (--) NVIDIA(0): VideoBIOS: 05.44.02.30.03
[    27.902] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    27.902] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[    27.902] (--) NVIDIA(0): Valid display device(s) on GeForce Go 6200 at PCI:1:0:0
[    27.902] (--) NVIDIA(0):     CRT-0
[    27.902] (--) NVIDIA(0):     TV-0
[    27.902] (--) NVIDIA(0):     Nvidia Default Flat Panel (DFP-0) (connected)
[    27.902] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[    27.902] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
[    27.902] (--) NVIDIA(0): TV encoder: Unknown
[    27.902] (--) NVIDIA(0): Nvidia Default Flat Panel (DFP-0): 310.0 MHz maximum pixel clock
[    27.902] (--) NVIDIA(0): Nvidia Default Flat Panel (DFP-0): Internal Dual Link LVDS
[    27.902] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    27.902] (**) NVIDIA(0):     device Nvidia Default Flat Panel (DFP-0) (Using EDID
[    27.902] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[    27.902] (==) NVIDIA(0): 
[    27.902] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    27.902] (==) NVIDIA(0):     will be used as the requested mode.
[    27.902] (==) NVIDIA(0): 
[    27.903] (II) NVIDIA(0): Validated MetaModes:
[    27.903] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[    27.903] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 800
[    27.903] (WW) NVIDIA(0): Unable to support custom viewPortOut 1280 x 720 +0 +40
[    27.904] (WW) NVIDIA(0): Unable to support custom viewPortOut 1066 x 800 +107 +0
[    27.904] (WW) NVIDIA(0): Unable to support custom viewPortOut 1066 x 800 +107 +0
[    27.905] (WW) NVIDIA(0): Unable to support custom viewPortOut 1066 x 800 +107 +0
[    27.905] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[    27.905] (--) NVIDIA(0):     option
[    27.905] (II) UnloadModule: "nouveau"
[    27.905] (II) Unloading nouveau
[    27.906] (II) UnloadModule: "vesa"
[    27.906] (II) Unloading vesa
[    27.906] (II) UnloadModule: "modesetting"
[    27.906] (II) Unloading modesetting
[    27.907] (II) UnloadModule: "fbdev"
[    27.907] (II) Unloading fbdev
[    27.908] (II) UnloadSubModule: "fbdevhw"
[    27.908] (II) Unloading fbdevhw
[    27.908] (--) Depth 24 pixmap format is 32 bpp
[    27.919] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[    29.379] Loading extension NV-GLX
[    29.420] (==) NVIDIA(0): Disabling shared memory pixmaps
[    29.420] (==) NVIDIA(0): Backing store disabled
[    29.420] (==) NVIDIA(0): Silken mouse enabled
[    29.420] (==) NVIDIA(0): DPMS enabled
[    29.420] Loading extension NV-CONTROL
[    29.421] Loading extension XINERAMA
[    29.421] (II) Loading sub module "dri2"
[    29.421] (II) LoadModule: "dri2"
[    29.421] (II) Module "dri2" already built-in
[    29.421] (II) NVIDIA(0): [DRI2] Setup complete
[    29.421] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    29.421] (--) RandR disabled
[    29.431] (II) SELinux: Disabled on system
[    29.433] (II) Initializing extension GLX
[    29.458] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[    29.463] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    29.463] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    29.463] (II) LoadModule: "evdev"
[    29.463] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    29.466] (II) Module evdev: vendor="X.Org Foundation"
[    29.466] 	compiled for 1.14.1, module version = 2.7.3
[    29.466] 	Module class: X.Org XInput Driver
[    29.466] 	ABI class: X.Org XInput driver, version 19.1
[    29.466] (II) Using input driver 'evdev' for 'Power Button'
[    29.466] (**) Power Button: always reports core events
[    29.466] (**) evdev: Power Button: Device: "/dev/input/event3"
[    29.467] (--) evdev: Power Button: Vendor 0 Product 0x1
[    29.467] (--) evdev: Power Button: Found keys
[    29.467] (II) evdev: Power Button: Configuring as keyboard
[    29.467] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    29.467] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    29.467] (**) Option "xkb_rules" "evdev"
[    29.467] (**) Option "xkb_model" "pc105"
[    29.467] (**) Option "xkb_layout" "us"
[    29.468] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[    29.468] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    29.468] (II) Using input driver 'evdev' for 'Video Bus'
[    29.468] (**) Video Bus: always reports core events
[    29.468] (**) evdev: Video Bus: Device: "/dev/input/event8"
[    29.468] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    29.468] (--) evdev: Video Bus: Found keys
[    29.468] (II) evdev: Video Bus: Configuring as keyboard
[    29.468] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/LNXVIDEO:00/input/input8/event8"
[    29.468] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    29.468] (**) Option "xkb_rules" "evdev"
[    29.468] (**) Option "xkb_model" "pc105"
[    29.468] (**) Option "xkb_layout" "us"
[    29.469] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    29.469] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    29.469] (II) Using input driver 'evdev' for 'Power Button'
[    29.469] (**) Power Button: always reports core events
[    29.469] (**) evdev: Power Button: Device: "/dev/input/event0"
[    29.469] (--) evdev: Power Button: Vendor 0 Product 0x1
[    29.469] (--) evdev: Power Button: Found keys
[    29.469] (II) evdev: Power Button: Configuring as keyboard
[    29.469] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[    29.469] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    29.469] (**) Option "xkb_rules" "evdev"
[    29.469] (**) Option "xkb_model" "pc105"
[    29.469] (**) Option "xkb_layout" "us"
[    29.470] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    29.470] (II) No input driver specified, ignoring this device.
[    29.470] (II) This device may have been added with another device file.
[    29.470] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    29.471] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    29.471] (II) Using input driver 'evdev' for 'Sleep Button'
[    29.471] (**) Sleep Button: always reports core events
[    29.471] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    29.471] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    29.471] (--) evdev: Sleep Button: Found keys
[    29.471] (II) evdev: Sleep Button: Configuring as keyboard
[    29.471] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[    29.471] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    29.471] (**) Option "xkb_rules" "evdev"
[    29.471] (**) Option "xkb_model" "pc105"
[    29.471] (**) Option "xkb_layout" "us"
[    29.472] (II) config/udev: Adding input device Logitech Trackball (/dev/input/event5)
[    29.472] (**) Logitech Trackball: Applying InputClass "evdev pointer catchall"
[    29.472] (II) Using input driver 'evdev' for 'Logitech Trackball'
[    29.472] (**) Logitech Trackball: always reports core events
[    29.472] (**) evdev: Logitech Trackball: Device: "/dev/input/event5"
[    29.472] (--) evdev: Logitech Trackball: Vendor 0x46d Product 0xc404
[    29.472] (--) evdev: Logitech Trackball: Found 3 mouse buttons
[    29.472] (--) evdev: Logitech Trackball: Found scroll wheel(s)
[    29.472] (--) evdev: Logitech Trackball: Found relative axes
[    29.472] (--) evdev: Logitech Trackball: Found x and y relative axes
[    29.472] (II) evdev: Logitech Trackball: Configuring as mouse
[    29.472] (II) evdev: Logitech Trackball: Adding scrollwheel support
[    29.472] (**) evdev: Logitech Trackball: YAxisMapping: buttons 4 and 5
[    29.472] (**) evdev: Logitech Trackball: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    29.472] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:03.0/usb2/2-1/2-1:1.0/input/input5/event5"
[    29.472] (II) XINPUT: Adding extended input device "Logitech Trackball" (type: MOUSE, id 10)
[    29.472] (II) evdev: Logitech Trackball: initialized for relative axes.
[    29.473] (**) Logitech Trackball: (accel) keeping acceleration scheme 1
[    29.473] (**) Logitech Trackball: (accel) acceleration profile 0
[    29.473] (**) Logitech Trackball: (accel) acceleration factor: 2.000
[    29.473] (**) Logitech Trackball: (accel) acceleration threshold: 4
[    29.473] (II) config/udev: Adding input device Logitech Trackball (/dev/input/mouse0)
[    29.473] (II) No input driver specified, ignoring this device.
[    29.473] (II) This device may have been added with another device file.
[    29.474] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/event6)
[    29.474] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard catchall"
[    29.474] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[    29.474] (**) USB-compliant keyboard: always reports core events
[    29.474] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event6"
[    29.474] (--) evdev: USB-compliant keyboard: Vendor 0x62a Product 0x201
[    29.474] (--) evdev: USB-compliant keyboard: Found keys
[    29.474] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[    29.474] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:03.1/usb3/3-1/3-1:1.0/input/input6/event6"
[    29.474] (II) XINPUT: Adding extended input device "USB-compliant keyboard" (type: KEYBOARD, id 11)
[    29.474] (**) Option "xkb_rules" "evdev"
[    29.474] (**) Option "xkb_model" "pc105"
[    29.474] (**) Option "xkb_layout" "us"
[    29.475] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/event7)
[    29.475] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard catchall"
[    29.475] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[    29.475] (**) USB-compliant keyboard: always reports core events
[    29.475] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event7"
[    29.475] (--) evdev: USB-compliant keyboard: Vendor 0x62a Product 0x201
[    29.475] (--) evdev: USB-compliant keyboard: Found 1 mouse buttons
[    29.475] (--) evdev: USB-compliant keyboard: Found scroll wheel(s)
[    29.475] (--) evdev: USB-compliant keyboard: Found relative axes
[    29.475] (--) evdev: USB-compliant keyboard: Found x and y relative axes
[    29.475] (--) evdev: USB-compliant keyboard: Found absolute axes
[    29.475] (II) evdev: USB-compliant keyboard: Forcing absolute x/y axes to exist.
[    29.475] (--) evdev: USB-compliant keyboard: Found keys
[    29.475] (II) evdev: USB-compliant keyboard: Configuring as mouse
[    29.475] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[    29.475] (II) evdev: USB-compliant keyboard: Adding scrollwheel support
[    29.475] (**) evdev: USB-compliant keyboard: YAxisMapping: buttons 4 and 5
[    29.475] (**) evdev: USB-compliant keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    29.476] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:03.1/usb3/3-1/3-1:1.1/input/input7/event7"
[    29.476] (II) XINPUT: Adding extended input device "USB-compliant keyboard" (type: KEYBOARD, id 12)
[    29.476] (**) Option "xkb_rules" "evdev"
[    29.476] (**) Option "xkb_model" "pc105"
[    29.476] (**) Option "xkb_layout" "us"
[    29.476] (II) evdev: USB-compliant keyboard: initialized for relative axes.
[    29.476] (WW) evdev: USB-compliant keyboard: ignoring absolute axes.
[    29.476] (**) USB-compliant keyboard: (accel) keeping acceleration scheme 1
[    29.476] (**) USB-compliant keyboard: (accel) acceleration profile 0
[    29.476] (**) USB-compliant keyboard: (accel) acceleration factor: 2.000
[    29.476] (**) USB-compliant keyboard: (accel) acceleration threshold: 4
[    29.477] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/mouse1)
[    29.477] (II) No input driver specified, ignoring this device.
[    29.477] (II) This device may have been added with another device file.
[    29.477] (II) config/udev: Adding input device Asus Laptop extra buttons (/dev/input/event9)
[    29.477] (**) Asus Laptop extra buttons: Applying InputClass "evdev keyboard catchall"
[    29.477] (II) Using input driver 'evdev' for 'Asus Laptop extra buttons'
[    29.477] (**) Asus Laptop extra buttons: always reports core events
[    29.477] (**) evdev: Asus Laptop extra buttons: Device: "/dev/input/event9"
[    29.478] (--) evdev: Asus Laptop extra buttons: Vendor 0 Product 0
[    29.478] (--) evdev: Asus Laptop extra buttons: Found keys
[    29.478] (II) evdev: Asus Laptop extra buttons: Configuring as keyboard
[    29.478] (**) Option "config_info" "udev:/sys/devices/platform/asus_laptop/input/input9/event9"
[    29.478] (II) XINPUT: Adding extended input device "Asus Laptop extra buttons" (type: KEYBOARD, id 13)
[    29.478] (**) Option "xkb_rules" "evdev"
[    29.478] (**) Option "xkb_model" "pc105"
[    29.478] (**) Option "xkb_layout" "us"
[    29.479] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    29.479] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    29.479] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    29.479] (**) AT Translated Set 2 keyboard: always reports core events
[    29.479] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[    29.479] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    29.479] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    29.479] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    29.479] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    29.479] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 14)
[    29.479] (**) Option "xkb_rules" "evdev"
[    29.479] (**) Option "xkb_model" "pc105"
[    29.479] (**) Option "xkb_layout" "us"
[    29.480] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[    29.480] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    29.480] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    29.480] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    29.480] (II) LoadModule: "synaptics"
[    29.481] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    29.484] (II) Module synaptics: vendor="X.Org Foundation"
[    29.484] 	compiled for 1.14.2, module version = 1.7.1
[    29.484] 	Module class: X.Org XInput Driver
[    29.484] 	ABI class: X.Org XInput driver, version 19.1
[    29.484] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    29.484] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    29.484] (**) Option "Device" "/dev/input/event10"
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472 (res 81)
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448 (res 95)
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    29.484] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    29.484] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    29.484] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input10/event10"
[    29.484] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 15)
[    29.484] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    29.484] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    29.484] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[    29.485] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    29.485] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    29.485] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    29.485] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    29.485] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    29.485] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[    29.485] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    29.507] (II) UnloadModule: "synaptics"
[    29.507] (II) evdev: AT Translated Set 2 keyboard: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: Asus Laptop extra buttons: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: USB-compliant keyboard: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: USB-compliant keyboard: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: Logitech Trackball: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: Sleep Button: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: Power Button: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: Video Bus: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.507] (II) evdev: Power Button: Close
[    29.507] (II) UnloadModule: "evdev"
[    29.687] (EE) Server terminated successfully (0). Closing log file.
Quindi, riesci a capire perche` va in crash?

Inoltre, ho scoperto che e` possibile impostare, configurare e controllare un servizio tramite il comando service e creare un particolare script . E` vero? se si , mi potresti spiegare come creare questo script e avviarlo quando si avvia il sistema?

grazie

ciao
balubeto
Avatar utente
ninja
Livello: Chiavetta USB (8/15)
Livello: Chiavetta USB (8/15)
Messaggi: 487
Iscritto il: lun ago 26, 2013 8:52 pm

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da ninja »

No, anche questi log non danno indicazioni sufficienti...

... ripristina la situazione precedente, anche se non parte la sessione grafica puoi comunque procedere con le console virtuali per ripristinare.
Avatar utente
balubeto
Livello: DVD-ROM (5/15)
Livello: DVD-ROM (5/15)
Messaggi: 165
Iscritto il: ven lug 12, 2013 10:52 am

Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da balubeto »

ho trovato questo link https://wiki.edubuntu.org/InstallX11VncOnLtspClients che contiene uno script di x11vnc da inserire nella directory /etc/init.d . essendo un vecchio script , ho trasformato in :

Codice: Seleziona tutto

#!/bin/sh

case "$1" in
        start)
                start-stop-daemon --start --oknodo \
                        --pidfile /var/run/x11vnc.pid --background \
                        --nicelevel 15 --make-pidfile --exec \
                       /usr/bin/x11vnc -rfbport 5900 -auth /var/run/lightdm/root/:0 -rfbauth /etc/x11vnc.pass -nomodtweak -noxrecord -shared -forever -loop
        ;;
        stop)
                start-stop-daemon --stop --oknodo --pidfile /var/run/x11vnc.pid
        ;;
        restart)
                $0 stop
                $0 start
        ;;
        *)
                echo "Usage: $0 start|stop|restart"
        ;;
esac

exit 0
quindi ho scritto i comandi sudo chmod 755 /etc/init.d/x11vnc e sudo ln -s /etc/init.d/x11vnc /etc/rc2.d/s99x11vnc . i comandi per creare la password non li ho fatti in quanto li avevo gia fatti all`inizio di questa discussione . Dunque, ho riavviato la macchina , ma il server x11vnc non e` partito . Come mai?

Credo che se riesco a far funzionare x11vnc con questo metodo , riuscirei ad inserire nello script anche quella variabile che dovrebbe risolvere il problema della tastiera .

grazie mille ancora

ciao
balubeto
System
System
Bot ufficiale TurboLab.it
Bot
Messaggi:
Iscritto il: sab dic 31, 2016 6:19 pm
Contatta: Contatta

Re: Re: [Lubuntu 13.10] x11vnc and UltraVNC

Messaggio da System » ven apr 04, 2014 8:25 pm


Rispondi