Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3052 connectés 

 


 Mot :   Pseudo :  
 
 Page :   1  2  3
Auteur Sujet :

lancer vnc à partir de xp pour avoir knoppix

n°396770
GOCK
Posté le 26-01-2004 à 22:36:18  profilanswer
 

Reprise du message précédent :
excuse moi mais jsuis pas trop doué avec linux!
 
je fait donc  
vncconnect 192.168.0.1:5900   ?

mood
Publicité
Posté le 26-01-2004 à 22:36:18  profilanswer
 

n°396774
Klaimant
?
Posté le 26-01-2004 à 22:38:31  profilanswer
 

:O
 
C'estpas de linux que je te parle, c'est de bon sens :O
 
On te dit de scanner ta machine knoppix pour voir sur quel port est ouvert ton vnc et toi tu scan ton XP :O


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°396788
GOCK
Posté le 26-01-2004 à 22:43:57  profilanswer
 

donc je fait
nmap -p -65535 192.168.0.1   ?
 
je commence à ne plus m'en sortir!!!

n°396789
Klaimant
?
Posté le 26-01-2004 à 22:44:28  profilanswer
 

voila fais ca :D


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°396790
GOCK
Posté le 26-01-2004 à 22:46:29  profilanswer
 

root@knoppix:~# nmap -p -65535 192.168.0.1
 
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
WARNING:  Could not determine what interface to route packets through to 192.168.0.1, changing ping scantype to ICMP ping only
pcap_open_live: bind: No such device
There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.
*BSD:  If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support.  If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).
SOLARIS:  If you are trying to scan localhost and getting '/dev/lo0: No such file or directory', complain to Sun.  I don't think Solaris can support advanced localhost scans.  You can probably use "-P0 -sT localhost" though.
 
 
QUITTING!

n°396794
Klaimant
?
Posté le 26-01-2004 à 22:48:34  profilanswer
 

nmap -p -65535 -sT 192.168.0.1


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°396801
GOCK
Posté le 26-01-2004 à 22:51:08  profilanswer
 

root@knoppix:~# nmap -p -65535 -sT 192.168.0.1
 
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
WARNING:  Could not determine what interface to route packets through to 192.168.0.1, changing ping scantype to ICMP ping only
pcap_open_live: bind: No such device
There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.
*BSD:  If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support.  If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).
SOLARIS:  If you are trying to scan localhost and getting '/dev/lo0: No such file or directory', complain to Sun.  I don't think Solaris can support advanced localhost scans.  You can probably use "-P0 -sT localhost" though.
 
 
QUITTING!

n°396808
Klaimant
?
Posté le 26-01-2004 à 22:54:05  profilanswer
 

nmap -p 1-65535 -sT 192.168.0.1


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°396850
GOCK
Posté le 26-01-2004 à 23:22:17  profilanswer
 

root@knoppix:~# nmap -p 1-65535 -sT 192.168.0.1  
 
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )  
WARNING:  Could not determine what interface to route packets through to 192.168.0.1, changing ping scantype to ICMP ping only  
pcap_open_live: bind: No such device  
There are several possible reasons for this, depending on your operating system:  
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.  
*BSD:  If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support.  If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).  
SOLARIS:  If you are trying to scan localhost and getting '/dev/lo0: No such file or directory', complain to Sun.  I don't think Solaris can support advanced localhost scans.  You can probably use "-P0 -sT localhost" though.  
 
 

n°396880
zera
Posté le 26-01-2004 à 23:56:29  profilanswer
 

bref moi pour me connecter sur mon server vnc linux depuis windows je me sers de mon browser
 
http://192.X.X.X:5800/
c tlé tlé bien
:)

mood
Publicité
Posté le 26-01-2004 à 23:56:29  profilanswer
 

n°397186
GOCK
Posté le 27-01-2004 à 20:15:07  profilanswer
 

marche pas ton truc!

n°397211
dam1330
...
Posté le 27-01-2004 à 21:06:34  profilanswer
 

je suppose que tu as KDE, ya des outils pour le VNC, ca marche tout betement

n°397218
GOCK
Posté le 27-01-2004 à 21:08:23  profilanswer
 

ouai mais tous les messages précédents en parlent  
mon problème existe toujours!


