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/.
Witam próbowałem ustawić odpalenie x11vnc przy starcie ale poległem nie dałem rady więc tak, chce teraz odpalić x11vnc zdalnie przez putty ale coś nie działa ,jak odpalę normalnie to działa nie wiem czemu .
Server:/# x11vnc ############################################################### #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# #@ @# #@ ** WARNING ** WARNING ** WARNING ** WARNING ** @# #@ @# #@ YOU ARE RUNNING X11VNC WITHOUT A PASSWORD!! @# #@ @# #@ This means anyone with network access to this computer @# #@ will be able to view and control your desktop. @# #@ @# #@ >>> If you did not mean to do this Press CTRL-C now!! <<< @# #@ @# #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# #@ @# #@ You can create an x11vnc password file by running: @# #@ @# #@ x11vnc -storepasswd password /path/to/passfile @# #@ or x11vnc -storepasswd /path/to/passfile @# #@ or x11vnc -storepasswd @# #@ @# #@ (the last one will use ~/.vnc/passwd) @# #@ @# #@ and then starting x11vnc via: @# #@ @# #@ x11vnc -rfbauth /path/to/passfile @# #@ @# #@ an existing ~/.vnc/passwd file from another VNC @# #@ application will work fine too. @# #@ @# #@ You can also use the -passwdfile or -passwd options. @# #@ (note -passwd is unsafe if local users are not trusted) @# #@ @# #@ Make sure any -rfbauth and -passwdfile password files @# #@ cannot be read by untrusted users. @# #@ @# #@ Use x11vnc -usepw to automatically use your @# #@ ~/.vnc/passwd or ~/.vnc/passwdfile password files. @# #@ (and prompt you to create ~/.vnc/passwd if neither @# #@ file exists.) Under -usepw, x11vnc will exit if it @# #@ cannot find a password to use. @# #@ @# #@ @# #@ Even with a password, the subsequent VNC traffic is @# #@ sent in the clear. Consider tunnelling via ssh(1): @# #@ @# #@ http://www.karlrunge.com/x11vnc/#tunnelling @# #@ @# #@ Or using the x11vnc SSL options: -ssl and -stunnel @# #@ @# #@ Please Read the documention for more info about @# #@ passwords, security, and encryption. @# #@ @# #@ http://www.karlrunge.com/x11vnc/#faq-passwd @# #@ @# #@ To disable this warning use the -nopw option, or put @# #@ the setting in your ~/.x11vncrc file. @# #@ @# #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# ############################################################### 03/11/2010 21:09:13 x11vnc version: 0.9.3 lastmod: 2007-09-30 03/11/2010 21:09:13 03/11/2010 21:09:13 *** XOpenDisplay failed. No -display or DISPLAY. 03/11/2010 21:09:13 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort. 03/11/2010 21:09:13 *** 1 2 3 4 No protocol specified 03/11/2010 21:09:17 03/11/2010 21:09:17 *************************************** 03/11/2010 21:09:17 *** 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. (however, see the recent -create option if that is what you really want). * 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 wwwaux | grep auth" can reveal the file location. See also: http://www.karlrunge.com/x11vnc/#faq Server:/#
Jak odpalam normalnie to jest podobnie tylko nie mogę wydawać już komend w tym terminalu , ponieważ czeka na połączenie , lecz przez putty jak by się odpalało a następnie zamykało czkając na nowe komendy. Można odpalić to jakoś w tle albo napisać banalny skrypt odpalający to w tle ????
Offline
Po pierwsze użytkownik musi być zalogowany
Po drugie x11vnc odpalasz jako user zalogowany do X-ów, a nie jako root.
Offline
A jak mam zalogować się ?? (No loguje się przy wywołaniu sesji w puttym ale to chyba nie o to chodzi)
Ostatnio edytowany przez Pablik (2010-11-03 21:30:07)
Offline
su nazwa_usera
Offline
ten sam efekt ;( , tam jest chyba jeszcze problem z " XOpenDisplay"
03/11/2010 21:09:13 *** XOpenDisplay failed. No -display or DISPLAY. 03/11/2010 21:09:13 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort. 03/11/2010 21:09:13 *** 1 2 3 4 No protocol specified 03/11/2010 21:09:17
Offline
a jest ktos zalogowany na x-ach na tym zdalnym kompie
Offline
a co to sa x-y ?? na tamtym kompie nikt nie jest zalogowany . Jak by podłączyć do niego monitor to jest to okienko logowania .
Offline
no to się x11vnc nie podłączysz, poczytaj o vncserver ustaw na komputerze i wtedy się łącz.
Chyba, że się wczytasz w opis x11vnc może jest opcja do podłączenia się do ekranu logowania
Offline
a co jest źle ??? co to są te x-y ??? no ja nie rozumiem jak tam zaloguje się i wpisze komendę x11vnc to działa a zdalnie nie mogę tego zrobić ??????? nawet jakimś skryptem ??????
Offline
x11vnc pozwala na podlaczenie do juz zalogowanego pulpitu (czyli jak zalogujesz sie na kompie, uruchomisz x11vnc to sie podlaczasz do tej sesji)
jak robisz to przez putty to nie ma zadnej aktywnej sesji w x'ach zeby sie do niej podlaczyc
Offline
czyli jak ustawie na tamtym komputerze auto logowanie to powinno śmigać (będzie można wtedy wywołać x11vnc przez putty) tak?
Offline
Time (s) | Query |
---|---|
0.00015 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00119 | 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.138.134.221' WHERE u.id=1 |
0.00078 | UPDATE punbb_online SET logged=1732597805 WHERE ident='3.138.134.221' |
0.00047 | SELECT * FROM punbb_online WHERE logged<1732597505 |
0.00087 | DELETE FROM punbb_online WHERE ident='18.118.255.51' |
0.00083 | DELETE FROM punbb_online WHERE ident='18.220.200.33' |
0.00076 | DELETE FROM punbb_online WHERE ident='18.226.17.251' |
0.00085 | DELETE FROM punbb_online WHERE ident='185.191.171.18' |
0.00077 | DELETE FROM punbb_online WHERE ident='3.129.67.248' |
0.00230 | DELETE FROM punbb_online WHERE ident='3.137.166.61' |
0.00072 | DELETE FROM punbb_online WHERE ident='3.139.108.99' |
0.00074 | DELETE FROM punbb_online WHERE ident='3.145.64.245' |
0.00069 | DELETE FROM punbb_online WHERE ident='3.15.6.140' |
0.00077 | DELETE FROM punbb_online WHERE ident='85.208.96.201' |
0.00049 | SELECT topic_id FROM punbb_posts WHERE id=157644 |
0.00006 | SELECT id FROM punbb_posts WHERE topic_id=17672 ORDER BY posted |
0.00055 | 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=17672 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00089 | 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=17672 ORDER BY p.id LIMIT 0,25 |
0.00078 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=17672 |
Total query time: 0.01475 s |