OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: flux on November 03, 2007, 03:33:48 pm

Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 03:33:48 pm
i'm starting this topic because after thinking, all we talk about this subject in the thread "xorg user" as no-sense

to resume (before arriving at the actuals problems) :

uboot + debian eabi = install ok if follow the wiki

1-cfg.sh : bugs that might be corrected now

2-cfg.sh : pb :
when we arrive at the stage  :  
ts_calibrate
   ts_open no such file or directory
i'm still trying to understand it ... the only thing i change, was "icewm + icewm-experimental + icewm-gnome-support" by "fluxbox"
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 04:00:22 pm
does anyone knows where the "ts_open" is ? you must have it... where it is ?
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 03, 2007, 04:05:17 pm
Quote from: flux
does anyone knows where the "ts_open" is ? you must have it... where it is ?

it seems ts_calibrate cannot open the ts device
can you report :

env|grep TSLIB

?
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 04:11:45 pm
nothing
Title: 2.6.23.1-eabi Uboot
Post by: ZDevil on November 03, 2007, 04:12:10 pm
Just install EABI on my C860.
Ran 1st-cfg.sh.
There are two bugs:
1) The first implementation of extracting the afterinstall tarball is redundant, as it has already been extracted.  
2) "cp hwclock.rules ..." should be "cp settings/hwclock.rules ..."

Also perhaps one more boot is preferred to let the hwclock.rules to take effect.

but otherwise the script runs so well!
So I guess the rest of the error flux got may be due to a faulty download/extraction or manual fiddling.

Now try the 2nd-cfg.sh ...
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 04:15:02 pm
it run so well when you run it only once
Title: 2.6.23.1-eabi Uboot
Post by: ZDevil on November 03, 2007, 04:16:03 pm
No, I ran it twice.  
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 04:20:43 pm
thx !!!

i don't konw why, in my .profile, there is an "export TS...."
and as i said, i don't know why it was used.... i "exit" then login ... and that's good.
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 04:21:33 pm
Quote from: ZDevil
No, I ran it twice.  

so visit your   /etc/rc.local      and your   /etc/hosts     ;p
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 04:35:17 pm
now.... UBOOT \o/

does anyone knows where, when i'm in emergency-mode of uboot (or in an other place ?) should i tell "/dev/hda1" to "1" in order not to have to press "2" during boot process ?
i'm looking in uboot.sf.net doc... but it's huge... if someone has a clue...
Title: 2.6.23.1-eabi Uboot
Post by: ZDevil on November 03, 2007, 04:36:29 pm
Quote from: flux
Quote from: ZDevil
No, I ran it twice.  

so visit your   /etc/rc.local      and your   /etc/hosts     ;p

Those things don't do much harm, at least don't stop me to boot and run the 2nd-cfg.sh...  

Now apt-get dist-upgrading...
I will report if I also run into issue of ts_calibrate.
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 05:11:12 pm
new problem !
it is deja vu...

