Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam postawionego Debiana Etch i włączony zdalny pulpit. Co zrobić abym nie musiał za każdym razem akceptowac połączenia przez zd. pulpit? Mam komunikat o tym, że komputer o adresie IP XXX.XXX.XXX.XXX chce się połączyć. Mam opcje odmów i zezwól.
Offline
system -> preferencje -> zdalny pulpit
i tam odznacz pytaj o potwierdzenie
od tego momentu kazdy kto sie podlaczy i poprawnie wpisze haslo ma dostep do pulpitu bez wymagania potwierdzenia od ciebie.
darmowy klient do laczenia sie z windy to tightvnc.
Offline
Posiadam domowa siec oparta na debianie.
Z komputera Lanoskiego chcialbym sie laczyc na debiana poprzez zdalny pulpit. Korzystalem z opisu tej strony:
http://dug.net.pl/faq/faq-7-239-VNC.php
Zainstalowałem x11vnc na debianie. Po wpisaniu wg instrukcji x11vnc -usepw pokazuje cos takiego:
. . . 18/01/2009 10:14:22 *** XOpenDisplay failed. No -display or DISPLAY. 18/01/2009 10:14:22 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort. 18/01/2009 10:14:22 *** 1 2 3 4 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified 18/01/2009 10:14:26 18/01/2009 10:14:26 *************************************** 18/01/2009 10:14:26 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. *** There may be "Xlib:" error messages above with details about the failure. Some tips and guidelines: * An X server (the one you wish to view) must be running before x11vnc is started: x11vnc does not start the X server. * You must use -display <disp>, -OR- set and export your DISPLAY environment variable to refer to the display of the desired X server. - Usually the display is simply ":0" (in fact x11vnc uses this if you forget to specify it), but in some multi-user situations it could be ":1", ":2", or even ":137". Ask your administrator or a guru if you are having difficulty determining what your X DISPLAY is. * Next, you need to have sufficient permissions (Xauthority) to connect to the X DISPLAY. Here are some Tips: - Often, you just need to run x11vnc as the user logged into the X session. So make sure to be that user when you type x11vnc. - Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE file will be accessed. The cookie file contains the secret key that allows x11vnc to connect to the desired X DISPLAY. - You can explicity indicate which MIT-MAGIC-COOKIE file should be used by the -auth option, e.g.: x11vnc -auth /home/someuser/.Xauthority -display :0 x11vnc -auth /tmp/.gdmzndVlR -display :0 you must have read permission for the auth file. - If NO ONE is logged into an X session yet, but there is a greeter login program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need to find and use the raw display manager MIT-MAGIC-COOKIE file. Some examples for various display managers: gdm: -auth /var/gdm/:0.Xauth kdm: -auth /var/lib/kdm/A:0-crWk72 xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk dtlogin: -auth /var/dt/A:0-UgaaXa Only root will have read permission for the file, and so x11vnc must be run as root. The random characters in the filenames will of course change, and the directory the cookie file resides in may also be system dependent. Sometimes the command "ps wwaux | grep auth" can reveal the file location. See also: http://www.karlrunge.com/x11vnc/#faq debian:/home/vasylek# clear debian:/home/vasylek# x11vnc -usepw 18/01/2009 10:14:42 -usepw: found /root/.vnc/passwd Settings: display: null authfile: null subwin: 0x0 -sid mode: 0 clip: null flashcmap: 0 shiftcmap: 0 force_idx: 0 cmap8to24: 0 8to24_opts: null 24to32: 0 visual: null overlay: 0 ovl_cursor: 1 scaling: 0 1.0000 viewonly: 0 shared: 0 conn_once: 1 timeout: 0 inetd: 0 filexfer: 1 http: 0 connect: null connectfile null vnc_conn: 1 allow: null input: null passfile: null unixpw: 0 unixpw_lst: null stunnel: 0 accept: null accept: null gone: null users: null using_shm: 1 flipbytes: 0 onetile: 0 solid: null blackout: null xinerama: 1 xtrap: 0 xrandr: 0 xrandrmode: null padgeom: null logfile: null logappend: 0 flag: null rc_file: "" norc: 0 dbg: 0 bg: 0 mod_tweak: 1 isolevel3: 0 xkb: 0 skipkeys: null sloppykeys: 0 skip_dups: 0 addkeysyms: 1 xkbcompat: 0 clearmods: 0 remap: null norepeat: 1 norepeatcnt:2 nofb: 0 watchbell: 1 watchsel: 1 watchprim: 1 seldir: null cursor: 1 multicurs: 0 curs_mode: null arrow: 1 xfixes: 1 alphacut: 240 alphafrac: 0.33 alpharemove:0 alphablend: 1 cursorshape:1 cursorpos: 1 xwarpptr: 0 buttonmap: null dragging: 1 wireframe: 0xff,3,0,32+8+8+8,all,0.15+0.30+5.0+0.125 wirecopy: always scrollcopy: always scr_area: 60000 scr_skip: ##Soffice.bin,##StarOffice scr_inc: ##Nomatch scr_keys: null scr_term: null scr_keyrep: null scr_parms: 0+64+32+32,0.02+0.10+0.9,0.03+0.06+0.5+0.1+5.0 fixscreen: null noxrecord: 0 grabbuster: 0 ptr_mode: 2 inputskip: 10 speeds: null wmdt: null debug_ptr: 0 debug_key: 0 defer: 30 waitms: 30 wait_ui: 2.00 nowait_bog: 0 slow_fb: 0.00 readtimeout: 20 take_naps: 1 sb: 60 fbpm: 1 xdamage: 1 xd_area: 20000 xd_mem: 1.000 sigpipe: null threads: 0 fs_frac: 0.75 gaps_fill: 4 grow_fill: 3 tile_fuzz: 2 snapfb: 0 rawfb: null pipeinput: null gui: 0 gui_mode: null noremote: 0 unsafe: 0 privremote: 0 safer: 0 nocmds: 0 deny_all: 0 pid: 3414 18/01/2009 10:14:42 x11vnc version: 0.8.2 lastmod: 2006-07-12 18/01/2009 10:14:42 18/01/2009 10:14:42 *** XOpenDisplay failed. No -display or DISPLAY. 18/01/2009 10:14:42 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort. 18/01/2009 10:14:42 *** 1 2 3 4 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified 18/01/2009 10:14:46 18/01/2009 10:14:46 *************************************** 18/01/2009 10:14:46 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. *** There may be "Xlib:" error messages above with details about the failure. Some tips and guidelines: * An X server (the one you wish to view) must be running before x11vnc is started: x11vnc does not start the X server. * You must use -display <disp>, -OR- set and export your DISPLAY environment variable to refer to the display of the desired X server. - Usually the display is simply ":0" (in fact x11vnc uses this if you forget to specify it), but in some multi-user situations it could be ":1", ":2", or even ":137". Ask your administrator or a guru if you are having difficulty determining what your X DISPLAY is. * Next, you need to have sufficient permissions (Xauthority) to connect to the X DISPLAY. Here are some Tips: - Often, you just need to run x11vnc as the user logged into the X session. So make sure to be that user when you type x11vnc. - Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE file will be accessed. The cookie file contains the secret key that allows x11vnc to connect to the desired X DISPLAY. - You can explicity indicate which MIT-MAGIC-COOKIE file should be used by the -auth option, e.g.: x11vnc -auth /home/someuser/.Xauthority -display :0 x11vnc -auth /tmp/.gdmzndVlR -display :0 you must have read permission for the auth file. - If NO ONE is logged into an X session yet, but there is a greeter login program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need to find and use the raw display manager MIT-MAGIC-COOKIE file. Some examples for various display managers: gdm: -auth /var/gdm/:0.Xauth kdm: -auth /var/lib/kdm/A:0-crWk72 xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk dtlogin: -auth /var/dt/A:0-UgaaXa Only root will have read permission for the file, and so x11vnc must be run as root. The random characters in the filenames will of course change, and the directory the cookie file resides in may also be system dependent. Sometimes the command "ps wwaux | grep auth" can reveal the file location. See also: http://www.karlrunge.com/x11vnc/#faq
a po instalacji xvncviewer pokazuje:
Czytanie list pakietĂłw... Gotowe Budowanie drzewa zaleĹźnoĹi... Gotowe Odczyt dodatkowych informacji o stanie Inicjalizacja stanĂłw pakietĂłw... Gotowe Zapisywanie dodatkowych informacji o stanie... Gotowe Odczyt opisĂłw zadaĹ Odczyt opisĂłw zadaĹ... 0% Odczyt opisĂłw zadaĹ... 0% ... Gotowe Budowanie bazy etykiet... Gotowe NastÄpujÄ ce pakiety zostaĹy zatrzymane: bind9 bind9-doc bind9-host dnsutils iceweasel iceweasel-gnome-support libbind9-0 libdns22 libisc11 libisccc0 libisccfg1 liblwres9 libmozjs0d libnspr4-0d libnss3-0d libssl0.9.8 libxul-common libxul0d linux-image-2.6.18-6-486 login lwresd netatalk openssl passwd spamassassin spamc xulrunner-gnome-support 0 pakietĂłw uaktualnianych, 0 instalowanych, 0 do usuniÄcia i 27 nie uaktualnianych. Do pobrania 0B archiwĂłw. ZajÄte po rozpakowaniu: 0B. Zapisywanie dodatkowych informacji o stanie... Gotowe
co jest nie tak?
Offline
Mam problem przy instalacji nxserwer, otoz wyskakuje taki blad:
dpkg -i nxserver_3.1.0-2_i386.deb (Odczytywanie bazy danych ... 112818 plikĂłw i katalogĂłw obecnie zainstalowanych.) Przygotowanie do zastÄ pienia nxserver 3.1.0-2 (wykorzystujÄ c nxserver_3.1.0-2_i386.deb) ... Rozpakowanie pakietu zastÄpujÄ cego nxserver ... Konfigurowanie nxserver (3.1.0-2) ... NX> 701 Updating: server at: pon sty 19 10:08:50 2009. NX> 701 Autodetected system: debian. NX> 701 Update log is: /usr/NX/var/log/update. NX> 701 Checking NX server configuration using /usr/NX/etc/server.cfg file. NX> 723 Cannot start NX statistics: NX> 709 NX statistics are disabled for this server. NX> 701 WARNING: Error when trying to connect to NX server. Error is: NX> 701 WARNING: ssh: connect to host 127.0.0.1 port 22: Connection refused NX> 701 WARNING: NX has been configured to use the SSH server on default port NX> 701 WARNING: 22 but no SSH daemon is listening on this port. When the NX> 701 WARNING: installation completes, please ensure that SSHD is installed NX> 701 WARNING: and is up and running. If you want to contact SSHD daemon on NX> 701 WARNING: a port different from 22, you need to configure NX Server and NX> 701 WARNING: Node accordingly. More information is available on the NoMachine NX> 701 WARNING: Knowledge Base at: http://www.nomachine.com/kb/index.php NX> 701 Update of NX server has been completed with warnings NX> 701 Please review the update log for details. NX> 701 Bye.
co mozna z tym zrobic??
pozdrawiam
Offline
A czytać umiesz ?
NX> 701 WARNING: Error when trying to connect to NX server. Error is:
NX> 701 WARNING: ssh: connect to host 127.0.0.1 port 22: Connection refused
NX> 701 WARNING: NX has been configured to use the SSH server on default port
NX> 701 WARNING: 22 but no SSH daemon is listening on this port. When the
NX> 701 WARNING: installation completes, please ensure that SSHD is installed
NX> 701 WARNING: and is up and running. If you want to contact SSHD daemon on
NX> 701 WARNING: a port different from 22, you need to configure NX Server and
NX> 701 WARNING: Node accordingly. More information is available on the NoMachine
NX> 701 WARNING: Knowledge Base at: http://www.nomachine.com/kb/index.php
Offline
pasqdnik napisał(-a):
A czytać umiesz ?
NX> 701 WARNING: Error when trying to connect to NX server. Error is:
NX> 701 WARNING: ssh: connect to host 127.0.0.1 port 22: Connection refused
NX> 701 WARNING: NX has been configured to use the SSH server on default port
NX> 701 WARNING: 22 but no SSH daemon is listening on this port. When the
NX> 701 WARNING: installation completes, please ensure that SSHD is installed
NX> 701 WARNING: and is up and running. If you want to contact SSHD daemon on
NX> 701 WARNING: a port different from 22, you need to configure NX Server and
NX> 701 WARNING: Node accordingly. More information is available on the NoMachine
NX> 701 WARNING: Knowledge Base at: http://www.nomachine.com/kb/index.php
umiesz - ale chciałem poznac Wasza opinie
we wczesniejszym poscie zapomniałem dodac, iz w powyzszym komunikacie wynika brak dostepu do lo na 22 porcie
wiec uzylem taka regulke, ale cos dalej nie dziala:
iptables -A INPUT -s 0/0 -d 127.0.0.1 -p tcp --dport 22 -j ACCEPT iptables -A OUTPUT -s 0/0 -d 127.0.0.1 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -s 0/0 -d 127.0.0.1 -p udp --dport 22 -j ACCEPT iptables -A OUTPUT -s 0/0 -d 127.0.0.1 -p udp --dport 22 -j ACCEPT
Offline
vasylek napisał(-a):
umiesz [..]
Kłamiesz.
SSH masz zainstalowane, odpalone i skonfigurowane do słuchania na 22 porcie ?
Skonfiguruj ssh tak, żeby polecenie:
ssh 127.0.0.1
pozwoliło Ci na zalogowanie się.
Ostatnio edytowany przez pasqdnik (2009-01-28 13:06:42)
Offline
Tak mam skonfigurowane bo z niego korzystam logujac sie z innego hosta przez ssh.
Logowałem sie zawsze przez port 9122 bo go celowo zmieniłem, problem okazał sie ze mimo iz w iptables dopuscilem regulke dla 22 portu przez nxserwer to w samym pliku ssh.cfg tego nie zmienilem. Tu byl problem;]
czy nx tylko i wylacznie musi korzystac z 22?? czy mozna w opcjach gdzies zmienic?? Nie wiem ale jakos ssh przez 22 mi sie nie podoba
pozdrawiam
Offline
Chyba masz taki plik jak node.conf ? Tam zmieniasz port.
Offline
Probuje znalezc ten plik node.conf ale jakos nie wiem gdzie sie on znajduje - w /etc nie am ani w init.d
polecenie find mogloby pomoc ale ono szuka tylko ze sciazki w ktorej sie znajduje
Offline
apt-file , find , locate ... to wszystko ma chyba jakieś manuale ...
Offline
/usr/NX/etc/node.cfg
A port przydało by się IMO zmienić również w server.cfg
Pzdr.
Offline