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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2008-01-17 08:30:33

  wojtekc - Użytkownik

wojtekc
Użytkownik
Zarejestrowany: 2007-11-23

Zdalny pulpit

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

 

#2  2008-01-18 09:12:42

  czadman - Bicycle repairman

czadman
Bicycle repairman
Skąd: Wrocław
Zarejestrowany: 2005-07-08

Re: Zdalny pulpit

podawaj więcej szczegółow, jest dużo sposobów na zdalne pulpity


[url=http://www.debian.org/][img]http://www.debian.org/logos/openlogo-nd-50.png[/img][/url]

Offline

 

#3  2008-01-18 23:49:52

  ukasz - Użytkownik

ukasz
Użytkownik
Skąd: wroclaw
Zarejestrowany: 2006-06-21

Re: Zdalny pulpit

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.


[img]http://wiblo.pl/wilk/userbars/debian_user_black.png[/img]

Offline

 

#4  2009-01-26 21:30:18

  vasylek - Użytkownik

vasylek
Użytkownik
Skąd: Gorlice
Zarejestrowany: 2008-12-08

Re: Zdalny pulpit

Posiadam domowa siec oparta na debianie.

Z komputera Lanoskiego chcialbym sie laczyc na debiana poprzez zdalny pulpit. Korzystalem z opisu tej strony:

[url]http://dug.net.pl/faq/faq-7-239-VNC.php[/url]

Zainstalowałem x11vnc na debianie. Po wpisaniu wg instrukcji x11vnc -usepw  pokazuje cos takiego:

Kod:

.
.
.
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: 

Kod:

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

 

#5  2009-01-27 21:15:53

  vasylek - Użytkownik

vasylek
Użytkownik
Skąd: Gorlice
Zarejestrowany: 2008-12-08

Re: Zdalny pulpit

Mam problem przy instalacji nxserwer, otoz wyskakuje taki blad:

Kod:

 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

 

#6  2009-01-27 22:09:36

  pasqdnik - Pijak ;-P

pasqdnik
Pijak ;-P
Skąd: Wrocław
Zarejestrowany: 2006-03-06

Re: Zdalny pulpit

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[/quote]


Dum spiro - spero ...
pozdrawiam, pasqdnik

Offline

 

#7  2009-01-28 09:40:12

  vasylek - Użytkownik

vasylek
Użytkownik
Skąd: Gorlice
Zarejestrowany: 2008-12-08

Re: Zdalny pulpit

[quote=pasqdnik]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[/quote]
[/quote]
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:

Kod:

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

 

#8  2009-01-28 13:06:02

  pasqdnik - Pijak ;-P

pasqdnik
Pijak ;-P
Skąd: Wrocław
Zarejestrowany: 2006-03-06

Re: Zdalny pulpit

[quote=vasylek]umiesz [..][/quote]
Kłamiesz.
SSH masz zainstalowane, odpalone i skonfigurowane do słuchania na 22 porcie ?
Skonfiguruj ssh tak, żeby polecenie:

Kod:

ssh 127.0.0.1

pozwoliło Ci na zalogowanie się.

Ostatnio edytowany przez pasqdnik (2009-01-28 13:06:42)


Dum spiro - spero ...
pozdrawiam, pasqdnik

Offline

 

#9  2009-01-28 13:41:29

  vasylek - Użytkownik

vasylek
Użytkownik
Skąd: Gorlice
Zarejestrowany: 2008-12-08

Re: Zdalny pulpit

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

 

#10  2009-01-28 15:32:41

  pasqdnik - Pijak ;-P

pasqdnik
Pijak ;-P
Skąd: Wrocław
Zarejestrowany: 2006-03-06

Re: Zdalny pulpit

Chyba masz taki plik jak node.conf ? Tam zmieniasz port.


Dum spiro - spero ...
pozdrawiam, pasqdnik

Offline

 

#11  2009-01-28 20:59:25

  vasylek - Użytkownik

vasylek
Użytkownik
Skąd: Gorlice
Zarejestrowany: 2008-12-08

Re: Zdalny pulpit

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

 

#12  2009-01-28 21:59:22

  pasqdnik - Pijak ;-P

pasqdnik
Pijak ;-P
Skąd: Wrocław
Zarejestrowany: 2006-03-06

Re: Zdalny pulpit

apt-file , find , locate ... to wszystko ma chyba jakieś manuale ...


Dum spiro - spero ...
pozdrawiam, pasqdnik

Offline

 

#13  2009-02-08 02:39:34

  mi5tic - Członek DUG

mi5tic
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-08-24

Re: Zdalny pulpit

[i]/usr/NX/etc/node.cfg[/i]
A port przydało by się IMO zmienić również w [i]server.cfg[/i]

Pzdr.


[b][color=cadetblue]Lubię słowo [i]indolencja[/i].
Dzięki niemu moje lenistwo wydaje się czymś niezwykle wyrafinowanym.[/color][/b]
[i][b] - Bern Williams[/b][/i]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.011 seconds, 12 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00126 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.145.91.152' WHERE u.id=1
0.00066 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.91.152', 1732290651)
0.00042 SELECT * FROM punbb_online WHERE logged<1732290351
0.00058 DELETE FROM punbb_online WHERE ident='18.224.55.63'
0.00064 SELECT topic_id FROM punbb_posts WHERE id=109182
0.00007 SELECT id FROM punbb_posts WHERE topic_id=10373 ORDER BY posted
0.00036 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=10373 AND t.moved_to IS NULL
0.00033 SELECT search_for, replace_with FROM punbb_censoring
0.00348 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=10373 ORDER BY p.id LIMIT 0,25
0.00091 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=10373
Total query time: 0.00884 s