LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2014, 03:21 PM   #1
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Rep: Reputation: 0
Question Multiple Remote Connections from Windows


Hello,

Though I'm not necessarily new to Linux, I am new to Linux Mint. I've found that it most resembles Windows XP and thus have a need for it for a friend of mine.

Basically, I suggested that he could setup a beefy Linux box (which had an internet connection) where multiple Windows XP machines (which have no internet) could connect to. They would all be within the same network so there's no need to use something like TeamViewer as it's all local. Each user could connect to their own account (with nobody having access to anyone else's files) and do whatever they want. My friend is very paranoid and only wants the one machine with internet access and the rest to connect to the Linux box so that if one of those people needs to use Firefox or Thunderbird or whatever, they just quickly remote in and get it done.

This is easy enough in Windows and thought it would be relatively easy in Linux, but it doesn't seem so. I've tried installing and using XRDP and using the built-in Remote Desktop Connection in Windows, but when I connect all I get is a black screen with a cursor. Then I tried going the VNC route, but that seems to only work for one user/session and not multiple users able to login to their own accounts.

Is there something I'm missing or is this not quite possible? Do I need to move to Ubuntu Server or something to make this work? I would really prefer to stick with Linux Mint and whatever version that would work best (I'm currently using the default Cinnamon). Any advice or suggestions would be most appreciated. I apologize if this is posted in the wrong section or has been answered before.

Thank you. :-)
 
Old 07-23-2014, 04:19 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,745

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
RDP makes the common Windows assumption that a computer has one screen and one user. Not a good choice for Linux.

vnc should be fine for multiple users. Each user connects to a different port and X display. Maybe you were trying to connect to the same port. Use vncserver to start your Xvnc instances.

Another method is to install Cygwin-X on each XP system. Then they can log in and seamlessly run local Windows or remote X applications and have cut-and-paste work between them, etc. They can each run a separate xfce desktop on their XP systems if they want.
 
1 members found this post helpful.
Old 07-23-2014, 05:14 PM   #3
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Exclamation Clarify...

I appreciate the reply and the clarity between RDP and VNC. But would it be possible to elaborate on the details on setting up VNC properly? I want each Windows user to be able to login to their own Linux user account to be able to keep everything separate (and so they can't see each other's stuff). This would mean all of their own settings, email accounts, web favorites, etc. are saved for their own use. Is this possible or will all sessions be temporary?

Thanks again!

EDIT: To further clarify, the Windows machines must stay as-is, nothing can change on them except for the lack of internet connection. The Linux PC will be the users only means to access the internet. Files they need to save or use will be stored on their NAS, so the Linux PC will not be a server or anything, just a way to access the internet for web browsing and email.

Last edited by LittlBUGer; 07-23-2014 at 05:50 PM. Reason: Update
 
Old 07-24-2014, 06:17 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Do you actually need them to have Linux accts? Are they happy just on MSwin or are they going to learn Linux toolset?
If the answers are no & no, you could just use the Linus box as router and mailserver etc. ie just use it as a server and have them do work on their own boxes, with network drives for saving.
You may want to look into Samba for that.
You could even look at ltsp.org for another angle.

HTH
 
Old 07-24-2014, 06:39 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,189

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
I was thinking about cygwin with X and XDMCP, but I do not really see what is the goal.
 
Old 07-24-2014, 07:57 AM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,745

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
There are likely to be some differences with Mint but this is a pretty thorough guide to vnc.

http://wiki.centos.org/HowTos/VNC-Server
 
Old 07-24-2014, 08:54 AM   #7
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

