WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Graphical login screen.  (Read 4714 times)

Offline perry

  • Newbie
  • *
  • Posts: 16
Graphical login screen.
« on: October 27, 2010, 05:10:05 PM »
Hi,

I don't want to use auto login, but login screen like xdm.
So that a user has to login.

Is this possible and how ?

I use tiny core linux version 3.2.

Greeting Perry

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Graphical login screen.
« Reply #1 on: October 27, 2010, 05:17:19 PM »
Use the noautologin boot option.
You will get a console login prompt.
Login as tc and X will start.

There is no x/k/gdm.

Offline perry

  • Newbie
  • *
  • Posts: 16
Re: Graphical login screen.
« Reply #2 on: October 27, 2010, 05:42:39 PM »
Is it possible to add something like x/k/gdm ?

Perry

Use the noautologin boot option.
You will get a console login prompt.
Login as tc and X will start.

There is no x/k/gdm.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Graphical login screen.
« Reply #3 on: October 27, 2010, 05:50:00 PM »
Install it from appbrowser.

Offline perry

  • Newbie
  • *
  • Posts: 16
Re: Graphical login screen.
« Reply #4 on: October 27, 2010, 05:52:49 PM »
I tried to install xdm, but it wil not start after boot.

tc@box:~$ cat /opt/bootlocal.sh
#!/bin/sh
# put other system startup commands here
xdm &

Perry

Install it from appbrowser.


Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Graphical login screen.
« Reply #5 on: October 27, 2010, 07:40:27 PM »
@perry: If you would have done a search for 'xdm' in this forum you would have encountered what I wrote several month ago.

I've now done a quick re-test on TC 3.2 and I don't think that anything is different. So IMHO this particular extention is "broken" and should either get repaired or removed from the repository.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Graphical login screen.
« Reply #6 on: October 27, 2010, 08:53:48 PM »
I will mark xdm.tcz as "broken" and keep it up for reference purposes.  I have also tried it to no avail.  I will mark this in the info file, as it also uses a user.tar.gz which is long deprecated.

Offline perry

  • Newbie
  • *
  • Posts: 16
Re: Graphical login screen.
« Reply #7 on: October 29, 2010, 05:37:40 PM »
Is there a build script for the xdm package ?

Perry

I will mark xdm.tcz as "broken" and keep it up for reference purposes.  I have also tried it to no avail.  I will mark this in the info file, as it also uses a user.tar.gz which is long deprecated.

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Graphical login screen.
« Reply #8 on: October 29, 2010, 05:51:40 PM »
It doesn't look like a script (or source) is in TC's source directories. The source for xdm can be found here: http://xorg.freedesktop.org/releases/individual/app/

Looks like the xdm extension was built for TC 1.x and never updated...and the source for that build may be from ubuntu...
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Graphical login screen.
« Reply #9 on: October 29, 2010, 09:29:23 PM »
I can't find a source for it here, perhaps was overlooked. 

Offline perry

  • Newbie
  • *
  • Posts: 16
Re: Graphical login screen.
« Reply #10 on: November 03, 2010, 06:56:36 PM »
Hi,

I created a compile script for xdm.

Perry

#!/bin/sh

# Check if mksquashfs is installed.
if [ ! -f /usr/local/bin/mksquashfs ]
then
        echo "error: command mksquashfs is not installed."
fi

export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"

#
# Compile and install wxgtk.
#
touch /tmp/mark-xdm
sleep 5
tar -xzvf xdm-1.1.10.tar.gz
cd xdm-1.1.10
find -type f|xargs touch
./configure --with-pam --prefix=/usr/local --with-xft=/usr/local
make

# Strip binaries.
find . | xargs file | grep "executable" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip -g 2> /dev/null

make install
ldconfig

sleep 5
find /usr/local -newer /tmp/mark-xdm -not -type d > /tmp/new-xdm.lst

cd ..

# Create the package.
for package in xdm
do
        echo $package

        # Here we create the packages.
        tar -T /tmp/new-$package.lst -czvf /tmp/nerdbox-$package.tar.gz

        mkdir -p /tmp/pkg/$package
        cd /tmp/pkg/$package
        tar -xf /tmp/nerdbox-$package.tar.gz
        cd /tmp/pkg
        mksquashfs $package nerdbox-$package.tcz

        # Create checksum file.
        md5sum nerdbox-$package.tcz > nerdbox-$package.tcz.md5.txt

        # Create info file.
        echo $package > nerdbox-$package.tcz.info
done
#
## Create depencies files.
echo ""  > nerdbox-xdm.tcz.dep