Ok. It is Xsession45 script causing the problem.
Does any body know where on the net I can find how to remaster Knoppix to add Ganome.? I have added Gnome to knoopix on hard desk and it worked fine, but when I installed in the chroot environment it did not start. I installed GDM plus 207 other packages but could not start Gnome in the chroot evironment.
Edited:
I tried with gnome failsafe option and was able to lget to gnome. It says that there is some thing wrong with my startup scripts. Does any body know what startup scripts I need to modify? I changed kde in /etc/init.d/knoppix-autoconfig to gnome but no change.
Ok. It is Xsession45 script causing the problem.
There is not much info on GNOME here at Knoppix.net since Knoppix is a primarily a KDE distro. Parsix 0.6 was recently released http://distrowatch.com/?newsid=02756#0 and it is a Knoppix based distro that uses GNOME. You should probably ask them as they seem to have got it working.
I wish you success.
James
Thanks alot James. I managed to remaster Knoppix with Gnome using your scripts. I just edited 45xsession and knoppix-autocofig to make gnome the default window manager. I managed to get the CD to boot into gnome but when I install it on HD it did not start gnome. It says that it could not start kde because it is not the default window manager. I loged on knoppix account and typed "startx" and started into gnome. I checked knoppix-hd-autoconfig but did not see any thing says it should start kde. Do you have an idea what I should do to make sure the system starts into gnome automatically after HD install?
I installe knx-installer 0.3.19.14 from Kanotix and solved the HD installation problem.
Edit:
I found this also:
http://www.knoppix.net/wiki/Hd_Install_HowTo
Did you succeed to boot Gnome automatically?Originally Posted by knopx4me
I did a new remastering and replaced KDE with Gnome. Everything went fine but my CD boots only into the text mode. In spite of that I can start Gnome by typing:
But Gnome tries to open previous session (/home/knoppix/.metacity/sessions/some_numbers_and.ms) and starts Gnome very slowly because of that (gives error messages in /home/knoppix/.xsession-errors). Why?Code:su - knoppix startx
How to get Gnome start automatically? I have choosed GDM session-manager and done modifications in 45xsession and in knoppix-autoconfig and I think they are right.
This Gnome version is very attractive and I'm going to maintain this Finnish version in the future if I get those couple of things settled. Suggestions?
-tapsa-
there's a knoppix variant called gnoppix i think it's gnome...
I donwloaded Gnoppix Linux Live CD but it is based upon Ubuntu. I want to use Knoppix as base.Originally Posted by Kowood
There's something more wrong in my Gnome remaster. I have installed also enlightenment, afterstep, fcwm95 and blackbox and made modifications in 45xsession. I can boot every window manager by 'su - knoppix' and 'startx' but no one boot directly from CD. Same as with Gnome. Perhaps removing KDE changed something in init process.
-tapsa-
tr
Sorry for late reply. Try the following /etc/X11/Xsession.d/45xsession file. It should work:
-----------------------------------------------Cut here ----------------------------------------------
#!/bin/bash
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/local/bin:."
export PATH
umask 022
[ -n "$HOSTNAME" ] || HOSTNAME="$(hostname)"
export HOSTNAME
[ -z "$USER" ] && USER="$(id -nu)"
export USER
[ -z "$HOME" -o "$HOME" = "/" ] && HOME="/home/$USER"
export HOME
# We need to source this so that the login screens get translated
[ -f /etc/profile ] && . /etc/profile
# Read default language/keyboard/background image
[ -f /etc/sysconfig/knoppix ] && . /etc/sysconfig/knoppix
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
if [ -n "$LC_ALL" ]; then
export LC_ALL
fi
[ -f /etc/sysconfig/keyboard ] && . /etc/sysconfig/keyboard
FREESPACE="$(df -k "$HOME" | awk '/^\/|^rootfs/{print $4}')"
startgnome(){
[ -d /KNOPPIX/etc/skel/ ] && rsync -Ha --ignore-existing /KNOPPIX/etc/skel/{.gconf,.gnome2,.mozilla,Desktop,Templates} $HOME/ 2>/dev/null
[ ! -d /KNOPPIX/etc/skel/ ] && rsync -Ha --ignore-existing /etc/skel/{.gconf,.gnome2,.mozilla,Desktop,Templates} $HOME/ 2>/dev/null
GDK_USE_XFT=1 exec gnome-session
}
# Check for sufficient Real Memory for starting KDE or GNOME
# (We don't want to end in a swap-a-lot loop.)
REALMEM="$(awk '/MemTotal/{print $2}' /proc/meminfo)"
FREEMEM="$(awk 'BEGIN{m=0};/MemFree|Cached|SwapFree/{m+=$2};END{print m}' /proc/meminfo)"
startgnome
-----------------------------------------end here---------------------------------------------------------------
Good luck.
Sorry but it didn'tOriginally Posted by knopx4me
I can start X manually 'su - knoppix' and 'startx' but not automatically. There must be something more about that.
I have also installed configure-debian and made gdm the default display manger and changed in /etc/gdm/gdm.conf knoppix user to be logged in automatically. So this must be OK.
The problem seems to be starting X server itself. Why is it not started if I use Gnome instead of KDE? This is started from knoppix-autoconfig or am I wrong?
Could someone tell me, what I must change in original 45xsession to copy e.g. .evolution from /etc/skel automatically to /home/knoppix?
rsync -Ha --ignore-existing /etc/skel/{.gnome*,.gtk*,.metacity*,GNUstep,.sawfish,.nautil us,Nautilus} $HOME/ 2>/dev/null
[ "$USER" = "knoppix" ] && rsync -Ha --ignore-existing /usr/share/knoppix/profile/{.gnome*,GNUstep,.sawfish,.nautilus,Nautilus}
-tapsa-

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK
$169.95
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99