Multi user desktop server
Have a desktop system just gathering dust, why not put it to work as a gui desktop server.
This is a a basic, get-you-going Fatdog setup, note that this is insecure against local LAN activities, but that may be acceptable to you provided you're behind a firewall such as in your ISP's router/hub.
/etc/ssh/sshd_config ....
Code: Select all
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication yes
Subsystem sftp /usr/libexec/sftp-server
Control Panel, Manage Services ... to set sshd to be enabled and start sshd running.
Control Panel, gslapt to install 'perl' (tigervnc and hence vncserver are already installed by default in Fatdog).
Control Panel, Users, and add however many users you might want, user1, user2 .... etc.
For each of those users, login and run 'vncserver' and when prompted set the vncpassword for each of the users ... for instance for user1 run su user1 and then run vncserver.
Save that setup and reboot. The server is now good to go.
========================================
From another box, say your laptop, ssh into the server. Best if the server is set in your router to have a fixed IP allocated to it. For instance if the servers IP is 192.168.1.4 then on your laptop open a terminal window and run ssh user1@192.168.1.4. Enter the password for that userid, by default woofwoof unless you also ran 'passwd' when logged into user1 earlier to change it, and you should drop into a command line as user1 on the server. If not then you might have eztables running (Control Panel, Services) acting as a firewall block. Once at the user1 on the server command line, simply run 'vncserver' and it should provide a indication of which port that is serving to, likely 1 for the first case.
Now on your laptop open tigervnc viewer (within Menu, Network) and vnc to the server, for instance enter 192.168.1.4:5901 ... and when prompted enter the vnc password you set for that user earlier (above), and that should result in a X window with a terminal being displayed.
In that terminal run jwm & ... to add a jwm menu/panel. You might also like to run rox --pinboard=pinboard (you can change the dull background using Control Panel, Desktop, Natham Wallpaper set tool).
Note that you can set full screen using F8. Also note that if you close the initial terminal window that was opened then that may result in jwm panel and rox pinboard also being closed, so ensure you run 'disown' in that terminal before closing it.
You can repeat that process but using user2 to ssh in, run vncserver, and then use tigervnc to connect to another gui desktop on the server, that will likely use 2 i.e. in tigervnc open 192.168.1.4:5902.
A nice feature of such a terminal/server setup is that any browsing around the web will have sites that perhaps run javascript to fingerprint what device you are using will see the servers fingerprint, not your laptops fingerprint. It provides a element of obscurity.
You may later go on to harden the setup, such as setting up ssh keys etc.
As a alternative, that uses X and vnc ... see viewtopic.php?p=11883#p11883
If you're looking for Multi-Seat instead of Multi-User, then James wrote a nice article some time back http://lightofdawn.org/wiki/wiki.cgi/LinuxMultiSeat