Strona 1 z 2

Jak połączyć się z vpsem na Debianie Etch 4.0

: 06 lutego 2011, 00:18
autor: enigmo
Witam.
Potrzebuję korzystać z serwera vps, na którym zainstalowałem Debiana. Próbowałem instalować według poradnika z forum, lecz poprzez użycie polecenia:

Kod: Zaznacz cały

dpkg -i nazwa.deb
wyskakuje mi takie coś:

Kod: Zaznacz cały

vps:~# dpkg -i /tmp/nxserver_3.4.0-14_i386.deb
Selecting previously deselected package nxserver.
(Reading database ... 22263 files and directories currently installed.)
Unpacking nxserver (from .../tmp/nxserver_3.4.0-14_i386.deb) ...
dpkg: dependency problems prevent configuration of nxserver:
 nxserver depends on nxclient (>= 3.4.0); however:
  Package nxclient is not configured yet.
 nxserver depends on nxnode (>= 3.4.0); however:
  Package nxnode is not configured yet.
dpkg: error processing nxserver (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nxserver
Co według mnie znaczy, że coś nie tak jest z instalacja, co robić? Wszystko robię według tej instrukcji, tylko instalowałem nowszy program nx
http://debian.linux.pl/threads/18029-In ... pitu/page2

: 06 lutego 2011, 12:32
autor: Bastian
Na wstępie to zaisntaluj najnowszą wersję stabilną 6.0 (gorąca bułeczka) Skonfiguruj repozytoria w

Kod: Zaznacz cały

/etc/apt/sources.list
następnie wykonaj

Kod: Zaznacz cały

apt-get update
i wtedy instaluj programy, które chcesz

: 06 lutego 2011, 14:31
autor: enigmo
Zainstalowałem 5.0 32 bit, bo tylko taką mam dostępną najnowszą.

Kod: Zaznacz cały

/etc/apt/sources.list
Po wpisaniu tej linijki mam:

Kod: Zaznacz cały

permision deined
Dodane:
Poradziłem sobie z instalacją. Ale jak mam teraz zainstalować google chrome? Na tym vpsie mam Debiana 5.0.

: 06 lutego 2011, 14:40
autor: Bastian
Najnowszą wersją stabilną jest od dziś 6.0 pokaż wpisy w

Kod: Zaznacz cały

/etc/apt/sources.list
&quot pisze:Poradziłem sobie z instalacją. Ale jak mam teraz zainstalować google chrome? Na tym vpsie mam Debiana 5.0.
Nie bardzo rozumiem. Masz serwer VPS-a i chcesz instalować na nim przeglądarkę chrome?

: 06 lutego 2011, 14:44
autor: enigmo
Tak, o to mi chodzi. Znalazłem chrome na Debiana, tylko muszę wrzucić na swój serwer, bo z serwera chrome nie da się pobrać jako roota. A i nie łączy mi się w ogóle z internetem przeglądarka debianowa. Nie wiem czemu.

: 06 lutego 2011, 14:46
autor: shyte
On chce zdalny pulpit vnc/nomachine
Do tego trzeba zainstalować środowisko graficzne, np gnome na serwerze.

Jak już musisz to link poniżej:

http://kamilpietrzak.eu/2009/02/nomachi ... iecej-vnc/

: 06 lutego 2011, 14:47
autor: enigmo
Ech, kolego, to już zrobiłem. Mam pulpit. Teraz chcę na tym Debianie zainstalować przeglądarkę google chrome.

: 06 lutego 2011, 17:02
autor: Bastian
Problem u enigmo polega na tym ze ma za mało ramu (300) i jak na vpsie zainstalował gnome z całym dobrodziejstwem inwentarza, to nawet apt-get nie chciał działać. Obecnie aktualizuje system Squeeze, a następnie będzie odinstalowywał gnome i spróbuje z fluxboksem.

: 06 lutego 2011, 17:20
autor: enigmo
No właśnie i tu mam problem. Zainstalowałem fluxboksa, ale nie mam takiej opcji w nxie przy połączeniu. Próbowałem połączyć przez każdą, niestety bez skutku. Co mam robić?

: 06 lutego 2011, 19:35
autor: Bastian
2 minuty googlowania:
Now to make fluxbox work, you'll want to create a file and called /usr/NX/bin/nxwrapper and then add

#!/bin/bash
# Script origianlly found here:
# http://iain.cx/nx/nxwrapper.html

nxnode=$(ps -o ppid= -p $PPID)
nxagent=$(pgrep -P $nxnode -u $USER -x nxagent)
${1+"$@"}
exec kill $nxagent

then chmod the file to 755.

Then go to the nxclient on windows and click on config under the general tab make sure you have your host and port number correct then under Desktop select Unix and then custom. Then select settings then change to "Run the following command" and enter in the box /usr/NX/bin/nxwrapper /usr/bin/startfluxbox then select "New virtual desktop" then OK and then Save then Ok again. Now enter your password and enter login. You should see you fluxbox desktop.
źródło