Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 May 2019, 07:31
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 43 of 283 [4236 Posts]   Goto page: Previous 1, 2, 3, ..., 41, 42, 43, 44, 45, ..., 281, 282, 283 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 12 Jan 2014, 07:49    Post subject:  

Hi William,
I did open mixer through volume-icon, played mp3 in xhippo, sound works.
Also rebooted, did it again, still fine.
Sorry, can't reproduce your problem.

Fred
Back to top
View user's profile Send private message 
sklimkin

Joined: 11 Jul 2012
Posts: 157
Location: Russia Moscow

PostPosted: Sun 12 Jan 2014, 10:20    Post subject:  

Hi, All!

Here's how to create Debian users with their passwords:
Code:
passwd (root:root)
adduser user (password user)
usermod -a -G sudo user
adduser q (password 111111)
usermod -a -G sudo q


I must say that for each user then need to create an environment with a desktop (can be copied from /root in /home/<USER>), and then change the rights to the new directories and files:
Code:
cd /home
sudo chown -R <USER>:<PASSWORD> /<USER>

but it is of course somewhat increase the size of the system.

About localization:
Code:
apt-get install localepurge

////!!! exclude all unuser locales
installation asks the user what locale needed. The rest of the program locale successfully cuts. Subsequently locale-purge ensures that when you install new programs unnecessary locale also cut off. Savings of significant system size: it can be seen in /usr/share/locale /usr/share/doc /usr/share/man

Code:
dpkg-reconfigure locales

////select en_US ISO-8859-1 ISO-8859-15 UTF-8 and for their language
In the following lines to replace your language (eg ru_RU --> de_DE)
Code:
echo "LANG=\"ru_RU.UTF-8\"" > /etc/default/locale
export LANGUAGE=ru_RU.UTF-8
export LANG=ru_RU.UTF-8
export LC_ALL=C
locale-gen ru_RU.UTF-8

If localization is successful, you will see the main menu titles in the selected language (but not all).

And one more important note: I did all this while creating the system in chroot-environment, so I can not guarantee an exact reproduction of the results.

Sergey.
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sun 12 Jan 2014, 11:29    Post subject:  

Quote:
I hate to harp on about this but, before adding ANY new apps, I think the most important thing is to fully test that multiuser capability is fully operational and particularly as a gui login to the graphical desktop. I believe it is time to take stock, and step back for a moment before rushing headlong on with possibly damaging "developments".


mcewanw,
I am completely with you. Debian live has true multiuser support. For multiuser login maybe use a display manager like http://en.wikipedia.org/wiki/LightDM
(Package nodm brings debian to the desktop without login, I don't know how it is handled in this version and hope any hacks will not conflict with the display manager)
The question is if a display manager (login) should be included in a live system.

I think progress here is fascinating and a good team rushes forward with developement. But the base should stay sound.

Concerning puppy apps, I am all for deb packages, but "quality", possibly from sources and following debian package rules (src2pkg from amigo comes to my mind).
Also those code parts which, are not multiuser compatible must be fixed, before publishing as deb package. So this is more a long term project.
Before this happens, it is wise keep this code in the /opt domain, separate from the rest.

Concerning workflow, I see the current "remaster type" as a start, using debian live build system is better for the future (like woof).

cheers all
emil
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 12 Jan 2014, 11:32    Post subject:  

Privet, Sergey Smile

Thank you very very much! I could not find your way of making new users. Thanks for locales options also.

I just had the most annoying few hours finding how multiuser works and I've found different way to do it. I'm sure your way is easier but I will let someone who cares more than me about multiuser option to test it.
Download the fix for sudo permissions (you will need sudo as user):
http://smokey01.com/saintless/Fredx181/fix-sudo.tar.gz
Extract it and execute it with single click. You should get normal sudo output now. I will find a way to fix the sudo permissions for the next version better.
Create new user:
Code:
adduser puppy

Then edit /etc/sudoers and add your new user this way:
Code:
# User privilege specification
root   ALL=(ALL:ALL) ALL
puppy ALL=(ALL:ALL) ALL

Install lightdm - display manager:
Code:
apt-get install lightdm

Remove startx line from /etc/rc.local
Maybe it is not needed but I did it just to be save not to autologin as root. You can experiment without removing it.
Reboot the computer.
You will get GUI prompt to login:
type puppy and the password
Desktop starts. Xterm shows you are puppy user.
Xhippo starts from the menu, Xfe starts.
To use apt-get update you need to type:
Code:
sudo apt-get update

It works.

This is all my trials with multiuser. DebianDog is fully multiuser capable.

Next version should have only root and fixed sudo. We can include script to create user and download lightdm in case it is needed.
Multiuser and locales should be only options and we can make them easier to be implemented from the user. This is my opinion.
Or maybe creating separate sfs or noinstallApp with multiuser + localization option...

I will continue with testing other stuff like pburn and low-ram-startup-script.

Cheers, Toni

Edit: Hi, Emil, we posted at the same time Smile lightdm is the smaller display manager and it adds 32 Mb.

Last edited by saintless on Sun 12 Jan 2014, 14:53; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 12 Jan 2014, 11:49    Post subject:  

emil wrote:
Also those code parts which, are not multiuser compatible must be fixed, before publishing as deb package.

Just a thought:

What is the problem if a package like this can be started from menu entry as user with "sudo package-name" code? If we think of such package as no-good then we should say apt-get is no-good also. It can't be run from user without using sudo.

Cheers, Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 12 Jan 2014, 12:35    Post subject:  

fredx181 wrote:
New revision of tar.gz (but only pburn changed)
https://drive.google.com/file/d/0ByBgCDlZZ8K5M1VuNE5YcEw1REE/edit?usp=sharing


Hi, Fred, seems to work without issues.
Great job Smile I hope I will learn to convert packages like you some day... Sad
Feel just like puppy user with bark bark sound Smile
We can mark optical drive burner problem as solved.

Cheers, Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 12 Jan 2014, 12:42    Post subject:  

Hi all
Just because I wanted to know how it would work out i made porteus version of exact Light-Wheezy2.
I promised Toni to make porteus version of exact Light-Wheezy when it is final version.
Not final version yet but i experienced really a difference in speed, not only boot time but also how fast it runs.
So please test.

some examples for grub(4dos) (the "changes=EXIT:/<path/to/savefile" option does not work for now):
Create new folder say for this example "portdeb" on root of some drive, say sda1 (hd0,0) --adjust this to what you prefer--
Extract in portdeb so you get "/portdeb/debian" (do NOT change name of "debian' folder)

This will create automaticly /portdeb/debian/changes folder for changes (only on linux filesystem):

Code:
title Portdeb (sda1/portdeb)
root (hd0,0)
kernel (hd0,0)/portdeb/vmlinuz noauto copy2ram from=/portdeb/ changes=/portdeb/debian/
initrd (hd0,0)/portdeb/initrd.xz



This need to be created "changes.dat" (or whatever custom name) savefile first for saving changes (see below for how to create):

Code:
title Portdeb (sda1/portdeb)
root (hd0,0)
kernel (hd0,0)/portdeb/vmlinuz noauto copy2ram from=/portdeb/ changes=/portdeb/debian/changes.dat
initrd (hd0,0)/portdeb/initrd.xz


Yoy can leave out "noauto" option if you want automount all drives.

To make changes.dat size 500Mb filesystem ext4:

Code:
dd if=/dev/zero of=changes.dat bs=1M count=500
mkfs.ext4 -q -m 0 -F changes.dat



Light-Wheezy2-porteus.iso
https://drive.google.com/file/d/0ByBgCDlZZ8K5QmJrdkNybk9uQ1E/edit?usp=sharing

Fred
Light-Wheezy2-porteus.png
 Description   
 Filesize   93.12 KB
 Viewed   570 Time(s)

Light-Wheezy2-porteus.png

Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 12 Jan 2014, 12:48    Post subject:  

Hi Toni
Quote:
Hi, Fred, seems to work without issues.
Great job Smile I hope I will learn to convert packages like you some day... Sad

Really?
I feel like I will never learn most of the things you all do. Rolling Eyes
So it seems like we all have our sort of "specialism"

Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 12 Jan 2014, 13:08    Post subject:  

fredx181 wrote:
Hi all
Just because I wanted to know how it would work out i made porteus version of exact Light-Wheezy2.
I promised Toni to make porteus version of exact Light-Wheezy when it is final version.
Not final version yet but i experienced really a difference in speed, not only boot time but also how fast it runs.
So please test.


Thank you, Fred Smile I will test it proper tonight and tomorrow.
When all this DebianDog fixes are done I will pay much more attention on your work with porteus-wheezy.

I will upload it in Fredx181 folder just to have it as a test version for now.
http://www.smokey01.com/saintless/Fredx181/Light-Wheezy2-porteus.iso

fredx181 wrote:
So it seems like we all have our sort of "specialism"

I'm glad we can do well different things. This way we move so fast with this two projects.

Cheers, Toni

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Sun 12 Jan 2014, 14:17; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 12 Jan 2014, 13:25    Post subject:  

Hi Toni
Quote:
Thank you, Fred Smile I will test it proper tonight and tomorrow.

Thanks!, take your time.
I forgot to mention that /mnt is not symlink to /media because of porteus live system.

Fred
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 12 Jan 2014, 14:32    Post subject:  

William wrote:
Pressing Logout from IceWM menu results on my machine hanging and needing a reboot.

Hi William
Not sure if I understand right but:
I recently discovered that you must not press on logout but put cursor on it and move to the right, then appears shutdown, reboot, etc..
Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 12 Jan 2014, 14:46    Post subject:  

Hi, Fred,

posting from Light-Weezy-2-Porteus. It is sure fast Smile
Apt-get works, sound works. I use extracted 1Gb live-rw renamed to changes.dat so I can save changes from the first boot.

I see dpkg still have the information about both debian kernels, live-boot and initramfs-tools. We can remove it with apt-get purge.
I also don't see any information about the porteus kernel. I guess it will be not too difficult to include such information about the porteus kernel manual. Maybe we can even make it apt-get removable/uninstallable.
With your deb converting skills do you think it is possible to be made deb from porteus kernel? I know initrd has to be edited manualy but at least the kernel will be installable-removable with apt-get. What do you think?

Cheers, Toni

BTW we can use Terry's program for creating save file to make also changes.dat. It needs entering the name of the save file and instead live-rw it can be changes.dat.

Strange the modules for newer Porteus kernel are 34 mb less than the older Debian kernel. I see 11 Mb more firmware modules included. maybe this is the reason for smaller kernel modules. I'm just surprised.
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 12 Jan 2014, 15:51    Post subject:  

Hi Toni

Quote:
I see dpkg still have the information about both debian kernels, live-boot and initramfs-tools. We can remove it with apt-get purge.
I also don't see any information about the porteus kernel. I guess it will be not too difficult to include such information about the porteus kernel manual. Maybe we can even make it apt-get removable/uninstallable.
With your deb converting skills do you think it is possible to be made deb from porteus kernel? I know initrd has to be edited manualy but at least the kernel will be installable-removable with apt-get. What do you think?

Ah...I see, You are young and adventurous Very Happy
Never made a deb for a kernel,officially it installs in /lib/modules and in /boot (and more.. /usr/share/man...)
I'll think about that.
The initrd needs to be replaced by porteus one as well as vmlinuz.
It will have also other benefits apart from speed.
I use mostly Porteus-Wheezy lately and it's working fine but there must be some limitations I think; for example when you'd need kernel-headers.
Let's see what the others think about this.
Fred
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5087
Location: Arizona, U.S.A.

PostPosted: Sun 12 Jan 2014, 16:03    Post subject:  

# BaCon kit
A collection of files for the Basic Programming language BaCon ( BAsic CONverter ).
Basic commands are converted to C code and compiled, giving C binary exec. files.

The BaCon dir. is usually here: /usr/share/BaCon
I like to keep it on a partition ( not in the Save file ) and make a link: /usr/share/BaCon => /media/sda3/BaCon

Main BaCon site: http://www.basic-converter.org/

BaCon forum: http://basic-converter.proboards.com/

Big_Bass ( Joe ) tutorial: http://basic-converter.proboards.com/thread/263/mental-math-placement-widget-tutorial

# Peter has done an incredible job with BaCon, and the guys at the forum are great too.

# The kit has text and html docs for Bacon and HUG ( GTK widgets ) and some examples.
Read my simple intro.: BaCon_GetStarted.txt

### William and anyone else interested; PM me about BaCon to keep this thread clean.
Or there`s 2 threads in the Programming forum. Sometimes it takes awhile to get help there.

# Extract the BaCon.tar.bz first, and then extract exec.tar.gz inside the BaCon dir.
.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3200

PostPosted: Sun 12 Jan 2014, 16:06    Post subject:  

fredx181 wrote:
William wrote:
Pressing Logout from IceWM menu results on my machine hanging and needing a reboot.

Hi William
Not sure if I understand right but:
I recently discovered that you must not press on logout but put cursor on it and move to the right, then appears shutdown, reboot, etc..
Fred


Hi Fred, yes, I knew that. I was just pointing out that there is a bug with just clicking Logout (and I also wanted to log out of being user root)

I'm still having a problem with alsa vanishing. Seems to only happy when I'm trying to record with arecord. The recording works first time, but then if I reboot the system, alsa is no longer working with no way I've found to get it back working again.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 43 of 283 [4236 Posts]   Goto page: Previous 1, 2, 3, ..., 41, 42, 43, 44, 45, ..., 281, 282, 283 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1394s ][ Queries: 13 (0.0783s) ][ GZIP on ]