Message édité par GOCK le 27-01-2004 à 21:09:14
n°397236
GOCK
Posté le 27-01-2004 à 21:25:09  profilanswer
 

pffff c'est pénible!
personne n'a une solution?

n°397240
Klaimant
?
Posté le 27-01-2004 à 21:31:09  profilanswer
 

trouver ton port :)


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397243
GOCK
Posté le 27-01-2004 à 21:34:55  profilanswer
 

tu confirmes les commandes qui ont été citées ds les messages précédents?
car j'ai comme l'impression que tout à été tenté!

n°397244
Klaimant
?
Posté le 27-01-2004 à 21:35:22  profilanswer
 

tu es bien sur d'avoir installé ton server vnc ??


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397247
GOCK
Posté le 27-01-2004 à 21:41:31  profilanswer
 

sur le knoppix?
j'ai lancé vncserver et il m'affiche
New 'X' desktop is knoppix:1
 
Starting applications specified in /etc/X11/Xsession
Log file is /root/.vnc/knoppix:1.log

n°397252
GOCK
Posté le 27-01-2004 à 21:45:40  profilanswer
 

j'utilise le poste xp branché sur la carte réseau de knoppix où est configuré le partage adsl, cela peux t'il perturber l'ouverture de vnc à partir de xp?

n°397263
Mjules
Modérateur
Parle dans le vide
Posté le 27-01-2004 à 22:01:07  profilanswer
 

Sur la machine Knoppix
 
vérifie que vnc est lancé :

ps -A|grep vnc|grep -v grep


 
si c'est bon, tu devrais récupérer une ligne comme ça :

10476 pts/1    00:00:01 Xvnc


 
si tu n'as rien, c'est qu'il n'est pas lancé.
 
si il est lancé, vérifie qu'il écoute bien :

nmap -p 1-65535 -sT 192.168.0.1  


 
tu dois récupérer ce genre de chose :

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on tue_amour.jules.ici (192.168.0.1):
(The 65530 ports scanned but not shown below are in state: closed)
Port       State       Service
139/tcp    open        netbios-ssn              
631/tcp    open        ipp                      
5801/tcp   open        vnc-http-1              
5901/tcp   open        vnc-1                    
6001/tcp   open        X11:1                    
 
Nmap run completed -- 1 IP address (1 host up) scanned in 14 seconds


 
Sur la machine Windows
 
si tu ne l'as pas encore fait, récupère et installes nmap pour windows :
http://www.insecure.org/nmap/nmap_download.html
 
refais un scan de ta machine Knoppix à partir de windows, tu dois retrouver le même genre de sortie que quand tu t'es autoscanné sous linux.
 
si tu as la bonne sortie, ouvres ton navigateur et va sur cette adresse :

Code :
  1. http://192.168.0.1:5901    /* le 5901 est à adapter en fonction du port renvoyé par nmap pour vnc-http */


 
si ce n'est pas bon (nmap ne te renvoie rien), alors c'est qu'il y a un firewall actif sur la knoppix.
pour le désactiver, sur ta knoppix, en root, tapes :

iptables -F
iptables -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT


 
puis réessaye de te connecter
 
/!\ après avoir fait ça, il est probable que ton partage de connexion ne fonctionne plus jusqu'au prochain reboot. Mais une chose à la fois, on fera le mélange des 2 ensuite.


Message édité par Mjules le 27-01-2004 à 22:02:25

---------------
Celui qui pose une question est idiot 5 minutes. Celui qui n'en pose pas le reste toute sa vie. |  Membre du grand complot pharmaceutico-médico-scientifico-judéo-maçonnique.
n°397273
GOCK
Posté le 27-01-2004 à 22:16:57  profilanswer
 

bon voyons voir
1ere commande il reviens à la racice
 root@knoppix:~#
 
je le relance par vncserver
 
je réutilise la commande et pareil!


Message édité par GOCK le 27-01-2004 à 22:17:09
n°397278
Mjules
Modérateur
Parle dans le vide
Posté le 27-01-2004 à 22:18:54  profilanswer
 

pb de conf de vncserver alors, il refuse de se lancer


