× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file rasberry vnc con ubuntu

More
10 years 5 months ago #2474 by oss
rasberry vnc con ubuntu was created by oss
ciao, mi è arrivata la rasberry b ieri e sto smanettando per farla andare a dovere.
il primo passo è stato installare il vostro swpi su sd card da 8gb e sembra ok
poi ho abilitato ssh ed installato tightvncserver tightvnc-java
dato questo comando:

vncserver :1 -geometry 1280×960 -depth 24

inserita una password

ed installato vnc su ubuntu.

a questo punto vado sul terminale ubuntu e digito

vncviewer iprasberry:1
con risultato:
Connected to RFB server, using protocol version 3.8
Enabling TightVNC protocol extensions
Performing standard VNC authentication
Password:
Authentication failed, too many tries

eppure la password è corretta...

ho notato che quando imposto la pw su rasberry poi mi chiede
Would you like to enter a view-only password (y/n)?
se metto si mi richiede di inserire la password come devo procedere?
spero in un vostro aiuto...
ciao

Please Log in to join the conversation.

More
10 years 5 months ago #2483 by alegrechi
Replied by alegrechi on topic rasberry vnc con ubuntu
Per quale motivo vuoi installare VNC?

Non puoi configurare semplicemente da SSH ?

Please Log in to join the conversation.

More
10 years 5 months ago #2484 by oss
Replied by oss on topic rasberry vnc con ubuntu
ciao,
mi piacerebbe poter accedere con interfaccia grafica, e leggendo le guide vnc con ssh lo permette...(a tutti tranne che a me....).

Please Log in to join the conversation.

More
10 years 5 months ago - 10 years 5 months ago #2485 by alegrechi
Replied by alegrechi on topic rasberry vnc con ubuntu
Ok, ma con swpi non ti servirà… non ha interfaccia grafica (solo web, da remoto)
Last edit: 10 years 5 months ago by alegrechi.

Please Log in to join the conversation.

More
10 years 5 months ago #2486 by oss
Replied by oss on topic rasberry vnc con ubuntu
si su quello sto già provando a smanettare...
anzi già che sei online ti vorrei chiedere quei file zip che ho scaricato dal tuo sito..
dashboard e smartphone
dove li devo inserire?
io li scompatterei e li metterei direttamente nella cartella swpi sovrascrivendo eventuali file
è corretto?

ciao

Please Log in to join the conversation.

More
10 years 5 months ago #2487 by alegrechi
Replied by alegrechi on topic rasberry vnc con ubuntu
vanno nella cartella del server insieme agli altri, si...

Please Log in to join the conversation.

More
10 years 5 months ago #2488 by oss
Replied by oss on topic rasberry vnc con ubuntu
ok grazie..
ora sto tentando di collegarmi al database...
non è che hai la query da lanciare?
io ho tentato di copiare il contenuto del file swpi_logger.php
ma sbaglio qualcosa...

scusa per tutte queste domande...

Please Log in to join the conversation.

More
10 years 5 months ago #2489 by oss
Replied by oss on topic rasberry vnc con ubuntu
Forse ci sono riuscito...
ho tolto tutte le doppie barre...//

Please Log in to join the conversation.

More
10 years 5 months ago #2490 by oss
Replied by oss on topic rasberry vnc con ubuntu
ecco che mi si presenta un'errore:
Parse error: syntax error, unexpected T_VARIABLE in /swpi/config.php on line 7
<?php

$server = "localhost";
$user = "";
$pwd = "";
$db = "my_"
$swpipwd = "admin";
?>

inserendo i dati del database e lasciando admin come password sintwind.

Please Log in to join the conversation.

More
10 years 5 months ago #2491 by alegrechi
Replied by alegrechi on topic rasberry vnc con ubuntu
manca un ; alla riga $db

<?php

$server = "localhost";
$user = "";
$pwd = "";
$db = "my_";
$swpipwd = "admin";
?>

Please Log in to join the conversation.

More
10 years 5 months ago #2492 by oss
Replied by oss on topic rasberry vnc con ubuntu
ahhhh mi sa che mi servono gli occhiali!!!!
ora se vado sulla pagina swpi_logger.php
mi restituisce questo errore:

Errore nella query : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',,,,,,,,,,,,,,,,,,,,,,,,,,,, )' at line 1

se vado sulle pagien html i dati non vengono aggiornati...

grrrrr...ne esco pazzo!!!

Please Log in to join the conversation.

Time to create page: 1.000 seconds