Can you explaine how to do this a little more in depth. how to write the script and such. I tried to do this couple of times with errors.
As root, run the script below on the knoppix server after booting from cd-rom. On a client machine, you can boot in text mode (knoppix 2) and then at the # prompt type "X -broadcast" and you will be logged in via thin-client to your server machine. This makes a rather fast Xwindows session even on a 486 client as the programs are executed on the server.
Here is the script:
#!/bin/bash
cp /etc/kde3/kdm/Xaccess /ramdisk
cp /etc/kde3/kdm/kdmrc /ramdisk
rm -r /etc/kde3/kdm/Xaccess
rm -r /etc/kde3/kdm/kdmrc
sed 's/^#\*/\*/g' < /ramdisk/Xaccess > /ramdisk/Xaccess1
mv -f /ramdisk/Xaccess1 /ramdisk/Xaccess
sed 's/^Enable=false/Enable=true/g' < /ramdisk/kdmrc > /ramdisk/kdmrc1
mv -f /ramdisk/kdmrc1 /ramdisk/kdmrc
ln -s /ramdisk/Xaccess /etc/kde3/kdm/Xaccess
ln -s /ramdisk/kdmrc /etc/kde3/kdm/kdmrc
/etc/init.d/kdm restart
cp /etc/gshadow /etc/gshadow1
mv -f /etc/gshadow1 /etc/gshadow
echo To add users: adduser username
Can you explaine how to do this a little more in depth. how to write the script and such. I tried to do this couple of times with errors.
hopefully, you know what mv, rm, anc cp all do. If not, you're over your head and need to get a book on Linux/UNIX. The only other commands that might not be known are the sed and ln commands. Run "man sed" and you'll get a bunch on what that command does. In short, it is a way to do search and replace on files without having to open the file. Try looking at the file that is being worked on and then remove the redirection, "> filename", and watch the output to your terminal window when you run it. The ln command is again found with "man ln" but in short, it's a way to create links/short-cuts in your filesystem( for files and directories ).
As I said earlier, if you don't know what these are and don't know how to find out( use manual pages ) then you're over your head. RTFM
What would be nice is if Knoppix could take a xbroadcast boottime command to run a Knoppix boot as a thin client. Because, booting from Knoppix/LTSP would be easier. What I'm getting at is that if Knoppix had the xbroadcast shortcut, you could edit your /tmp/tftp/pxelinux.cfg/default file when running Knoppix-terminalserver so that all LTSP clients booted straight to thin client mode.
Thanks for the script.
To create the script file, you can use kwrite or another editor within knoppix, copy and paste the script commands into it then save it into a file into your home directory, let's call it script1 in this example. Then open up a terminal session, use the cd command to move to the directory where you saved it and then type these commands (hit enter after each one):Originally Posted by dagpmg
sudo -s
chmod o+x script1
./script1
This will give you root access, enable the script for execution and execute it.
I got it working!
But its in german. How can I change the lang setting
What particular server is being used here? I didn't know there was such a thing as a Knoppix Server. Is this some sort of LTSP thing? Just that script? Seems far too simple. How many clients can be connected? THis all sounds very promising, but some background is needed for the bigger pciture. Any takers?
You are basically running X over the network, having the programs execute on the machine that you bring up in server mode but the screen and keyboard/mouse control be on the client machine. You only need to execute that script, no further configuration needed, except if you want to create users with their own login/password, whereby everyone will get their own home directories, etc and ability to save their own application settings. You can connect as many clients as your server has memory.
Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS
$3599.00
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR
$80.00
Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services
$1000.00
Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod
$83.00
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$38.99
Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch
$34.00
Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS
$99.99
Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested
$799.99
Cisco MS410-16-HW 16 Ports Fully Managed Ethernet Switch NEW Unclaimed
$999.99