View previous topic :: View next topic |
Author |
Message |
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun May 09, 2004 3:52 pm Post subject: [RISOLTO] vncserver e wm |
|
|
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 |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun May 09, 2004 6:20 pm Post subject: |
|
|
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 |
|
|
blackfede Apprentice
Joined: 29 Dec 2003 Posts: 178
|
Posted: Sun May 09, 2004 8:43 pm Post subject: |
|
|
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 |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun May 09, 2004 9:01 pm Post subject: |
|
|
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 |
|
|
HexDEF6 Guru
Joined: 26 May 2003 Posts: 451 Location: Trento
|
Posted: Mon May 10, 2004 7:56 am Post subject: |
|
|
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 |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Wed May 12, 2004 7:08 pm Post subject: |
|
|
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 |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Wed May 12, 2004 7:57 pm Post subject: |
|
|
koma wrote: |
xfb non esiste... |
scusa tanto ho scritto male rfb non xfb |
|
Back to top |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
|
Truzzone Guru
Joined: 16 Oct 2003 Posts: 492 Location: Italy
|
Posted: Mon Oct 18, 2004 7:59 am Post subject: |
|
|
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 |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Mon Oct 18, 2004 8:25 am Post subject: |
|
|
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 |
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 |
|
|
Truzzone Guru
Joined: 16 Oct 2003 Posts: 492 Location: Italy
|
Posted: Mon Oct 18, 2004 8:51 am Post subject: |
|
|
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 |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Mon Oct 18, 2004 1:17 pm Post subject: |
|
|
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 |
|
|
ema Guru
Joined: 27 Aug 2003 Posts: 380
|
Posted: Mon Oct 18, 2004 6:31 pm Post subject: |
|
|
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 |
|
|
|