---------------
Celui qui pose une question est idiot 5 minutes. Celui qui n'en pose pas le reste toute sa vie. |  Membre du grand complot pharmaceutico-médico-scientifico-judéo-maçonnique.
n°397279
GOCK
Posté le 27-01-2004 à 22:22:05  profilanswer
 

comment je peux le configurer?
je ne connait que la commande pour démarrer vnc  
vncserver

n°397283
Mjules
Modérateur
Parle dans le vide
Posté le 27-01-2004 à 22:26:08  profilanswer
 

aucune idée, je m'en sert jamais


---------------
Celui qui pose une question est idiot 5 minutes. Celui qui n'en pose pas le reste toute sa vie. |  Membre du grand complot pharmaceutico-médico-scientifico-judéo-maçonnique.
n°397291
GOCK
Posté le 27-01-2004 à 22:35:05  profilanswer
 

mais j'ai lancé vncserver et il m'affiche  
New 'X' desktop is knoppix:1  
 
Starting applications specified in /etc/X11/Xsession  
Log file is /root/.vnc/knoppix:1.log  
 
c'est qu'il est bien lancé, non?

n°397295
Mjules
Modérateur
Parle dans le vide
Posté le 27-01-2004 à 22:38:22  profilanswer
 

si il n'est pas dans la liste des process :
ps -A  
c'est qu'il n'est pas lancé.


---------------
Celui qui pose une question est idiot 5 minutes. Celui qui n'en pose pas le reste toute sa vie. |  Membre du grand complot pharmaceutico-médico-scientifico-judéo-maçonnique.
n°397298
GOCK
Posté le 27-01-2004 à 22:43:04  profilanswer
 

a priori non
il faudrait que je le reinstalle donc

n°397300
Klaimant
?
Posté le 27-01-2004 à 22:45:45  profilanswer
 

configure vnc :O


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397302
GOCK
Posté le 27-01-2004 à 22:50:47  profilanswer
 

GOCK a écrit :

comment je peux le configurer?
je ne connait que la commande pour démarrer vnc  
vncserver

n°397306
Klaimant
?
Posté le 27-01-2004 à 22:52:09  profilanswer
 

regarde dans /etc/ si tu as pas un fichier vnc.conf ou du genre


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397312
GOCK
Posté le 27-01-2004 à 22:59:35  profilanswer
 

/etc/vnc.conf written by Marcus Brinkmann. This file is in the Public Domain.
#
# This is the configuration file for the vncserver package.
# It is perl syntax, but only variable assignment is allowed.
# A semicolon will be added if missing.
# Every value has suitable defaults, so you probably don't need any file.
#
# This file will be sourced by `vncserver' and `vncpasswd'.
# After this file, $(HOME)/.vncrc will be sourced, so values can be
# overwritten on a per-user basis. If you want to reactivate the default
# value there, you have to specify an empty value. For example, $fontPath
# will set to the default value after
#
# $fontPath = "/foo";
# $fontPath = "";
#
# If you are missing something, please let me know.
# Marcus.Brinkmann@ruhr-uni-bochum.de
 
# System configuration
# --------------------
#
# This section contains entries that should be true for all users.
 
# $vncClasses should be the path to the java classes of server.
# $vncClasses = "/usr/share/vncserver";
 
# $XFConfigPath   can be set to the global XF86Config file. This will be
#                 parsed to gain default values for $fontPath and $colorPath.
#                 If you want to disable this feature, point it to an
#                 invalid file, "/foo" for example.
# $XFConfigPath = "/etc/X11/XF86Config";
 
# $fontPath should be a comma seperated list of fonts to be added to the font
#           path. If not specified, and $XFConfigPath is valid, vncserver
#           will read the $fontPath from there. If both are not set, the
#           default will apply.
# Example: $fontPath = "tcp/localhost:7100";     # would make vnc to use xfs.
# Example: $fontPath = "";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/misc/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/Type1/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/Speedo/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/freefont/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/sharefont/";
# I don't know what the default is, though.
 
# $colorPath should be the RGB file to be used by X. This can also be taken from
#            XF86Config file if specified by $XFConfigPath
# $colorPath = "/usr/X11R6/lib/X11/rgb";
 
# User configuration
# ------------------
#
# This section contains entries that may change from user to user.
 
