Page 1 of 1

console puppy without X server

Posted: Fri 27 Jul 2007, 11:04
by odom
I am trying to build a small Puppy derivative to control my NAS RAID 1 and Twonky and ITunes.

I stripped down Puppy with Unleashed and it works well.
All X-related packages are gone and thats what I want.

Problem:

Network wizard and Universal Installer DO need X (At least for XMessage and XDialog)

Any solution out there to run Puppy ciompletely without X?

Posted: Sat 28 Jul 2007, 12:15
by Getnikar
Are they scripts? If so, you might have to recode them to use dialog, and submit them to Barry. Of course they really would need to be updated in parallel with their X equivalents in future. I guess the only way to do this with Puppy is to have Barry agree to take this on, else fork your own Puppy.

Ideally the existing code should cater for X and console.

Posted: Mon 30 Jul 2007, 00:33
by muggins
nathan made a version, (maybe two?), of a commandline puppy, awhile ago. i think somewhere around puppy2.01. i'll have a search for it later & see if i can dig some link up.

Posted: Mon 30 Jul 2007, 04:47
by Lobster
I think the guy who created this console based Puplet "PicoPup"
http://puppylinux.org/wikka/PicoPupMPD
had a console programs thread . . . :)

Re: console puppy without X server

Posted: Mon 30 Jul 2007, 05:05
by John Doe
odom wrote:Any solution out there to run Puppy ciompletely without X?
use the pfix=nox param

and this page:

http://www.puppylinux.org/wikka/ShellScriptsExamples

Posted: Tue 31 Jul 2007, 11:09
by muggins

Posted: Wed 01 Aug 2007, 12:56
by odom
Thanks a lot so far.

Thats the current status:

Puppy works fine without X and comes up and runs very good.


I wrote a main-menu für my life-cd with sh and dialog, that comes up at boottime and gives you choices like:

- Install to device (HDD,USB,...)
- Setup network (modules and IP-settings)
- Shell
- Reboot
- Shutdown

For the network setup part I adopted parts from puppys network setup wizard and parts from trivial-network-setup and recoded everything with sh and dialog - cool!

The first menu item is still a big issue. Actually I intended to redirect the calls to Xdialog and gxmessage to "wrapper-scripts" which translate the Xdialog and gxmessage-commandline syntax to calls to the dialog software.

-- yes -- It works -- but unfortunately thats not it :-(

puppyinstaller seems to call another software after the initial selection of the targetdevice in the menu. And thats not Xdialog or gxmessage :-(

So it seems like my first approach to make the puppyinstaller available under the CLI failed at that point and maybe I will have to analyze and rewrite the puppyintaller which I actually dont want to do :-(

Maybe somebody knows about the puppyinstaller and has an idea how I could solve this problem?

BTW: Somebody interested in the CLI-wrappers for XDialog and gxmessage (both still beta, fur sure ;-)

Posted: Wed 01 Aug 2007, 13:02
by odom
ah found it.
I will need an CLI substitute for gtkdialog2
Hmmm... any idea?

Posted: Thu 02 Aug 2007, 12:03
by odom
There was a distribution around some years ago which was called OneBone Puppy. This one seems to do exacly what I am looking for.

Does somebody know what happened to this distro?

Is there a chance to contact Barry directly abot this?

Posted: Thu 02 Aug 2007, 12:29
by jcoder24

Posted: Thu 02 Aug 2007, 13:01
by muggins
odom,

also have a squizz at the 3 links i gave above as they are all one-bone related.

Posted: Fri 03 Aug 2007, 10:25
by odom
Yeah.

Thanks for the links. The information was really useful for me.

Just the problem with the installer is still open.

The puppy universal installer needs X :-(

No idea how to solve that except rewriting it... And that means maintainance - a word which I really hate