-
Senior Member
registered user
Where to find info on remastring Knoppix with Gnome?
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.
-
Senior Member
registered user
Ok. It is Xsession45 script causing the problem.
-
Senior Member
registered user
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
-
Senior Member
registered user
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?
-
Senior Member
registered user
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
-
Senior Member
registered user

Originally Posted by
knopx4me
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.
Did you succeed to boot Gnome automatically?
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:
Code:
su - knoppix
startx
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?
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-
-
Senior Member
registered user
there's a knoppix variant called gnoppix i think it's gnome...
-
Senior Member
registered user

Originally Posted by
Kowood
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.
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-
-
Senior Member
registered user
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.
-
Senior Member
registered user

Originally Posted by
knopx4me
Try the following /etc/X11/Xsession.d/45xsession file. It should work:
Sorry but it didn't 
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-
Similar Threads
-
By sulement in forum General Support
Replies: 0
Last Post: 02-09-2008, 04:39 AM
-
Replies: 0
Last Post: 04-15-2006, 05:35 PM
-
By andrei in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-25-2005, 02:01 PM
-
By knopx4me in forum Customising & Remastering
Replies: 2
Last Post: 03-07-2005, 04:47 PM
-
By Suunsu in forum The Lounge
Replies: 8
Last Post: 02-09-2003, 06:42 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS ROG STRIX X870E-E GAMING WIFI
$289.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99