SliTaz SliTaz Forum

You are not logged in.

#1 2014-12-04 20:24:15

emgi
Member
Registered: 2012-12-17
Posts: 127

Updates to slitaz-arm via spk still broken

Today I got my HDMI-Pi screen and I've tested it with the slitaz desktop edition. Tested with a native RPi this time instead of qemu. Just like in the server-version, the system fails to boot after running spk-up because it is missing /etc/rcS.conf and /etc/init.d.rcS.

/emgi

Offline

#2 2014-12-05 22:45:01

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm via spk still broken

The slitaz-scripts seem to be dangerous in many ways.

After spk-up slitaz-icon, login to X shows a black screen until eventually the login pops up in the center where it was displaying some graphics before.

I managed to break the system once more by spk-ing slitaz-boot-scripts, slitaz-tools and slitaz-boot-configs. After restoring rcS.conf, inittab, system.sh as reported before, I am now no longer able to complete the login. After entering the passwd for root X does not start.

Instead, the following message pops up briefly: "Failed to Execute login command" and after several seconds, the login box reappears. I'm unable to break this loop so effectively I can no longer login. Only option left: restore my SD card again.

Conclusion: The update set for the desktop edition is still seriously broken.

/emgi

Offline

#3 2014-12-05 23:42:12

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Updates to slitaz-arm via spk still broken

Hi emgi,

I broke my login system too. Difference is that I have no RPi — instead I use regular SliTaz Rolling installed on my netbook. One beautiful day after updating something brokes and I get the same message "Failed to execute..." and I can't fix it for months smile I plan to re-install my SliTaz from scratch some day, and now I get my desktop this way:

I switched off SLiM start at boot using tazx.

But now you want to stop SLiM. Switch to free console using Ctrl+Alt+F1 or Ctrl+Alt+F2. Log in as root and execute command: killall slim

Next I log in to Linux console as user.

Enter "startx" command and get desktop with completely black screen and lonely mouse pointer on it.

Right click — Openbox menu — Favorite applications — Terminal. Here I start what I need to complete my desktop. Seems like SliTaz @ RPi have no Openbox, yeah? You can type several commands using "&" as separator. So, my complete one-liner to get my SliTaz desktop is:

startx & dbus-launch pcmanfm --desktop & lxpanel -p slitaz &

SliTaz @ RPi possible have different desktop applications. But you can use this technique (with corresponding applications) to log into your desktop.

And... No one works on Spk debugging these days...

Offline

#4 2014-12-06 08:14:54

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm via spk still broken

Good morning Aleksej!

Thank you for the hints, I will certainly try them.

As you say there doesn't seem to be much development effort at this moment.

Still, a lot of work did go into this already and that's a reason to give feedback. At least the developers now know this project was not entirely in vain. Besides, I would very much like to see Slitaz as a download for the raspberry pi - on the raspberry pi website.  That would be a great way to increase the popularity of Slitaz.

Unfortunately, in its current state that is not an option. Lets see if we ever get there.

For now I have already expressed my wish to help improve the documentation and I'm trying to get more comfortable with the system so that I can fix some smaller things myself. At least it is a nice learning experience.

/emgi

Offline

#5 2014-12-06 16:06:01

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Updates to slitaz-arm via spk still broken

Hi again Aleksej,

Just to let you know how it went: CTRL-ALT-F1 did the trick.

After that I could login in text mode as root.

Then I removed slim altogether (yet another broken update) via spk-rm slim.

Now when I want to run the GUI, I use startx.

Thnx for the hint!

/emgi

Offline

#6 2014-12-07 08:07:21

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Updates to slitaz-arm via spk still broken

This info applies to slitaz-rpi-base-20140329 and slitaz-rpi-desktop-20140329

To upgrade/download packages with spk:

Comment out lines 139-142 of /usr/lib/slitaz/libspk.sh

[c]#if ! tail -c 2k $file | fgrep -q 00000000TRAILER; then[/c]

[c]# gettext "Continuing download of:"; echo " $file"[/c]

[c]# download "$file" $mirror[/c]

[c]#fi[/c]

[c]spk-up[/c]

Respond with y,hit enter

Desktop upgrades 34 packages,base 18 packages.

After upgrading slitaz-rpi-base or desktop you must install slitaz-arm-configs before rebooting. Don't install slitaz-arm-configs before the upgrade or files in it such as /etc/rcS.conf and /etc/init.d/rcS will be deleted when slitaz-boot-scripts is updated.

[c]spk-add slitaz-arm-configs[/c]

Fix slim failure to login on slitaz-rpi-desktop:

Backout tux text in slim login screen and type exit,hit enter to kill slim and drop to console.

login root passwd root

vi .xinitrc

Comment this line so it is not executed and save:

#EXEC="exec dbus-launch --sh-syntax --exit-with-session"

Do the same for /etc/skel/.xinitrc so new users can log in.

Change slim theme back to rpi

[c]slim-theme -s rpi[/c]

Type slim on command line hit enter,slim login screen appears,log in as root.

Online

#7 2014-12-07 09:53:02

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Updates to slitaz-arm via spk still broken

~/.xinitrc ?

I know about it.

Comment this line so it is not executed and save:

#EXEC="exec dbus-launch --sh-syntax --exit-with-session"

What about line below: $EXEC $WINDOW_MANAGER

and why not just spk-add dbus

I can't see it here:

http://hg.slitaz.org/slitaz-arm/file/tip/flavors/

Removed for ARM

http://hg.slitaz.org/wok/rev/378989df7c7d

Offline

#8 2014-12-08 01:04:35

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Updates to slitaz-arm via spk still broken

Thanks az_ua for fixing .xinitrc

When slitaz-boot-scripts is updated required slitaz-arm-configs will be auto-installed if not on users system.

http://hg.slitaz.org/wok/rev/ce0c6dd59458

All issues related to a full update of slitaz-arm-{base desktop}-20140329 have been addressed on the package level other than having to manually comment out libspk.sh so packages can be downloaded.

Online

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.027 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]