# $vncUserDir contains the filename for the log files directory of Xvnc
#             (the server) and the viewers that are connected to it.
# $vncUserDir = "$ENV{HOME}/.vnc";
 
# $vncPasswdFile contains the filename of the password file for Xvnc.
# $vncPasswdFile = $vncUserDir . "/passwd";
 
# $vncStartup points to a script that will be started at the very beginning.
# $vncStartup = "/etc/X11/Xsession";
 
# $xauthorityFile should be the path to the authority file that should be used
#                 by your vnc X server.
# $xauthorityFile = "$ENV{HOME}/.Xauthority";
 
# $defaultDesktopName should be set to the default name of the desktop.
#                     This can be changed at the command line with -name.
# $defaultDesktopName = "X";
 
# $geometry sets framebuffer width & height. Default will be calculated if
#           server is started from within a running X servers. Can be changed at
#           the commandline (-geometry). A fixed default will be used if
#           vncserver is not invoked in a running X session.
# Example:  $geometry ="640x480";
 
# $depth       sets the framebuffer color depth. Must be between 8 and 32.
# $pixelformat sets the default pixelformat.
#              The default will be calculated if none of both is specified
#              and when vncserver is called from within a running X servers.
#              Can be changed at the command line with option -depth.
#              A fixed default value will be used if vncserver is not
#              invoked in a running X session.
# Example:  $depth = "16";
#           $pixelformat = "rgb565";
 
# $getDefaultFrom sets the display from which you can query the default of
#                 the above three options, if you don't want to start vncserver
#                 from within a running X server. It will be added to the call
#                 of xdpyinfo.
#                 It is useful to get the default from the X server you will
#                 run xvncviewer in.
# Example:  $getDefaultFrom = "-display localhost:0"
 
# $rfbwait sets the maximum time in msec to wait for vnc client viewer.
# $rfbwait = "120000";

n°397314
Klaimant
?
Posté le 27-01-2004 à 23:00:31  profilanswer
 

ya rien de configurer la dedans :P


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397318
GOCK
Posté le 27-01-2004 à 23:03:20  profilanswer
 

c'est le seul fichier en relation avec vnc dans etc!

n°397320
Klaimant
?
Posté le 27-01-2004 à 23:04:16  profilanswer
 

Oui je vois bien que c'est celui, mais il n'est pas du tout configuré :)


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397322
GOCK
Posté le 27-01-2004 à 23:06:00  profilanswer
 

ça se complique, c'est pas simple à configurer  
on intervient dans le fichier vnc.conf?

n°397324
Klaimant
?
Posté le 27-01-2004 à 23:07:41  profilanswer
 

oui tu indique dedans les variables de configuration, mais je ne connais pas du tout vnc :)
 
tu peux essayer aussi dpkg-reconfigure vncserver


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397328
GOCK
Posté le 27-01-2004 à 23:11:37  profilanswer
 

voilà c'est après la commande dpkg-reconfigure vncserver
 
 
/etc/vnc.conf written by Marcus Brinkmann. This file is in the Public Domain.
#
# This is the configuration file for the vncserver package.
# It is perl syntax, but only variable assignment is allowed.
# A semicolon will be added if missing.
# Every value has suitable defaults, so you probably don't need any file.
#
# This file will be sourced by `vncserver' and `vncpasswd'.
# After this file, $(HOME)/.vncrc will be sourced, so values can be
# overwritten on a per-user basis. If you want to reactivate the default
# value there, you have to specify an empty value. For example, $fontPath
# will set to the default value after
#
# $fontPath = "/foo";
# $fontPath = "";
#
# If you are missing something, please let me know.
# Marcus.Brinkmann@ruhr-uni-bochum.de
 
# System configuration
# --------------------
#
# This section contains entries that should be true for all users.
 
# $vncClasses should be the path to the java classes of server.
# $vncClasses = "/usr/share/vncserver";
 
# $XFConfigPath   can be set to the global XF86Config file. This will be
#                 parsed to gain default values for $fontPath and $colorPath.
#                 If you want to disable this feature, point it to an
#                 invalid file, "/foo" for example.
# $XFConfigPath = "/etc/X11/XF86Config";
 
