OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: pnb on January 17, 2004, 08:02:46 am

Title: X11 and afterstep
Post by: pnb on January 17, 2004, 08:02:46 am
Hi there!

Is there a way to boot the X11-rom into a command prompt instead of the usual login?
I ask because I installed the afterstep wm-package and somehow it won\'t execute anything not even the terminal. Now I\'m stuck in a rather useless windowsmanager everytime I reboot.
any help appreciated

Peter
Title: X11 and afterstep
Post by: omin0us on January 17, 2004, 07:47:42 pm
i\'ll have to look into configuring AfterStep to be more accustomed to Cacko Linux on the default install, then i\'ll release a new package.

but if you would like to get to a console,  you will need to be able to telnet into it. and either run the command: ps -ax
and then find the pid of X and run the command: kill -9 <pid>
after that, then you should be dropped to a bash prompt, and from there run the command: setxdefault or if you have fluxbox installed, setxflux.
or.
once you are at a console, edit /etc/inittab and change the line:
id:5:initdefault
to
id:3:initdefault
then you will need to edit /etc/rc.d/rc
and uncoment the lines:
#argv1=\"$1\"
#set `/sbin/runlevel`
#runlevel=$2
#previous=$1
#export runlevel previous

then reboot. the console will be kind of weird and not ever scroll up. it just display\'s everything on the last line. so you will probably need to run the \'clear\' command after logging in as root.
after you all of this. it will always boot into the console instead of X. but to undo it all. you will need to change /etc/inittab back to having the line
id:5:initdefault
and recomment those lines in /etc/rc.d/rc
hope that helps you out. but if i were you, i\'d just go the route of telneting in and killing X. But i explained the other stuff to you incase you ever want the PDA to just boot into the Console, so that you can startx on your own, and not have to worry about it being stuck in AfterStep even after rebooting.
Title: X11 and afterstep
Post by: omin0us on January 17, 2004, 08:06:38 pm
ok, i looked into it a bit. and if you would like to fix the problem with launching a terminal window in AfterStep on the zaurus, do this:

edit ~/usr/share/afterstep/start/c_xtermeinal
and change it to exec /usr/apps/Terminal/AppRun
Title: X11 and afterstep
Post by: pnb on January 18, 2004, 03:46:59 am
ok thank you for your thoruogh support...however I was a little restless and gave up before you answered so now I\'m checking out the newest Qtopia Rom instead.
Peter