Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: byg on June 24, 2011, 09:47:56 PM

Title: gnome-desktop-base.tcz
Post by: byg on June 24, 2011, 09:47:56 PM
Hi
I've been using Tinycore for quite a while and I thought it would be time to install a new desktop so being familiar with gnome I give it a try. After installation I reboot , tc went thru the start without visible errors, but at the end it default to TC@box prompt. Any help would be appreciated. Here is my setup:

TinyCore 3.6 on a 1g usb flash drive
Toshiba laptop 1.83 GHZ Microprocessor duo core, 2 Gb of ram
Monitor 1280x800

steps to install:
downloaded Gnome-Desktop-Base.tcz
downloaded Xlibs.tcz and Xprogs.tcz per info on forums
added Etc/shadow and Usr/......tree.xml to .filetool.lst
installation per gnome-desktop-base.tcz.info
step 1- ok no errors
step 2- ok no errors
step 3- filetool.sh backup give me an invalid device
sudo reboot and default to TC@box $ prompt
I did search the forums but could not find an answer
Thanks in advance for your help
byg
Title: Re: gnome-desktop-base.tcz
Post by: Rich on June 24, 2011, 10:29:17 PM
Hi byg

I believe step 3 is incorrect, try   filetool.sh -b   instead. Since the backup failed you wound up back
at the TC prompt after rebooting.
Title: Re: gnome-desktop-base.tcz
Post by: gerald_clark on June 25, 2011, 12:06:20 AM
You also should not be backing up /usr.
Title: Re: gnome-desktop-base.tcz
Post by: Rich on June 25, 2011, 12:14:48 AM
Actually he's only backing up one file (tree.xml) in /usr. Is that still a problem?
Title: Re: gnome-desktop-base.tcz
Post by: byg on June 25, 2011, 10:54:24 AM
Hi guys
Thanks for the replies, OK , I did try filetool.sh -b backup and I still get "invalid device backup" , I had a quick look at filetool.sh script and it seems that what it does is backing up filetool.lst, now "invalid device backup" what should  be the device it is backing up to ?
byg
Title: Re: gnome-desktop-base.tcz
Post by: Rich on June 25, 2011, 11:16:37 AM
Hi byg
Read my post again, just type

filetool.sh -b

Title: Re: gnome-desktop-base.tcz
Post by: byg on June 25, 2011, 01:23:03 PM
Hi Rich
Ok I did that and that worked , with no errors this time, but I still end up defaulting to TC prompt. I'm really lost, one thing that I found in /tmp there is a wm_errors file that says "/home/tc/.xsession line 3 gnome-desktop-base not found" and another thing should I be adding anything to my bootcode ?
byg
Title: Re: gnome-desktop-base.tcz
Post by: Rich on June 25, 2011, 02:04:00 PM
Hi byg
Quote
added Etc/shadow and Usr/......tree.xml to .filetool.lst
Linux is case sensitive. it should be  etc/shadow  and  usr/.....tree.xml

You might also try adding  etc/passwd  etc/group  and  etc/gshadow  to  filetool.lst

I don't know anything about Gnome but you might want to take a peek inside the file  /home/tc/.xsession
based on that error message.

Also post the output of  showbootcodes
Title: Re: gnome-desktop-base.tcz
Post by: byg on June 25, 2011, 03:51:37 PM
Hi
thanks for staying with me on this.
- First the case sensitive were my typing errors, in the file it is OK
-Second I added etc/passwd and etc/group to .filetool.lst
-third here is my bootcode (I did add "tinycore desktop=gnome" as was mentionned on the forum)

bootcode
initrd=/boot/tinycore.gz tinycore desktop=gnome quiet vga=normal waitusb=5:UUID="F581-2E63" tce=UUID="F581-2E63" BOOT_IMAGE=/boot/bzImage

-fourth here is the .xsession content
.xsession
/usr/local/bin/Xorg -nolisten tcp &
waitforX
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x ./.setbackground ] && ./.setbackground
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d ".X.d" ] && find ".X.d" -type f -print | while read F; do . "$F"; done

I'm not to sure what to do next I might start brand new, I have a flash drive that have TC 3.7 instal and
is working good , in case I made a mistake along the way.
byg
Title: Re: gnome-desktop-base.tcz
Post by: Guy on June 25, 2011, 04:33:58 PM
I suggest using the ext2 filesystem.

Some problems can occur as a result of not using a Linux filesystem.

I don't know if this is the cause in your case, but if you use ext2 you eliminate this possibility.
Title: Re: gnome-desktop-base.tcz
Post by: byg on June 25, 2011, 08:21:06 PM
Hi Guy
I reinstalled gnome on a flash drive that TC3.7.1 with the Linux filesystem, it changed the error, but it still default to TC prompt. The /tmp/wm_errors says now "(gnome-session:16578) Warning : cannot open display". I'm not sure what to try next, we will see.
byg
Title: Re: gnome-desktop-base.tcz
Post by: Arslan S. on June 26, 2011, 01:45:45 AM
hi you should first setup Xorg-7.5 before installing gnome to make sure X server starts ok

see /var/log/Xorg.0.log
Title: Re: gnome-desktop-base.tcz
Post by: byg on June 27, 2011, 09:34:40 PM
Thanks Arslan
You put me on the right track, once I got Xorg working gnome installed no problems. Again thanks all and specially to Robert and the gang, this is a great distro.
byg