LinuxMCE Forums

General => Installation issues => Topic started by: megacrypto on April 11, 2008, 04:35:38 pm

Title: Remote Desktop .. how can i?
Post by: megacrypto on April 11, 2008, 04:35:38 pm
Got my installation runnig, now tring to get all my devices setup, but im stuck at one point, which actullay is divided into two parts:
1. i notice that my system has 2 IPs (internal & external), i really dont understand why, and i still haven't researched the subject, but for example when the system is installed i get internal ip of 192.168.80.xx and external ip 192.168.80.xx although my entire network is on 192.168.1.xx where my router is on 192.168.1.1. so after i install i change the external ip to 192.168.1.15 and accordingly the subnet mask, the gateway, and dns. [this is part one but not the actual problem that i have]
2. actually all of this i guess is to enable myself to remote desktop from my laptop (win xp) using vnc instead of sitting infront of the tv. i instaled vncserver but could't connect to. i couldn't even get the orbiter to open from my laptop. i also tried putty, but no luck. (always thought that one can connect with putty - telnet - with no extra settings on the linux box)

so my question is:
- are there any firewalls on the LMCE that i should open ports on?
- which ip do i use to connect? i tried both but none of them even ping
Title: Re: Remote Desktop .. how can i?
Post by: seth on April 11, 2008, 07:38:35 pm
 :)
Ok, your networking issue is because you are running 2 dhcp servers. In order for lmce to get an internet IP on the external interface, you need that nic plugged into your existing router. The internal interface needs to be on a seperate switch. Otherwise it may have the opportunity to override the existing routers dhcp server. LMCE system was designed to replace or act as your home router to the internet. I had this issue initially. How I resolved it was disabling the dhcp server on my linksys router, plugging the internet modem directly into the core's external nic, and then plugging the core's internal nic into the router. This used the core as the dhcp server, and the router for the internet (the way it was meant to be used as) and because the internal nic is plugged into the linksys router, now all my wireless and wired connections can get to the internet via the core.

So you have 2 choices.
1. Get an addition switch for your internal lmce network, plug any MD's into this, and plug the core external interface into the router.

2. Plug your internet modem into the core external interface (eth0) and disable the dhcp server on your router, and plug the internal interface (eth1) into the router. Do not worry about firewalls/protection the core has all that included in its software platform.

As to your remote desktop reference, In order for this to work, you need to use option 2 for your network setup. This will give your laptop an ip from the core, allowing you to be able to communicate with  it. You will need to install vnc on the core, and then after getting an ip assigned from the core on your laptop, use the windows software to connect to the core.


Hope this helps.

Title: Re: Remote Desktop .. how can i?
Post by: teedge77 on April 11, 2008, 08:06:44 pm
if you do option 1, you can use the external ip that linuxmce gets from your router to vnc in. you will have to have the firewall either turned off or set to allow vnc to pass through though.
Title: Re: Remote Desktop .. how can i?
Post by: megacrypto on April 11, 2008, 09:05:41 pm
i finally found the firewall :) sorry, still very new to lmce

so, i disabled the firewall completly until i understand more what is going on. I got now the web interface on my laptop, and also putty works now for telnet. still vnc can not connect. i did start vncserver on the lmce box ?!?