# $fontPath should be a comma seperated list of fonts to be added to the font
#           path. If not specified, and $XFConfigPath is valid, vncserver
#           will read the $fontPath from there. If both are not set, the
#           default will apply.
# Example: $fontPath = "tcp/localhost:7100";     # would make vnc to use xfs.
# Example: $fontPath = "";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/misc/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/Type1/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/Speedo/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/,";
#  $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/freefont/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/sharefont/";
# I don't know what the default is, though.
 
# $colorPath should be the RGB file to be used by X. This can also be taken from
#            XF86Config file if specified by $XFConfigPath
# $colorPath = "/usr/X11R6/lib/X11/rgb";
 
# User configuration
# ------------------
#
# This section contains entries that may change from user to user.
 
# $vncUserDir contains the filename for the log files directory of Xvnc
#             (the server) and the viewers that are connected to it.
# $vncUserDir = "$ENV{HOME}/.vnc";
 
# $vncPasswdFile contains the filename of the password file for Xvnc.
# $vncPasswdFile = $vncUserDir . "/passwd";
 
# $vncStartup points to a script that will be started at the very beginning.
# $vncStartup = "/etc/X11/Xsession";
 
# $xauthorityFile should be the path to the authority file that should be used
#                 by your vnc X server.
# $xauthorityFile = "$ENV{HOME}/.Xauthority";
 
# $defaultDesktopName should be set to the default name of the desktop.
#                     This can be changed at the command line with -name.
# $defaultDesktopName = "X";
 
# $geometry sets framebuffer width & height. Default will be calculated if
#           server is started from within a running X servers. Can be changed at
#           the commandline (-geometry). A fixed default will be used if
#           vncserver is not invoked in a running X session.
# Example:  $geometry ="640x480";
 
# $depth       sets the framebuffer color depth. Must be between 8 and 32.
# $pixelformat sets the default pixelformat.
#              The default will be calculated if none of both is specified
#              and when vncserver is called from within a running X servers.
#              Can be changed at the command line with option -depth.
#              A fixed default value will be used if vncserver is not
#              invoked in a running X session.
# Example:  $depth = "16";
#           $pixelformat = "rgb565";
 
# $getDefaultFrom sets the display from which you can query the default of
#                 the above three options, if you don't want to start vncserver
#                 from within a running X server. It will be added to the call
#                 of xdpyinfo.
#                 It is useful to get the default from the X server you will
#                 run xvncviewer in.
# Example:  $getDefaultFrom = "-display localhost:0"
 
# $rfbwait sets the maximum time in msec to wait for vnc client viewer.
# $rfbwait = "120000";


Message édité par GOCK le 27-01-2004 à 23:15:02
n°397335
Klaimant
?
Posté le 27-01-2004 à 23:19:41  profilanswer
 

et :??:


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397340
GOCK
Posté le 27-01-2004 à 23:29:11  profilanswer
 

ouai je vois ça n'a rien changé!!!!
 
bizarre tout ça, a priori dans knoppix rien n'est simplifié pour autant

n°397342
Klaimant
?
Posté le 27-01-2004 à 23:36:28  profilanswer
 

La configuration des services "serveurs" est bien souvent faite par un fichier de configuration à éditer et à modifier à ta sauce.
 
Tu as qq fois des outils graphique ou non.
 
Tu peux chercher des howtos sur google, je suis sur que la configuration d'un serveur vnc doit se trouver facilement :)


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
n°397350
GOCK
Posté le 27-01-2004 à 23:54:15  profilanswer
 

j'ai fait une recherche, et il n'y a rien de particulier et pas grand chose!
toi tu n'as pas ce fichier vnc.conf sur ta bécane par hasard?

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3

Aller à :
Ajouter une réponse
 

Sujets relatifs
[knoppix] impossible d'installer des fichiers tar et rpm dans knoppix[KNOPPIX] comment partagez vous la connexion internet avec knoppix
Faire du lancer de pingouinTomcat ne veut pas se lancer sur le port 80
[KNOPPIX] affichage page internet de konqueror trop longueKnoppix qui veut pas s'installer sur mon disque dur :(
connexion internet avec modem ethernet sur knoppix cdbootablePersonnaliser knoppix
Impossible de lancer x (newbie)Table des partitions (Knoppix).
Plus de sujets relatifs à : lancer vnc à partir de xp pour avoir knoppix


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR