concurrent sessions

User created HOW-TOs, guides and workarounds.

Moderators: aysabzevar, mandog, alan, bkashaf, xet7, cmost, blix

concurrent sessions

Postby lawmanuk » Fri Aug 08, 2008 7:51 pm

with windows xp (and a small hack), u can remote desktop into the machine with multiple users logging into the same machine, while another person is using it physically.

is this possible with parsix/linux?

if so:

1. how do i enable parsix so users can remote desktop login from outside (ie. ports, and where to enable + options etc.)

2. how do i enable multiple concurrent sessions without disturbing the physical user?
lawmanuk
Parsix Lover
 
Posts: 148
Joined: Fri Aug 08, 2008 7:34 pm

RE: concurrent sessions

Postby cmost » Sat Aug 09, 2008 12:02 am

Linux, like all UNIX like systems, is designed to be multi-user, multi-session. What you want to do can be done easily by simply modifying how the X server operates. In short, X is designed to cast its display locally or across a network. X was designed this way from the outset, no "small hacks" required. You could in theory have a Linux server and dozens of thin clients all logged in and using graphical applications. There are many tutorials available on how to set this up. I would start by reviewing this guide on X (http://en.wikibooks.org/wiki/Guide_to_X11/Introduction)
AMD Phenom II 64 X6 1090T Black Edition Hexa-Core
8192 MB DDR2 RAM
nVidia GeForce GTX 660 w 2048 MB DDR5
Linux Mint Debian Edition 64 Bit
Parsix (Debian Testing) GNU/Linux 64 Bit
Liquorix Kernel 3.12.x
cmost
Forum Moderator
Forum Moderator
 
Posts: 212
Joined: Tue Feb 19, 2008 4:16 am
Location: Cincinnati, Ohio

RE: concurrent sessions

Postby xet7 » Tue Aug 12, 2008 4:59 pm

Then there's NXMachine, but I haven't had time to add it. It's mentioned at ny parsixlinuxfixes briefrly
http://lauri.ojansivu.googlepages.com/parsixlinuxfixes
- so here's the text I mean, from that long page:

2008-5-20:
TODO: add new stuff:

NoMachine NX
http://www.nomachine.com/

SSH-encrypted fast remote control with full image quality, much better than VNC. I should add stuff about changing SSH port and running NXClient from USB stick:
http://www.fenner.info/clients/

If you have any problems getting it running, reply to this thread, because I have had it installed before on Parsix.
Last edited by xet7 on Wed Aug 13, 2008 1:33 am, edited 1 time in total.
xet7
Forum Moderator
Forum Moderator
 
Posts: 205
Joined: Wed Feb 20, 2008 12:22 pm
Location: Finland

Postby lawmanuk » Tue Aug 12, 2008 11:23 pm

thanks, i'll try it.

the fenner page gave an error.

just to let u know that i'm such a linux noob, that i can't even get parsix to accept incoming rdp clients yet. i've clicked the allow remote sessions in login tab, but when i try to connect with a parsix terminal server client, it doesn't get through.

the same client, i can use successfully to remote control a windows host.

maybe i need to put a port number?
lawmanuk
Parsix Lover
 
Posts: 148
Joined: Fri Aug 08, 2008 7:34 pm

Postby xet7 » Wed Aug 13, 2008 1:52 am

1) I fixed the link above, removed /docs/ . Apparently they have removed some content, so I backed up the remaining files this way:

In Terminal as normal user:
Code: Select all
wget -r http://www.fenner.info/clients/


2) RDP Clients huh? I don't have used RDP, I think.

Anyway, NXMachine uses SSH port 22 for all encrypted communications. I didn't have to change any firewall etc settings, I didn't have started Firestarer firewall previously etc. Sure I added port forwarding to my ADSL router settings (example port number below), so I could connect to it from elsewhere securely. Using it is very fast, much better than VNC. I used fenner site's NXClient for Windows from USB drive to connect to it from customer, Parsix was at my home, and it worked nicely.

Here's my notes for NXMachine server:

- For NXMachine you need SSH port 22 open, all traffic goes throught it, just like connecting to Linux PC from Windows PC running Putty.

- admin guide
http://www.nomachine.com/documentation/admin-guide.php

- Linux server deb downloadi
http://www.nomachine.com/download.php
- Install:
dpkg -i packagename.deb

- you can change ssh server (sshd) to different port, for example 54545, because there will be all kinds of login atteps to port 22 from around the internet all the time:

1) In Root Terminal:
Code: Select all
nano /etc/ssh/sshd_config


2) change Port 22 => Port 54545

3) also to NXMachinen configuration files:
Code: Select all
gedit /usr/NX/etc/server.cfg
gedit /usr/NX/etc/node.cfg

=> for them change: SSHDPort = "54545"

4) Restart sshd to get changed port into use:
Code: Select all
/etc/init.d/ssh restart
xet7
Forum Moderator
Forum Moderator
 
Posts: 205
Joined: Wed Feb 20, 2008 12:22 pm
Location: Finland

Postby lawmanuk » Wed Aug 13, 2008 9:33 am

a remote desktop client using the remote desktop protocol (rdp) is at applications/internet/terminal server client.

this can connect with all rdp hosts such as windows/linux.
lawmanuk
Parsix Lover
 
Posts: 148
Joined: Fri Aug 08, 2008 7:34 pm

Postby xet7 » Wed Aug 13, 2008 12:14 pm

lawmanuk:
Thanks! :) Now I remember, I tried it for VNC some time ago. :)
xet7
Forum Moderator
Forum Moderator
 
Posts: 205
Joined: Wed Feb 20, 2008 12:22 pm
Location: Finland


Return to HOW-TOs - English

Who is online

Users browsing this forum: No registered users and 1 guest

cron