Akita Linux, Beta 16 ISO

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#571 Post by Keef »

scottman,

This is working very well. My Armada M700 has morphed from a P450 to a P750, so things are snappier anyway.
Just a couple of issues:
Running Alsaconf from the Alsa Sound Wizard brings up a very narrow terminal window - it closes if you attempt to resize, (runs ok if started from terminal though). This was the case with beta 6 too.
Line 86 of alsawizard looks like this:

Code: Select all

rxvt -geometry 60x3 -bg orange -e /usr/sbin/alsaconf 
Changing to 70x30 seems to fit best, but any attempt to resize the window (not really necessary) still causes it to close.

Tried to install Amigo's src2pkg, but it failed when trying to compile libsentry. No idea why, but I'll post on his thread too. (yes, I've got the devx...).

outtaspam
Posts: 24
Joined: Fri 18 Dec 2009, 21:23

Akita 7 wont boot from CD

#572 Post by outtaspam »

Hello Puppy Lovers,

I'm having trouble getting Akita B7 to boot from a DVD+RW in my PC (specs follow). The ISO was burned in Win7 using its built in software.

The boot process stops with a blinking cursor after displaying this message

login[3891]: root login on 'tty1'

Thanks in advance for your help,
outtaspam

HP VL420
P4 1.8 Ghz
639 Mb RAM
NVIDIA GeForce 2MX/MX400
Retrofitted DVD-RW and second 80 Gb HDD

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#573 Post by sc0ttman »

outtaspam, thanks for testing, not sure what that problem may be...
The old kernel doesn't like your hardware, maybe?
did you try booting with various pfix options?

pfix=ram pdev=sda1 pmedia=atahd psubdir=akita .... etc

There are various commands you can use to see what's going on, or not...
I think the 'dmesg' cmd should help, also there are some kernel logs in /tmp ..

From the console, if you can, try `cat /path/to/file` to read it... Or 'mp' ;)
______________________

Keef, I PM'd you about src2pkg, it's likely the gcc in the akita devx..
Install the gcc .pets and its deps from the wary5OLD repo, that should solve it..

I will also take a look at the sound wizard thing too...
Thanks for the feedback.
________________________

Techno, I have looked into that stuff before, and was all set to do it,
but I just cannot seem to get fbida compiled - I got libexif, lesstiff, etc all built..
But fbida keeps spitting errors about exiv and some files being missing,
can't remember exactly what at the moment...

But this leads me to something else.. I wanna compile a few things with framebuffer support,
but it seems as though the Akita devx does not have the requried stuff to
compile for framebuffer support, for example when building the 'Links-2.5' browser
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#574 Post by sc0ttman »

Quick update...

I have fbi installed, only the console one, not the X viewer...
I have elinks working nicely with fbi in framebuffer :D
I have adjusted elinks settings accordingly.

I have also updated more libs in the main SFS, /usr/lib and /usr/X11R7/lib...

I also updated lots of stuff in the Akita devx, and even got the wary 5.1.x devx working fine as well.

EDIT: solved fontconfig problems.
Last edited by sc0ttman on Fri 02 Mar 2012, 17:33, edited 2 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

Links

#575 Post by Keef »

sc0ttman,

Using Links 2.5 successfully with graphics and no X. For some reason it won't work under the plain framebuffer, even though the driver is enabled. It does work with DirectFB though.
Installed current DirectFB
Compiled links with:
--prefix=/usr --enable-graphics --with-directfb --with-fb

Key presses are doubled and it is impossible to type anything sensible (URLs etc) and moving the cursor with the arrow keys is affected too - jumps an extra line. To cure this, you need to do this:
Create a .directfbrc in root and add

Code: Select all

disable-module=linux_input
. Found this fix after a bit of Googling.

The mouse cursor is a mess - barely visible, but usable once you get used to it. The cursor does tend to 'stick' to it a little eg if you use TAB to shift fields, it may stop where the mouse it positioned.

Launch links with:

Code: Select all

 links -driver directfb

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Beta 7 review:

#576 Post by don570 »

Beta 7 review:

1) You forgot to update Bacon Recorder and Quick Launch.

2 You must remove the file
.../OpenWith/.audio_x-ms-wma/Edit using Mhwaveedit

3) Is it possible for you to patch the kernel to open EXT4
formatted partitions? I have one because I used an Ubuntu installer.

4) I noticed that your right click feature 'Start with slideshow'
doesn't work when you try to launch the file from a USB stick
formatted as fat32. I investigated and found that feh and
feh_slideshow worked fine so I looked into how you made your
right click option.

I believe I found the mistake...
Image

When I removed that one line the right click option worked fine
on a file stored on a USB stick.


5) Would you check if
.../OpenWith/.audio_x-pn-realaudio/Edit using Mhwaveedit
works. I don't have a file to check this.

_________________________________________

_________________________________________________

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

sfs_load-1.3.9

#577 Post by shinobar »

Test please!
Test release: sfs_load-1.3.9.pet (2012-03-02)
Enhanced RAM mode, multisession live CD support, fixes regarding Puppy-4.x(was failed multisession CD operation).
Also need to refine the translations.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#578 Post by sc0ttman »

Keef, thanks for the tips on Links, I will have a play with it, and see what I can do...
Sounds like a bit of a non-starter though, which is a shame :(

Don, thanks very much. I'll add those QL and BR updates later,
doing other more 'backendy' things at the moment..
Same with the right click stuff, more pressing matters for me now...

about ext4: Various parts of Akita still need to be updated to support it..
It's not just the kernel: init script, rc.* scripts, libparted, gparted, PUI, etc..
If anyone can help be more specific about ext4 fixes, let me know...

I'll double check the slideshow thing... Good spot..

Thanks for the testing guys, much appreciated..
______________

And just to be clear, I still plan to release an Akita that uses a nice, new kernel.
I'm thinking the Wary 5.1.4.1 uniprocessor kernel.. I think it has PAE, too...
I don't care about PAE at all, but read the uniprocessor worked better than SMP...
I would like to also try a recent 3.x kernel, if possible...
And I will go with union_fs, not aufs, if possible..

A new kernel (+ required fixes) will provide new hardware support, ext4, etc...

AFAIK, various packages are kernel (feature) sensitive, but not so many...
These include libparted(?), nsidwrapper, alsa(?), others?
I'd like to be corrected if anyone knows I'm wrong!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#579 Post by don570 »

I compiled the most recent mtpaint (with no jasper) and
it works well with akita. (version 3.44.03)

I had to compile using puppy 431 because the devx package I have is
for beta6 and it gave errors. Hopefully you've fixed the
problem with the beta7 devx package.

Here's all my software including bacon recorder and quick launch
archived so you can check.

http://www.datafilehost.com/download-7f2dd806.html

_______________________________________________________
Last edited by don570 on Sat 03 Mar 2012, 17:34, edited 2 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#580 Post by don570 »

Be careful when you choose libparted . It must be matched
with the kernel. I know that much about operating systems. :lol:

______________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#581 Post by don570 »

Note to Scottman

I did an experiment to switch the "OpenWith' folder
from an English version to a German version
automatically.

I used Lazy since it has a lot of right click menu items and is mainly German.

But it could be used with Akita as well. It would need work to
switch more than two languages.

http://murga-linux.com/puppy/viewtopic. ... a83#610425

.

_________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#582 Post by don570 »

I successfully compiled mtpaint 3.44.03 with your newest devx package.

I had gotten errors from the previous devx package.

___________________________________________________

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#583 Post by sc0ttman »

Quick note, more games added to the Akita Repo,

FreeCiv was compiled in Akita (wary 5.1.4.1 devx),
most other builds should work on all 4.x pups and later..
AssaultCube and Zombie Grinder needs OpenGL...

Also, I can't seem to get any servers with AssaultCube anymore..
The same also goes for AssaultCube Reloaded...
If anyone can get the online mulitplayer servers working that would be nice.

Also the new Akita devx is also uploaded, and it seems to work fine...

http://akita.scottjarvis.com/

Or listed by date: http://akita.scottjarvis.com/?C=M;O=D

assaultcube_reloaded-240-akita.pet 50M
assaultcube-1104-akita.pet 44M
freeciv-2.3.1-i486.pet 8.1M
freeciv_DEV-2.3.1-i486.pet 4.5M
freeciv_NLS-2.3.1-i486.pet 5.3M
teamviewer-6.pet 18M
zombiegrinder-323-akita.pet 51M
seven_kingdoms-2.14.3-akita.pet 40M
eDuke-1.4.0-i486-akita.pet 5.3M
epic_inventor-i486-akita.pet 63M
akita_devx-b8.sfs 109M
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

some Q's

#584 Post by nancy reagan »

Hi Sc0ttman,

Though I am not swapping many distroes these days anymote, I thought I might use your Akita on my ramshackle 128mb Toshiba just for playing videos.


VLC worked but very slow, if not at all, on mp4's.

1.
Is there a feature to "cache" ?

Then tried some things on my 1Gig netbook.

Tried to install Gnome player, but after it said I should reboot. it hanged.

Tried to do a clean start up and then "save session".

Still hangs. Same when I try to do "restart X-server".

2.
Has this been mentioned before, what could I've done wrong ?

Tried to run FFmpeg converter. Hangs "wait a moment" (1 hour).

3.
?

Maybe I am doing things wrong ?

E D I T

Strangely enough the issues with rebooting etc. do not occur with my notebook 526Mb \. I guess it had something to do with the fact that my netbook had no graphics card.

Only question that remains is: Can VLC cache, and if so, HOW.

Peterm321
Posts: 411
Joined: Thu 29 Jan 2009, 14:09
Location: UK

#585 Post by Peterm321 »

sc0ttman wrote: about ext4: Various parts of Akita still need to be updated to support it..
It's not just the kernel: init script, rc.* scripts, libparted, gparted, PUI, etc..
If anyone can help be more specific about ext4 fixes, let me know...
Turbolinux which uses k2.6.25.16 has an experimental ext4dev module. On my system it loads with "modprobe ext4dev" and it updates /proc/filesystems, however when I tried to use it I found it does require hacks, see http://fedoraproject.org/wiki/FedoraExt4

But if an experimental ext4 driver exists for k2.6.25.16, then it is possible someone updated this driver.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

The 'spot' user

#586 Post by sc0ttman »

Thanks for the info...
I am looking into it, but ext4 can wait for now...
___________________________________________________

Updates for restricted user 'Spot' in Akita

Testers more than welcome, can stop me shooting in the dark!

I have decided that I want the browser and media player(s) to run reliably as 'Spot'.

It is very much a work in progress, here is the progress:

- Spot can run terminals, browsers, vlc, mocp, alsamixer, geany, rox, etc
- Spot cannot mount drives (this is what I want!)
- Spot has the home folder /root/Spot
- Spot cannot make changes in /usr/bin,/usr/sbin, etc
- Easily run any programs as Spot, from the menu
- Easily run as Spot from terminal, command: run_as_spot

I have created a .pet which should do most of the work for others:

- new user groups added: disk, audio, video, others
- users root and spot assigned to the new groups
- (files affected in /etc: sudoers, sudo.conf, shadow, groups, shadow, gshadow, passwd)
- many devices in /dev assigned new groups & permissions
- the above changes mean root and spot can access the devices
- users who do not belong to the correct group, cannot access the device

Known issues:

- sudo does not work, always reports '3 wrong passwords' or whatever :: EDIT :: past this error, onto another (see my next post)

- fstab and inittab are unchanged, likely not perfect

- pmount, partview, etc, do not show drives at all, or even crash
- haven't even tested mount, etc

- no bashrc, gtk settings or .config files in /root/Spot
- to get around this, you could copy stuff from /root to /root/spot
- then run `chown -R spot:spot *` in the /root/spot folder

- PLEASE HELP ME GET SUDO WORKING!
- to see what I mean, run `run_as_spot PupApps`

NOTE: This .pet will add a 'Run as Spot' menu entry to the top of your JWM menu.
Click on it to run the GUI, which is something like gexec...

EDIT: Attached version 0.2, which actually does what it is supposed to!
Attachments
spot_update-0.2.pet
(65.86 KiB) Downloaded 654 times
Last edited by sc0ttman on Thu 15 Mar 2012, 21:14, edited 2 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Peterm321
Posts: 411
Joined: Thu 29 Jan 2009, 14:09
Location: UK

#587 Post by Peterm321 »

sc0ttman wrote:Thanks for the info...
I am looking into it, but ext4 can wait for now...
OK, then.
sc0ttman wrote:- sudo does not work, always reports '3 wrong passwords' or whatever
...
- PLEASE HELP ME GET SUDO WORKING!
- to see what I mean, run `run_as_spot PupApps`
I can only add 2 cents worth as I am not using 'Akita'. When I downloaded your pet and ran run_as_spot on the command line the su command demanded a password. I thought spot didnt have one or would accept "spot" as a password but it didnt. I ended up deleting the password with "passwd -d spot" . After that, "./run_as_spot 'ps -ef ' and "./run_as_spot bash" then worked fine, ps -ef also indicated that these processes were being run under user spot. That is as far as I tested it.

As far as copying to spot's home directory in my experience a lot of config files work read only so you could symlink a lot of them rather than copy.

sudo, as opposed to su does not work on my system (no sudoers file - it all seems rather complicated to work out as well). I would have thought it would be quite simple to write a very short daemon that could read from a named pipe and execute commands from it, so for example echo -e "mount <parameters etc> \n" >/var/named_pipe could work from spot or better still just read the pipe, prepend "mount " to the line so only mount commands could be executed by the daemon.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#588 Post by sc0ttman »

'Run as Spot' update:

NOTE: I re-uploaded a fixed 'spot_update.pet' here (see my previous post in this thread).
...
Peterm321 wrote:As far as copying to spot's home directory in my experience a lot of config files work read only so you could symlink a lot of them rather than copy.
I will have a play with that, and if secure, might symlink various things into the /root/spot dir..

And just to note, on Akita, I could run bash as spot without any problems,
without changing the passwords of any users...
I would have thought it would be quite simple to write a very short daemon that could read from a named pipe and execute commands from it, so for example echo -e "mount <parameters etc> \n" >/var/named_pipe could work from spot or better still just read the pipe...
Have to get my head round this a bit, I'm sure it's simple enough, but would prefer to get sudo working in Akita, the same as 'fido' works in Racy, Slacko, etc... Mainly because lots of apps already have 'that sudo line' in there to run 'askpass', if root privileges are required...

EDIT: now past Sudo error mentioned in my previous post...
...moving onto a whole new set of sudo errors!


I can get past the '3 wrong passwords entered' error by running:

Code: Select all

echo spot: | chpasswd
But then, in any script which contains the root login requirement snippet (which runs /usr/sbin/askpass):

Code: Select all

[ "`whoami`" != "root" ] && exec sudo -A ${0} ${@}
I simply get the following errors:

Code: Select all

# whoami
spot
# /usr/bin/vlc-gtk
gtkdialog: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
#
# PupApps
gtkdialog4: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
#
If I remove the

Code: Select all

[ "`whoami`" != "root" ] && exec sudo -A ${0} ${@}
then I can run stuff as 'spot' just fine:

Code: Select all

# whoami
spot
# vlc-gtk
Any ideas why the sudo line trying to run askpass would prevent libs being found?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

sudo and spot

#589 Post by sc0ttman »

I have a spot_update-0.5.pet (attached below), which is nearly finished:

NOTE, the user 'spot' now has the password 'heel'.
Other changes include fixed permissions and busybox.conf setup..

(I will be updating to Racys busybox in next Akita)

I can do almost all that I want, such as running askpass,
when using spot, so things can be run as root, if need be.

To get around the missing libs problem I mentioned in the previous post,
I had to re-compile sudo with(out) various options and try again...

Here is the configure line I used to build sudo:

Code: Select all

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --enable-shared --without-pam --without-insults --with-askpass=/usr/sbin/askpass --without-sendmail --without-AFS --without-DCE --without-logincap --without-bsdauth --without-project --without-lecture --without-aixauth --without-libvas
However, when askpass runs, it tells users to enter the admin (root) password (which is 'woofwoof'),
BUT, I have to enter spots password to load up the app!!


I thought with sudo, you had to enter the ROOT users password, in order to run anything as ROOT!!!

But I must always enter spots password, which is 'heel',
or I cannot get passed 'askpass ' to run the program I chose..

Is this normal?!?! What am I doing wrong?
Why doesn't sudo want the ROOT (admin) password?


..Or am I being thick? I think I might be being thick...
Attachments
spot_update-0.5.pet
includes all setup files and sudo 1.7.9
(131.98 KiB) Downloaded 615 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#590 Post by sc0ttman »

Damn it, askpass only loads up if the devx is loaded!
Otherwise I get the missing libs errors I reported earlier...

And even if the devx is loaded, and askpass is running,
I still need to enter spots password, not roots password!

Hmmmm... Just unloaded the devx, askpass still runs... :roll: :twisted: :?:
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply