From: Ben B. <ben...@gm...> - 2009-08-25 20:12:41
|
OK. I can now ping from one machine to another and vice-versa (I think). I set my TAP-Win32 to the same address as my colinux which happened to be 10.0.2.15 mask 255.255.255.0 and left default gateway blank. here is a snapshot of the related section of my processes. Elipses ..... means it was truncated by the console window root 2263 0.0 0.1 2060 372 ? S<s 15:40 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0 root 2286 0.0 0.3 5276 980 ? S<s 15:40 0:00 /usr/sbin/sshd root 2287 0.0 0.6 4120 1676 tty1 S 15:40 0:00 -bash root 2305 0.2 2.4 8520 6264 tty1 S 15:45 0:00 Xtightvnc :1 -desktop X -auth /root/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000...... root 2312 0.3 4.6 22516 12000 tty1 S 15:45 0:00 xfce4-terminal --geometry=80x24+10+10 --title X Desktop root 2313 0.1 3.2 16688 8364 tty1 S 15:45 0:00 x-window-manager root 2318 0.0 0.2 2964 696 tty1 S 15:45 0:00 dbus-launch --autolaunch e169c71230fc8d642638262f4a899d73 --binary-syntax --close-stderr root 2319 0.0 0.3 2480 844 ? Ss 15:45 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session root 2320 0.0 1.5 18472 3932 ? Ss 15:45 0:00 xfce-mcs-manager root 2321 0.0 0.2 2748 760 tty1 S 15:45 0:00 gnome-pty-helper root 2322 0.0 0.6 4104 1636 pts/0 Ss+ 15:45 0:00 bash root 2327 0.0 0.3 3580 1016 tty1 R+ 15:49 0:00 ps aux Restating the objective: is to run VNC in windows to display a desktop or some such from co-linux. I can start vncserver in colinux and set a password. I also tried export DISPLAY=10.0.2.15:1 xclock & [1] 2334 COLINUX:~/.VNC# Client is not authorized to connect to ServerError: Can't open display 10.0.2.15:1 [1]+ Exit 1 xclock colinux:~/.vnc# tried switching to non-root user and get the same error (I'm assuming with that error I can't go further however I tried anyway thinking I might get a blank screen and this is what I got) Whenever I try to connect from windows using RealVNC or TightVNC i get the same errors: Failed to connect to server(10.0.2.15) I've tried connecting to: 10.0.2.15 10.0.2.15:1 10.0.2.15:5900 10.0.2.15:5901 -ben ------------------------------ On Sat, Aug 22, 2009 at 2:08 AM, baldyeti <e_...@ho...> wrote: > I know there are several ways to setup networking for > colinux and the instructions on the wiki can be confusing. > As I said, I think your windows tun/tap address should be > on the same IP subnetwork as your virtual linux. > > In my case I have > > C:\temp>ipconfig /all > ... > Ethernet adapter tuntap: > Description . . . . . . . . . . . : TAP-Win32 Adapter V8 (coLinux) > Physical Address. . . . . . . . . : 00-FF-77-A4-F2-4C > Dhcp Enabled. . . . . . . . . . . : No > IP Address. . . . . . . . . . . . : 192.168.0.1 > Subnet Mask . . . . . . . . . . . : 255.255.255.0 > Default Gateway . . . . . . . . . : > > shoebox:~# ifconfig > eth0 Link encap:Ethernet HWaddr 00:ff:39:6d:48:00 > inet addr:192.168.0.106 Bcast:192.168.0.255 > ... > > So: for me 192.168.0.x is the virtual IP network through > which host and guest communicate. In your case, either change > the tun/tap address to 10.0.2.xxx > or the linux addresss to 192.168.37.yyy > > On the windows side you also need to enable connection sharing of > your main (physical) connection (10.252.248.152) > > On 21/08/2009 22:50, Ben Brannen wrote: > > Looks like we are getting closer. I can't ping colinux from windows. > > > > colinux:~# ping 10.252.248.152 > > PING 10.252.248.152 (10.252.248.152) 56(84) bytes of data. > > 64 bytes from 10.252.248.152: icmp_seq=1 ttl=255 time=30.0 ms > > > > C:\>ping 10.0.2.15 > > Pinging 10.0.2.15 with 32 bytes of data: > > Request timed out. > > ... > > Ping statistics for 10.0.2.15: > > Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), > > > > -ben > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |