Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] vncserver e wm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sun May 09, 2004 3:52 pm    Post subject: [RISOLTO] vncserver e wm Reply with quote

ciao,
il server vnc esporta una nuova console virtuale e il wm e' twm.
Si puo' impostare kde?


Last edited by lopio on Fri May 14, 2004 8:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Sun May 09, 2004 6:17 pm    Post subject: Reply with quote

la mia domanda invece è se si può usare la sessione già aperta!
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sun May 09, 2004 6:20 pm    Post subject: Reply with quote

koma wrote:
la mia domanda invece è se si può usare la sessione già aperta!

beh si fa con
Code:

emerge xfb
export DISPLAY=:0
x0rfbserver

ciao
Back to top
View user's profile Send private message
blackfede
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 178

PostPosted: Sun May 09, 2004 8:43 pm    Post subject: Reply with quote

Si bisogna cambiare il file che sta in ~/.vnc/NOMEFILE....solo che non ricordo come si chiama... :? (al momento non sono su gentoo)

Troverai una riga che carica il wm, credo che sia la seconda o la terza (cmq credo che sia la più lunga, scusami ma adesso non ricordo assolutamente e nnon trovo la guida che ho seguito), la commenti e al suo posto ci metti il comando che fa partire il wm, per KDE ad esempio è "startkde".
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sun May 09, 2004 9:01 pm    Post subject: Reply with quote

blackfede wrote:
Si bisogna cambiare il file che sta in ~/.vnc/NOMEFILE....solo che non ricordo come si chiama... :? (al momento non sono su gentoo)
per KDE ad esempio è "startkde".


ciao, dopo il mio primo post ho cercato ancora in giro e', come tu mi confermi, ho visto che il file e' /homedir/.vnc/xstartup.
Ho provato con kdm,xdm ma ho avuto solo problemi.
Usando startkde e RISTARDANDO il tutto quindi obbligando il server a settarsi su display inferiore a 8 (per esempio 1) HA FUNZIONATO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
grazie


Last edited by lopio on Fri May 14, 2004 8:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
HexDEF6
Guru
Guru


Joined: 26 May 2003
Posts: 451
Location: Trento

PostPosted: Mon May 10, 2004 7:56 am    Post subject: Reply with quote

koma wrote:
la mia domanda invece è se si può usare la sessione già aperta!


o basta che fai:
emerge gemsvnc

poi da utente che usa il desktop, lanci gemsvnc

e da un altra macchina lanci:
vncviewer ip_del_pc:0

Ciao!
_________________
Fa quel che te faresi!
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Wed May 12, 2004 7:08 pm    Post subject: Reply with quote

lopio wrote:
koma wrote:
la mia domanda invece è se si può usare la sessione già aperta!

beh si fa con
Code:

emerge xfb
export DISPLAY=:0
x0rfbserver

ciao


xfb non esiste...
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Wed May 12, 2004 7:57 pm    Post subject: Reply with quote

koma wrote:

xfb non esiste...


scusa tanto ho scritto male rfb non xfb
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Wed May 12, 2004 8:00 pm    Post subject: Reply with quote

ah ok :)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Mon Oct 18, 2004 7:59 am    Post subject: Reply with quote

Riesumo questo thread, perchè vorrei avviare in automatico gemsvnc al boot, ma non ci riesco.
Prima di tutto devo avviare wmaker e poi gemsvnc, per wmaker ho messo 5 al posto di 3 nel file di config inittab, ma all'avvio non parte nessun wm, mentre gemsvnc devo avviarlo dopo wmaker per quest'ultimo non ho proprio nessuna idea su come farlo. :(

Ciao by Truzzone :cry:
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Oct 18, 2004 8:25 am    Post subject: Reply with quote

Truzzone wrote:
Riesumo questo thread, perchè vorrei avviare in automatico gemsvnc al boot, ma non ci riesco.
Prima di tutto devo avviare wmaker e poi gemsvnc, per wmaker ho messo 5 al posto di 3 nel file di config inittab, ma all'avvio non parte nessun wm, mentre gemsvnc devo avviarlo dopo wmaker per quest'ultimo non ho proprio nessuna idea su come farlo. :(

Ciao by Truzzone :cry:


Se non esiste un file in /etc/init.d/ hai due soluzioni:

1 - Te ne crei uno tu
2 - Usi il file /etc/conf.d/local.start
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Mon Oct 18, 2004 8:51 am    Post subject: Reply with quote

gutter wrote:
...
1 - Te ne crei uno tu
2 - Usi il file /etc/conf.d/local.start


Per wmaker non ho ancora risolto, posso metterlo in /etc/conf.d/local.start? :?:
Mentre per gemsvnc ho già provato a metterlo in /etc/conf.d/local.start ma non funziona perchè vuole wmaker già avviato prima. :(

Ciao by Truzzone :?
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Oct 18, 2004 1:17 pm    Post subject: Reply with quote

Truzzone wrote:

[CUT]
Mentre per gemsvnc ho già provato a metterlo in /etc/conf.d/local.start ma non funziona perchè vuole wmaker già avviato prima. :(
[CUT]


Per wmaker devi editare il file:

Code:
~/GNUstep/Library/WindowMaker/autostart


Infatti come suggertito dallo stesso file:
Code:

#!/bin/sh
#
# Place applications to be executed when WindowMaker is started here.
# This should only be used for non-X applications or applications that
# do not support session management. Other applications should be restarted
# by the WindowMaker session restoring mechanism. For that, you should
# either set SaveSessionOnExit=YES or select "Save Session" in the Workspace
# submenu of the root menu when all applications you want started are
# running.
#
# WindowMaker will wait until this script finishes, so if you run any
# commands that take long to execute (like a xterm), put a ``&'' in the
# end of the command line.
#
# This file must be executable.
#

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Mon Oct 18, 2004 6:31 pm    Post subject: Reply with quote

io ho sempre fatto diversamente... una volta emerso il classico vnc ho aggiunto al file di configurazione di x:
Code:


Section "Module"
  Load         "vnc"
EndSection


e
Code:


Section "Screen"
 Option       "passwordFile" "/usr/X11R6/.vnc/passwd"
EndSection


cosi carica il modulo vnc.so...
_________________
D Per fare il SysAdmin e' necessario conoscere Unix/Linux e disprezzare Windows?
R Se ti interessa lavorare in ambiente Unix/Linux dovrai averne un minimo di conoscenza, quando acquisisci tale conoscenza la seconda parte arriva da sola.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum