View previous topic :: View next topic |
Author |
Message |
kki n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Nov 2003 Posts: 10
|
Posted: Fri Nov 21, 2003 10:24 pm Post subject: [Risolto] VNCServer al boot |
|
|
Ciao.
Sono niubbo di linux e gentoo.
Vorrei sapere come far partire al boot vncserver come user normale
(no root) per poi connettermi da remoto.
Per ora, ho messo in local.start lo script adsl-start, cosi mi parte la connessione
anche senza mio intervento, e pure sshd ho messo in automatico, ora mi manca
vnc appunto, se lo metto in local.start, ottengo un errore al boot :
"unable to find xauth"
o simile errore.
Idee ?
grazie !
Last edited by kki on Fri Nov 21, 2003 11:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oRDeX Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1093511417417ec3ee2e62c.jpg)
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Fri Nov 21, 2003 10:40 pm Post subject: forse |
|
|
non ne sono sicuro...visto che VNCserver non l'ho mai usato, ma da quello che serve, e dal tipo di errorre che ti restituisce, credo che sia necessario prima avviare X tramite il comando startx e poi dovrebbe essere possibile lanciare il server...famme sapè ;D byebye |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kki n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Nov 2003 Posts: 10
|
Posted: Fri Nov 21, 2003 11:13 pm Post subject: |
|
|
Ho trovato un post in questo forum (sezione inglese)
in /etc/conf.d/local.start:
su - username -c "source /etc/profile && export HOME=~ && /usr/bin/vncserver :1 -geometry 1024x768"
in /etc/conf.d/local.stop:
su - remote -c "source /etc/profile && export HOME=~ && /usr/bin/vncserver -kill :1"
sembra funzionare benone. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|