Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: bmarkus on October 10, 2009, 02:32:21 AM

Title: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 02:32:21 AM
I just installed Xorg-7.4.tczl and graphics-2.6.29.1-tinycore.tczm on a stock TC 2.4 from the repo with their dependencies. Exiting to prompt and using 'startx' nothing happenes. No X started, no command prompt, no messages...

Rebooting TC I'm getting text mode with normal prompt. at the top of screen:

Quote
xauth: creating new authority file /home/tc/.Xauthority
xauth: creating new authority file /home/tc/.Xauthority

It was working before with 2.3 and 2.4rc4
Title: Re: Xorg doesn't start in 2.4
Post by: sci_fi on October 10, 2009, 03:30:13 AM
I am having problems also. Everything worked fine in 2.4 rc4 and rc5. But my same setup would not boot to the window manager in 2.4 release.

I then added the following at the end of my .profile file:

sudo tce-setup
sudo startx

This caused TC to boot to the normal screen manager.  A few extra flickers, but it is there. The problem is that the "Logout" function in the dropdown menu does not work.  No response at all. I have to shutdown by doing a halt from root console.

Probably I am missing something in roberts' notes, but I am stuck.

Any advice much appreciated.

Thanks and best regards,

sci_fi
Title: Re: Xorg doesn't start in 2.4
Post by: Juanito on October 10, 2009, 03:59:53 AM
This sounds like you have a file(s) in your backup which is over-writing an updated file from /etc/skel in the latest release maybe?
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 04:13:52 AM
This sounds like you have a file(s) in your backup which is over-writing an updated file from /etc/skel in the latest release maybe?

Whom are you asking?
Title: Re: Xorg doesn't start in 2.4
Post by: curaga on October 10, 2009, 04:31:36 AM
Are either of you installing the mentioned tcz extensions (tcz2ram.lst/flg)?
Title: Re: Xorg doesn't start in 2.4
Post by: curaga on October 10, 2009, 04:59:00 AM
Mounting Xorg and deps in 2.4, can't reproduce.
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 05:01:39 AM
Are either of you installing the mentioned tcz extensions (tcz2ram.lst/flg)?

Installed. Mounting is OK.
Title: Re: Xorg doesn't start in 2.4
Post by: curaga on October 10, 2009, 05:03:26 AM
Installing Xorg-7.4.tczl, bug found. In the loading to ram routine.
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 05:08:21 AM
Checked 2.4.rc4, loading it to RAM works.
Title: Re: Xorg doesn't start in 2.4
Post by: curaga on October 10, 2009, 05:09:10 AM
Yes, 2.4 final is using rsync, rc4 and -5 had cpio.
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 05:09:36 AM
Installing Xorg-7.4.tczl, bug found. In the loading to ram routine.

Does it mean that it is not Xorg specific and can expect similar issue with other extensions too?
Title: Re: Xorg doesn't start in 2.4
Post by: curaga on October 10, 2009, 05:11:43 AM
It can happen with other extensions too, but it first manifested in Xorg since it's an issue of permissions. Rsync doesn't keep the setuid permission on Xorg.

Not many extensions have setuid binaries, though.
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 05:13:44 AM
It can happen with other extensions too, but it first manifested in Xorg since it's an issue of permissions. Rsync doesn't keep the setuid permission on Xorg.

Not many extensions have setuid binaries, though.

Fix permission in the startup script?
Title: Re: Xorg doesn't start in 2.4
Post by: curaga on October 10, 2009, 05:58:14 AM
No, it is not right to fix the symptoms, especially since the cause is known already.
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 06:05:15 AM
No, it is not right to fix the symptoms, especially since the cause is known already.

Agree... Lets see 2.4.1
Title: Re: Xorg doesn't start in 2.4
Post by: sci_fi on October 10, 2009, 07:04:06 AM
Sorry for the slow response. I fell asleep.

Quote from: curaga on Today at 02:31:36 AM
Are either of you installing the mentioned tcz extensions (tcz2ram.lst/flg)?

In answer, following bmarkus, I do set the tcz2ram.lst/flg. Glad bmarkus was able to respond promptly.

As always, thanks for the prompt investigation and responses. I look forward to 2.4.1

Best Regards,

sci_fi
Title: Re: Xorg doesn't start in 2.4
Post by: roberts on October 10, 2009, 09:48:03 AM
Likely need a additional flag to rsync, -p
Title: Re: Xorg doesn't start in 2.4
Post by: roberts on October 10, 2009, 10:10:56 AM
Verified! A single character is needed.
Title: Re: Xorg doesn't start in 2.4
Post by: sci_fi on October 10, 2009, 10:58:19 AM
Thank you yet again, roberts. I know you are busy.

A newbie question regarding this. Is changing this rsync call something I need to do by updating a file somewhere or am I waiting for 2.4.1.  No problem waiting, if that is the case, as I am running fine with the rc versions.

Time for breakfast or go back to bed. I was up most of the night fiddling with this.

Best regards,

sci_fi

Title: Re: Xorg doesn't start in 2.4
Post by: roberts on October 10, 2009, 11:06:22 AM
2.4.1 is posted. See: http://forum.tinycorelinux.net/index.php?topic=3304.msg17391#msg17391
Title: Re: Xorg doesn't start in 2.4
Post by: bmarkus on October 10, 2009, 11:34:16 AM
Robert,

thanks for the fast turn around. Just tested 2.4.1 and it works fine!

Béla
Title: Re: Xorg doesn't start in 2.4
Post by: sci_fi on October 10, 2009, 02:38:32 PM
Echoing bmarkus. Thanks for the quick turnaround 0n 2.4.1. Now running on mytwo machines with no problems. Great work.

sci_fi