Results 1 to 8 of 8

Thread: How to enable thin-client connections to your knoppix server

  1. #1
    Member registered user
    Join Date
    Jan 2003
    Location
    NY
    Posts
    86

    How to enable thin-client connections to your knoppix server

    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

  2. #2
    Junior Member
    Join Date
    Nov 2003
    Posts
    1

    knoppix thin clients

    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.

  3. #3
    Member registered user
    Join Date
    Sep 2003
    Posts
    80
    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

  4. #4
    Member registered user
    Join Date
    Sep 2003
    Posts
    80
    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.

  5. #5
    Member registered user
    Join Date
    Jan 2003
    Location
    NY
    Posts
    86

    Re: knoppix thin clients

    Quote Originally Posted by dagpmg
    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.
    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):
    sudo -s
    chmod o+x script1
    ./script1
    This will give you root access, enable the script for execution and execute it.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    I got it working!

    But its in german. How can I change the lang setting

  7. #7
    Junior Member
    Join Date
    Nov 2003
    Posts
    12

    a background explanation please

    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?

  8. #8
    Member registered user
    Join Date
    Jan 2003
    Location
    NY
    Posts
    86
    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.

Similar Threads

  1. Help needed: thin client project
    By Magic_Pack in forum Networking
    Replies: 1
    Last Post: 08-13-2004, 02:57 PM
  2. Replies: 0
    Last Post: 06-11-2004, 06:09 AM
  3. Knewbie 2 Knoppix - thin client question
    By loggy in forum The Lounge
    Replies: 2
    Last Post: 02-24-2004, 07:05 PM
  4. knoppix thin client options
    By sireasoning in forum Ideas
    Replies: 6
    Last Post: 10-26-2003, 05:45 AM
  5. thin client knoppix
    By caffeine in forum Customising & Remastering
    Replies: 2
    Last Post: 07-12-2003, 07:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


CSE-118 Supermicro 1U 3x GPU Server  2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails

$454.03



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$5.09



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56



Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia picture

Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia

$90.00