root : startx   -> no pb
user : startx -> no way, server as to be suid (and when i chmod 4755, it doesn't work neither.)

apt-get install xdm
xdm -> nothing append

apt-get install gdm : it wants to install me gdm + all xorg + (.....)  --> 45 Mo of package....

so my question : how do start your favorite  WM  on $USER ?
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 03, 2007, 05:22:51 pm
Quote from: flux
new problem !
it is deja vu...

root : startx   -> no pb
user : startx -> no way, server as to be suid (and when i chmod 4755, it doesn't work neither.)

apt-get install xdm
xdm -> nothing append

apt-get install gdm : it wants to install me gdm + all xorg + (.....)  --> 45 Mo of package....

so my question : how do start your favorite  WM  on $USER ?

if you find tell me !  
Title: 2.6.23.1-eabi Uboot
Post by: ZDevil on November 03, 2007, 05:23:38 pm
Install 2or0's X-related packages (inside the afterall/packages directory).  
You can try to run the things in 2nd-cfg.sh chunck by chunk. The script is basically helping users to install loads of things.
I don't use xdm or gdm; they just get in the way and block me from getting back to the console.
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 05:35:17 pm
Quote from: ZDevil
Install 2or0's X-related packages (inside the afterall/packages directory).  
You can try to run the things in 2nd-cfg.sh chunck by chunk. The script is basically helping users to install loads of things.
I don't use xdm or gdm; they just get in the way and block me from getting back to the console.

your working as root ? or with the x-related packages of afterall, you're able to "startx" as $USER ?
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 05:37:19 pm
Quote from: ZDevil
Install 2or0's X-related packages (inside the afterall/packages directory).  
You can try to run the things in 2nd-cfg.sh chunck by chunk. The script is basically helping users to install loads of things.
I don't use xdm or gdm; they just get in the way and block me from getting back to the console.

for getting back to the console, you can always do :

sudo chvt 1  (or chvt [123456] )
Title: 2.6.23.1-eabi Uboot
Post by: ZDevil on November 03, 2007, 05:39:35 pm
Oh yes, root. Just like when using other OSs on the Z. I am no paranoid.  
Frankly I haven't tried X in $USER yet.
Title: 2.6.23.1-eabi Uboot
Post by: ZDevil on November 03, 2007, 05:40:27 pm
Quote from: flux
Quote from: ZDevil
Install 2or0's X-related packages (inside the afterall/packages directory).  
You can try to run the things in 2nd-cfg.sh chunck by chunk. The script is basically helping users to install loads of things.
I don't use xdm or gdm; they just get in the way and block me from getting back to the console.

for getting back to the console, you can always do :

sudo chvt 1  (or chvt [123456] )

Thanks! But i still don't like gdm for its not so small overhead.
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 03, 2007, 05:45:23 pm
Quote from: ZDevil
Oh yes, root. Just like when using other OSs on the Z. I am no paranoid.  
Frankly I haven't tried X in $USER yet.

i remember login with $USER was working just perfect with debian OABI but with xdm loaded...
i don't understand why that does not work with EABI ....
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 06:51:27 pm
cd /afterinstall/packages && dpkg -i xserver* xst*
xdm ->  fails.

 apt-get install xserver-xorg-video-fbdev      it install me the whole xorg .... like yesterday under OABI  
xdm : still not working.... GOD !
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 07:02:48 pm
i don't know for you, but for me, i think it's one of the biggest bug i have ever seen ! be OBLIGE to do X stuff on root ! i mean WTF ! what a security lack ! Plus we're on pocket station... which are doomed to be bluetoothed + irda attaqued .... and wifi... and more...
that's not credible

please, would you know where i can feel in a bug report for that ?
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 07:30:30 pm
ok... i find a way.
let me investigate it a little, but it works... i have to define what packages it needs, and what are obsoletes... tell you in less than 10 min
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 08:56:09 pm
1 hour an a half later....

ok folks, i tried the best i can, i had to remove almost everything in order not to have package that you wouldn't have (...)

well do that :
apt-get install xdm
cd /usr/bin
mv X X.OLD
ln -s  Xfbdev X
chmod 2755 Xfbdev

then, you can launch xdm, and log into X as $USER
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 09:22:13 pm
j'ajoute a cela :

allez visiter :

/etc/X11/xdm/Xresources       ligne 84 :   Chooser*geometry:     mettez une geometry qui tient sur l'ecran d'un zaurus (640x480)

/etc/X11/xdm/Xsetup      -->     xrandr -o right                et si vous voulez    .....     Esetroot  ~/wallpaper.jpg

/etc/X11/xdm/Xservers          ligne 35 :   ajoutez a la fin, comme dans nos   ~/.xserverrc            -fp /usr/share..../misc

et d'autres trucs bien entendu... chacun configure son linux a sa sauce  
bonne soiree/journee !
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 03, 2007, 11:09:28 pm
oops ! sorry !

and then , go visit :
/etc/X11/xdm/Xresources ligne 84 : Chooser*geometry:      (put a geometry that fitt on zaurus' screen)

/etc/X11/xdm/Xsetup --> xrandr -o right           and, if you want     :   Esetroot   ~/cool_pix.jpg
/etc/X11/xdm/Xservers ligne 35 :      add in the end, the same as in our ~/.serverrc       "  -fp /usr/share/.../misc "

and more... and more .... everybody do the way he feels !  
have a nice day !
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 04, 2007, 02:50:21 am
Quote from: flux
oops ! sorry !

and then , go visit :
/etc/X11/xdm/Xresources ligne 84 : Chooser*geometry:      (put a geometry that fitt on zaurus' screen)

/etc/X11/xdm/Xsetup --> xrandr -o right           and, if you want     :   Esetroot   ~/cool_pix.jpg
/etc/X11/xdm/Xservers ligne 35 :      add in the end, the same as in our ~/.serverrc       "  -fp /usr/share/.../misc "

and more... and more .... everybody do the way he feels !  
have a nice day !

yeah! merci! oh i mean thanks
i'll try that right after i'm (really) awaken
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 04, 2007, 11:19:48 am
jpmatrix :  so ? no majors issues ?

ZDevil : i think we should add the adduser $USER and then the above trick to be able de launch X with a $USER in your 2-cfg.sh process for the Q18  and for other install.
maybe you should add it in the wiki.
my point is that it would be a shame if debian-zaurus based machines become the source of linux-virus, because their users only work in root instead of $USER. i won't develop this idea, you probably understand what i mean. Once shouldn't work in root.
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 04, 2007, 12:06:19 pm
Quote from: flux
jpmatrix :  so ? no majors issues ?

ZDevil : i think we should add the adduser $USER and then the above trick to be able de launch X with a $USER in your 2-cfg.sh process for the Q18  and for other install.
maybe you should add it in the wiki.
my point is that it would be a shame if debian-zaurus based machines become the source of linux-virus, because their users only work in root instead of $USER. i won't develop this idea, you probably understand what i mean. Once shouldn't work in root.

gotcha! i've done all you wrote and X seems it want to be launched with my $USER but :
when i login with my $USER i'm always enforced to change my password ! do you know how to disable that??
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 04, 2007, 12:51:44 pm
Quote from: jpmatrix
Quote from: flux
jpmatrix :  so ? no majors issues ?

ZDevil : i think we should add the adduser $USER and then the above trick to be able de launch X with a $USER in your 2-cfg.sh process for the Q18  and for other install.
maybe you should add it in the wiki.
my point is that it would be a shame if debian-zaurus based machines become the source of linux-virus, because their users only work in root instead of $USER. i won't develop this idea, you probably understand what i mean. Once shouldn't work in root.

gotcha! i've done all you wrote and X seems it want to be launched with my $USER but :
when i login with my $USER i'm always enforced to change my password ! do you know how to disable that??

yep :  login in, and change password while loggin
then, exit properly
then relog

oh, and btw...you can   "man 5 shadow"   it explains how to configure it....    be sure the date is well fix  (apt-get install ntpdate && /usr/sbin/ntpdate pool.ntp.org )
that should be fix
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 04, 2007, 01:08:14 pm
Quote from: flux
Quote from: jpmatrix
Quote from: flux
jpmatrix :  so ? no majors issues ?

ZDevil : i think we should add the adduser $USER and then the above trick to be able de launch X with a $USER in your 2-cfg.sh process for the Q18  and for other install.
maybe you should add it in the wiki.
my point is that it would be a shame if debian-zaurus based machines become the source of linux-virus, because their users only work in root instead of $USER. i won't develop this idea, you probably understand what i mean. Once shouldn't work in root.

gotcha! i've done all you wrote and X seems it want to be launched with my $USER but :
when i login with my $USER i'm always enforced to change my password ! do you know how to disable that??

yep :  login in, and change password while loggin
then, exit properly
then relog

oh, and btw...you can   "man 5 shadow"   it explains how to configure it....    be sure the date is well fix  (apt-get install ntpdate && /usr/sbin/ntpdate pool.ntp.org )
that should be fix

it works ! thanks ! i think my problem was date related as it kept asking me to change my password each time i login.
merci!

ps: to have the right time, i had to run dpkg-reconfigure tzdata and choose Europe/Paris
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 04, 2007, 01:54:08 pm
i wish i also add the right language too.... but apt-get install locales is broken :/

i didn't understand one thing : does it keep asking you for passwd ? or not ?
me, i first "apt-get install ntpdate" ... then loggued in user, change password , exit, and reloggue.  since, it is fine.
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 04, 2007, 02:02:49 pm
Quote from: flux
i wish i also add the right language too.... but apt-get install locales is broken :/



Quote from: flux
i didn't understand one thing : does it keep asking you for passwd ? or not ?
me, i first "apt-get install ntpdate" ... then loggued in user, change password , exit, and reloggue.  since, it is fine.

wait, i try again...
...
it seems to be right now !

just a little problem, the xdm box with ask for the password is too far on the left
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 04, 2007, 02:21:35 pm
as i told in a precedent post....
visit    /etc/X11/xdm/*   (/etc/X11/xdm/Xresources maybe, i don't remember) .... and make the box fitt your screen
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 04, 2007, 02:28:37 pm
Quote from: flux
as i told in a precedent post....
visit    /etc/X11/xdm/*   (/etc/X11/xdm/Xresources maybe, i don't remember) .... and make the box fitt your screen

yeah yeah i know i know  i wanted you to give me the good setting
Title: 2.6.23.1-eabi Uboot
Post by: flux on November 04, 2007, 02:32:52 pm
well, MY right settings are probably NOT same as YOUR right settings

that's what i like... do what I want, and not what the big developper (for exemple MS) wants...
Title: 2.6.23.1-eabi Uboot
Post by: jpmatrix on November 04, 2007, 04:44:16 pm
Quote from: flux
well, MY right settings are probably NOT same as YOUR right settings

that's what i like... do what I want, and not what the big developper (for exemple MS) wants...

well,
here are my settings. you forgot to say that Chooser*geometry is used for remote connections.
for local login, you should modify :
xlogin*geometry: 520x400+60+40   (in fact i added that line into /etc/X11/xdm/Xresources)

now the login box appears centered.