View previous topic :: View next topic |
Author |
Message |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Fri Apr 01, 2005 12:12 am Post subject: Xface4 da remoto con DISPLAY?! [Risolto] |
|
|
Sto cercando di far funzionare Xfce4 da remoto, con il comando DISPLAY, ma
non mi funziona.
Ma devo avere installato sulla macchina remota , programmi del tipo GDM, XDM, ecc...
oppure basta quello che installa Xfce4 ??
Gyrus
Last edited by Gyrus on Sat Apr 02, 2005 1:03 pm; edited 2 times in total |
|
Back to top |
|
 |
zebragialla n00b

Joined: 31 Mar 2005 Posts: 34
|
Posted: Fri Apr 01, 2005 1:46 am Post subject: |
|
|
Io uso nomachine, ma non è stato facile configurarlo. Cerca i pacchetti nxclient e nxserver |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Fri Apr 01, 2005 8:14 am Post subject: |
|
|
Dopo che mi sono loggato al PC remoto tramite ssh, do il comando, seguente ma
non funziona ....
Code: | PCREMOTO root # DISPLAY=IP_PC_LOCALE startxfce4 &
[1] 23404
PCREMOTO root # /usr/bin/startxfce4: X server already running on display IP_PC_LOCALE
xrdb: Can't open display 'IP_PC_LOCALE'
Agent pid 23411
which: no dbus-launch in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin)
(xfce4-session:23414): Gtk-WARNING **: cannot open display:
Agent pid 23411 killed
|
il comando
Code: | echo $DISPLAY , non restituisce nulla |
Sulla macchina remota e' installato solo xfce4 con tutte le relative dipendenze.
Gyrus |
|
Back to top |
|
 |
IlGab Guru


Joined: 26 Nov 2004 Posts: 486
|
Posted: Fri Apr 01, 2005 8:16 am Post subject: |
|
|
Code: |
export DISPLAY=IP_LOCALE:0
startxfce4
|
Oppure
Code: |
env DISPLAY=IP_LOCALE:0 startxfce4
|
Può essere che così funziona ? |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Fri Apr 01, 2005 8:22 am Post subject: |
|
|
Nulla, stessa cosa se do , 1 come display ....
Code: | PC_REMOTO root # export DISPLAY=IP_LOCALE:0
PC_REMOTO root # startxfce4 &
[1] 23428
PC_REMOTO root # /usr/bin/startxfce4: X server already running on display IP_LOCALE:0
Xlib: connection to "IP_LOCALE:0.0" refused by server
Xlib: No protocol specified
xrdb: Can't open display 'IP_LOCALE:0'
Agent pid 23438
which: no dbus-launch in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin)
Xlib: connection to "IP_LOCALE:0.0" refused by server
Xlib: No protocol specified
(xfce4-session:23441): Gtk-WARNING **: cannot open display:
Agent pid 23438 killed
[1]+ Done startxfce4
|
|
|
Back to top |
|
 |
IlGab Guru


Joined: 26 Nov 2004 Posts: 486
|
Posted: Fri Apr 01, 2005 8:41 am Post subject: |
|
|
Quote: |
Xlib: connection to "IP_LOCALE:0.0" refused by server
|
La macchina locale ha un X server attivo che ascolta sullaporta 6000 ? Se non sbaglio di default X su gentoo non mette il serve in ascolto sul tcp.
Hai aggiunto gli host che possono collegarsi all' X server con
Code: |
xhost + INDIRIZZO_IP
|
|
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Fri Apr 01, 2005 8:48 am Post subject: |
|
|
IlGab wrote: | Quote: |
Xlib: connection to "IP_LOCALE:0.0" refused by server
|
La macchina locale ha un X server attivo che ascolta sullaporta 6000 ? Se non sbaglio di default X su gentoo non mette il serve in ascolto sul tcp.
Hai aggiunto gli host che possono collegarsi all' X server con
Code: |
xhost + INDIRIZZO_IP
|
|
No, non ho nussun server X attivo, con un ps -A , X non c'e'.
Non ho aggiunto nessun host ...  |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Fri Apr 01, 2005 3:34 pm Post subject: |
|
|
Ho messo VNC,
Ha funzionato subito, veloce multipiattaforma.
Nel file di configurazione di /root/vnc/xstartup , ho messo (al posto di twm)
startxfce4 &
e adesso ho xfce4 da remoto.
Buon lavoro a tutti
Gyrus |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Fri Apr 01, 2005 3:45 pm Post subject: |
|
|
Per favore metti il tag [Risolto] al titolo del thread. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Fri Apr 01, 2005 5:12 pm Post subject: |
|
|
Io lo metto , ma il problema originale non e' risolto ......
Il DISPLAY continua a non andare ..... |
|
Back to top |
|
 |
X-Act! Apprentice


Joined: 22 Nov 2004 Posts: 245 Location: /home/xact/
|
Posted: Fri Apr 01, 2005 7:59 pm Post subject: |
|
|
Gyrus wrote: | ma il problema originale non e' risolto ......
|
La soluzione te l'ha data IlGab: devi mettere il server X in ascolto su una porta tcp per potertici collegare da remoto e poi devi autorizare l'ip dei client con
_________________ "Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Sat Apr 02, 2005 1:03 pm Post subject: |
|
|
Ok, adesso ho capito ...
dalla risposta non capivo bene cosa dovevo fare.
Grazie a tutti.
Gyrus |
|
Back to top |
|
 |
|