Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: perry 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
-
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.
-
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.
-
Install it from appbrowser.
-
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.
-
@perry: If you would have done a search for 'xdm' in this forum you would have encountered what I wrote several month ago (http://forum.tinycorelinux.net/index.php?topic=1858.msg32052#msg32052).
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.
-
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.
-
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.
-
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/ (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...
-
I can't find a source for it here, perhaps was overlooked.
-
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