@chrism01
He will have a separate hardware firewall and router setup as well as a NAS box. The NAS box may or may not be setup to handle their mail, though I think they will be moving to the 'cloud' for that. This Linux PC will be the only way the Windows users can get to the internet and the only thing they will need it to do is to go online and get email occasionally. The Windows PCs cannot have any internet access, only access to the internal network. The Windows PCs cannot change, they must stay exactly as they are, software and everything (since they work and he doesn't want to mess around with the software). The only thing that will change is the email and internet, as I mentioned.

My friend is the owner of a company. He is very paranoid about people stealing his data, contacts, etc. because it's happened before. He's already locked down the Windows machines so that access from USB is impossible and right now everyone uses Novell to get their email from a local Novell server. I am trying to move him to a more powerful NAS (away from Novell obviously) and move the email to the cloud. By doing this and implementing certain email policies as well as rules on the NAS, he should be pretty locked down for what his employees can and cannot do. Their current Windows PC setup needs to pretty much stay the same other than removing internet access and changing how they get their email and go online. He also very much dislikes Google and Microsoft, hence why I came up with a single Linux box to handle internet related items.

All my friend wanted was to get away from all PCs having access to the internet, upgrade his email server/NAS, and create a single entry/exit point for the internet, as well as securing the whole thing with a powerful hardware firewall/router. Maybe I'm trying too hard...

I figured having a single Linux PC would solve these issues and allow him to have that single point of entry/exit from/to the outside world, but apparently it seems that it may not be possible, or at least not easy enough and a bit sketchy in areas. Or maybe my idea is just completely nuts since it seems nobody can understand what I mean. To me it seems viable and makes sense, but I guess not. Thank you all for the information. I'll let him know we'll probably have to go a different route. I don't know exactly what yet, but I'll try to figure something out...

Last edited by LittlBUGer; 07-24-2014 at 09:07 AM.
 
Old 07-24-2014, 04:58 PM   #8
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Someone helped me come across possibly using either the Linux Terminal Server Project or Xephyr (in multiterminal mode). LTSP is more for Thin Client usage which isn't the case here, and though Xephyr might work, it seems pretty complicated to get going for such a simple use. I might just end up installing VirtualBox and having each person use their own VM or something.

I'm not sure yet, but any further help or advice would be appreciated. Thank you.
 
Old 07-25-2014, 06:36 AM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
It definitely sounds like you want the Linux box to be the router/bridge/firewall, which is perfectly possible (also the email server/gateway).

I guess the NAS can either be connected to directly from the MS boxes, or via a mounted share from the Linus box; your choice I think.
For mounted share, Samba is normal for MS-to-Linux, but NFS is possible; note that the latest Samba v4.x https://www.samba.org/ can also perform Domain controller duties if you want to go to centralized auth/logons etc.

(LTSP can use thick clients; it just started as a thin client project. You don't need to go this route; just another option)

If you really want to make minimal changes to the MS boxes, then just point their LAN cxns at the Linux box and use it as the email server/gateway and ditto for web browser.
See SQUID and related tools for the latter.


HTH

Last edited by chrism01; 07-25-2014 at 06:48 AM.
 
Old 07-25-2014, 10:30 AM   #10
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

I apologize again for not being clear enough.

The Linux PC won't be a router/firewall/server at all. Email will be hosted in the 'cloud' and he'll have a hardware firewall and router. The computer will only be used so that people can get online with Firefox and can access their email with Thunderbird, that's it. Not sure how I can make that any more clear. The Linux PC does NOT serve anything to anyone. It just allows them to access stuff that's already out on the web, since the users' Windows PC will have no internet.

It doesn't matter though, as I've tried several options, even VirtualBox (the VM will start to load the Linux Mint CD, then just hang), and still have had no success. I'll keep messing around and see what I can do, but I'm not hopeful anymore at this point.

Thanks for all of your help.

In case it helps anyone else, more information on what I'm trying to do and have done can be found here: http://forums.linuxmint.com/viewtopic.php?f=90&t=173868

Last edited by LittlBUGer; 07-25-2014 at 10:31 AM. Reason: Link to more info
 
Old 07-26-2014, 02:02 AM   #11
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,189

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
just ask you: does it mean you want to run apps on the linux box (like firefox or thunderbird) accessing the net and also you want to do it from windows pcs as clients?
 
Old 07-29-2014, 08:52 AM   #12
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
@pan64
Those programs will be ran from the Linux PC which has internet, yes. Those programs will NOT be on the Windows PCs which will NOT have internet. In order for the users on the Windows PCs to be able to get online or get their email, they will have to remotely connect to the Linux PC (within the internal network) and use the programs from the Linux PC.

I have not had any more time as of yet to test with VirtualBox, but if you have any other suggestions, please let me know. Thank you.
 
Old 07-30-2014, 12:02 AM   #13
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,189

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
I think it is not related to virtualbox at all. I can only repeat my previous suggestion, install cygwin and X, configure xdmcp and you are ready.
 
Old 07-30-2014, 08:50 AM   #14
LittlBUGer
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
@pan64
Can you elaborate on what you mean? I've not familiar enough with any of those tools to see what you are getting at. If you mean to install a bunch of software on the Windows machines, then no, that can't be done. I can do whatever is needed for the Linux PC, but the Windows PCs must not be touched (unless absolutely necessary a VNC program like TightVNC).

Thanks for the help though.
 
Old 07-30-2014, 08:52 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,713
Blog Entries: 27

Rep: Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055Reputation: 2055
Member Response

Hi,

I would think that IP Masquerade would be the best technique to provide Internet access for the Win/xp machines via the Linux Mint box on the same network. Look at: http://linux.softpedia.com/get/Docum...TO-18298.shtml Or http://thesystemmaster.com/unix/gateway_mint.php

LDP provides several howto; http://www.linuxdoc.org/HOWTO/search...rade&sa=Search

https://www.google.com/url?q=http://...L8U0uQrJtLFnuQ

This is easily setup on a LAN and can provide security to the LAN along with Internet access for others on the LAN.
Hope this helps.
Have fun & enjoy!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL remote connections from Windows Spetnik Linux - Server 11 09-25-2011 08:45 AM
creating multiple user in multiple linux boxes from single remote host niaz_ph Linux - Newbie 3 09-12-2011 03:48 PM
emacs and multiple files open in seperate windows from remote systems poundjd Linux - Newbie 3 03-27-2010 12:24 AM
windows 2003 remote desktop- number of connections kpachopoulos General 3 10-25-2007 11:39 AM
X and remote connections? jonsson Linux - Newbie 6 11-15-2004 12:25 AM


All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration