Strona 1 z 2

Problem z intalacją Google Earth

: 31 stycznia 2008, 18:37
autor: Coremeil
Witam, przy instalacji mam problem:

Kod: Zaznacz cały

debian:/home/coremeil# sh GoogleEarthLinux.bin
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 4.2.205.5730..............................................................
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Co z tym można zrobić?

: 31 stycznia 2008, 19:04
autor: salmon
Nie uruchamiać jako root, tylko jako zwykły user.

: 31 stycznia 2008, 19:20
autor: Coremeil
Heh, niby taki szczegół ale pomogło.
A myślałem że intalować bez roota nic nie można... :shock:

: 31 stycznia 2008, 19:23
autor: salmon
Jeżeli potrzebujesz używać programu graficznego na prawach roota to używaj sudo.

: 31 stycznia 2008, 19:42
autor: Coremeil
Mam jeszcze jeden problem ale z grą Enemy Territory:

Kod: Zaznacz cały

coremeil@debian:~$ sh et-linux-2.55.x86.run
Verifying archive integrity... All good.
Uncompressing Enemy Territory 2.55.............................................
It is recommended to install as the super user
Please enter the root password or hit enter to continue as is
Password:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/tmp/selfgz18590/setup.sh: line 143: 18682 Naruszenie ochrony pamięci   "$setup" "$@" 2>>$NULL
The setup program seems to have failed on x86/glibc-2.1

See [url]http://zerowing.idsoftware.com/linux/[/url] for troubleshooting
Probówałem zainstalować tą gre z wyłączonymi X'ami to wypluwało to samo ale nie było:

Kod: Zaznacz cały

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

: 31 stycznia 2008, 19:45
autor: bolwerk
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Tutaj był błąd.
Jeśli chcesz uruchamiać z konsoli programy, które wykorzystują X'y jako inny user musisz najpierw zezwolić na to :)

Poczytaj sobie man xhost i zwróć uwagę na poszczególne opcje a w szczególności na "+" :)

Pozdrawiam ...

: 31 stycznia 2008, 19:48
autor: Bodzio
Coremeil pisze:coremeil@debian:~$ sh et-linux-2.55.x86.run
Verifying archive integrity... All good.
Uncompressing Enemy Territory 2.55.................................................
It is recommended to install as the super user
Please enter the root password or hit enter to continue as is
Password:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
najpierw w konsoli jako user:
xhost +
a potem jechaj jeszcze raz

: 31 stycznia 2008, 19:54
autor: Coremeil

Kod: Zaznacz cały

coremeil@debian:~$ su
Password:
debian:/home/coremeil# xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost:  unable to open display ":0.0"
debian:/home/coremeil# exit
exit
coremeil@debian:~$ xhost +
access control disabled, clients can connect from any host
coremeil@debian:~$
:(
Pobieram ponownie gre, bo może się coś źle pobrało. :-(

: 31 stycznia 2008, 20:02
autor: Bodzio
Coremeil pisze:debian:/home/coremeil# xhost +
bzdura, przecież wyraźnie napisałem jako user a Ty zrobiłeś to jako root
ludzie, czytajcie ze zrozumieniem - już dziś drugi taki :-P

: 31 stycznia 2008, 20:32
autor: Coremeil
Niżej jest jako zwykły user:
coremeil@debian:~$ su
Password:
debian:/home/coremeil# xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"
debian:/home/coremeil# exit
exit
coremeil@debian:~$ xhost +
access control disabled, clients can connect from any host

coremeil@debian:~$