Find the answer to your Linux question:
Results 1 to 4 of 4
Hello! I'm new to these forums, and I'm in need of some help (Hope I'm posting this in the right forum btw.. ) I've just recently set up a K12LTSP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    3

    K12LTSP Kiosk Mode


    Hello!

    I'm new to these forums, and I'm in need of some help
    (Hope I'm posting this in the right forum btw.. )

    I've just recently set up a K12LTSP server and I've been trying to get 6 terminals to autologin and automatically start up a web browser in kiosk mode (GDM).
    I work at a school and I want the students to be able to surf the net,
    but they shouldn't be able to shut down the web-browser or reach any
    other applications on the computer.
    But, to be honest, I'm not quite sure how to go about doing this.
    I've followed a couple of how-to's I found on the net trying to get stuff to work, but to no avail.
    (I found the how-to's here by the way:
    http://www.k12ltsp.org/phpwiki/index.php/GDMKiosKMode
    http://www.brlug.net/pipermail/ltsp_...er/000014.html )

    I've tried installing both K12LTSP 4.2.0 and 4.1.0, but I just can't seem to get it to work.
    For some weird reason I can't even get it to autologin.


    So, I decided to post here, hoping that someone could give me some advice or point me in the right direction.

    This is what the different files look like after I've edited them:


    /etc/sysconfig/desktop

    DESKTOPMANAGER="GDM"
    DESKTOP="GNOME"

    (I also tried this

    DISPLAYMANAGER="GDM"
    DESKTOP="GNOME"

    /etc/dhcpd.conf

    host ws001 {
    hardware ethernet 00:30:84:9D:E8:47;
    fixed-address 192.168.0.1;

    /etc/X11/gdm/gdm.conf

    [daemon]

    AutomaticLoginEnable=false
    AutomaticLogin=/usr/bin/autologin.sh|
    TimedLoginEnable=true
    TimedLogin=/usr/bin/autologin.sh|
    TimedLoginDelay=30

    [security]

    AllowRemoteAutoLogin=true

    /usr/bin/auologin.sh|

    #!/bin/bash
    HOSTNAME=`echo ${DISPLAY} | cut -f1 -d: | awk -F . {' print $1 '}`
    echo $HOSTNAME
    exit 0

    /etc/X11/gdm/PostSession/ws001.ltsp

    #!/bin/sh

    PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH:/bin:/usr/bin"

    SESSREG=`which sessreg 2>/dev/null`
    if [ "x$SESSREG" != "x" ] ; then
    "$SESSREG" -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h
    fi

    # Let's delete user's data
    rm -R /home/$USER
    # We copy default user account
    cp -a /etc/skel/. /home/$USER
    # And we make sure that the user is owner.
    chown -R $USER:$USER /home/$USER
    exit 0


    I also made a user called ws001 and disabled the user's password by doing this in a terminal:

    adduser ws001
    passwd -d ws001



    Any help would be greatly appreciated!

    Thanks in advance! =)

    - Kristoffer

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    3
    Anyone?

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    1
    May or may not be useful:

    http://www.safedesksolutions.com/102...uickstart.html

    These guys are handing out 30 user licenses for free right now.

    If you want a supported solution with a whole bunch of features, this is the best way to go.

  4. #4
    Just Joined!
    Join Date
    Apr 2005
    Posts
    3
    Thanks for the reply Soul Monarch. =)

    That sounds good.
    I'll take a look at that site and check if it can help me out.

    Thanks again.

    - Kristoffer.

Posting Permissions

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