OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: jackschmidt on May 06, 2007, 11:53:35 pm
-
I need some help here. I'm running Watapon ROM and installed qpe-terminal (by mistake actually because I think Watapon had one already).
I uninstalled qpe-terminal and then figured it removed the application so I put it back.
qpe-terminal is running though I'm finding something strange with it.
When I launch it, it opens up as root, not zaurus. I've tried tap and hold on the icon to see the 'run as root' check box and I notice I don't have it ticked... but it still starts up as root.
How can I get it to run as user instead of root?
-
just a shot in the dark ,but what if you try launching another instance of it from qpe-terminal from qpe-terminal? This might let you know if the problem is in the shortcut or a config file.
-
just a shot in the dark ,but what if you try launching another instance of it from qpe-terminal from qpe-terminal? This might let you know if the problem is in the shortcut or a config file.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160697\"][{POST_SNAPBACK}][/a][/div]
When I do that... it's another root terminal. Config problems, I think. Not sure how though.
-
another shot in the dark, have you tried EmbeddedKonsole or another terminal?
if that comes up as a root console then the shell is being retarded
-
another shot in the dark, have you tried EmbeddedKonsole or another terminal?
if that comes up as a root console then the shell is being retarded
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160805\"][{POST_SNAPBACK}][/a][/div]
Honestly, I think there's no qpe-terminal binary in the qpe-terminal package. It's EmbeddedKonsole. Or at least I think. I did install qpe-terminal but it seems to install embeddedkonsole.
-
another shot in the dark, have you tried EmbeddedKonsole or another terminal?
if that comes up as a root console then the shell is being retarded
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160805\"][{POST_SNAPBACK}][/a][/div]
Honestly, I think there's no qpe-terminal binary in the qpe-terminal package. It's EmbeddedKonsole. Or at least I think. I did install qpe-terminal but it seems to install embeddedkonsole.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160840\"][{POST_SNAPBACK}][/a][/div]
theres two consoles you can use: Konsole (real one from KDE) or qpe-terminal (the sharp one)
NOTE: Konsole has a config screen (ie you can make up special terminals for say kismet)
-
theres two consoles you can use: Konsole (real one from KDE) or qpe-terminal (the sharp one)
NOTE: Konsole has a config screen (ie you can make up special terminals for say kismet)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160842\"][{POST_SNAPBACK}][/a][/div]
I'll try to check again when I get the chance later. Would installing another terminal application help? I wonder...
-
theres two consoles you can use: Konsole (real one from KDE) or qpe-terminal (the sharp one)
NOTE: Konsole has a config screen (ie you can make up special terminals for say kismet)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160842\"][{POST_SNAPBACK}][/a][/div]
I'll try to check again when I get the chance later. Would installing another terminal application help? I wonder...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160887\"][{POST_SNAPBACK}][/a][/div]
yes it would
you can even go DIRECTLY into a shell by hitting the "/?" button when qTopia says "wait...N"
go to shutdown and click "terminate QTopia"
-
If you have a recent backup, you could just restore it and get back to where you were when you made the backup.
-
I don't have the size to do a system backup. So, I'm afraid that wouldn't work.
I just installed qkonsole and checked what it would start as. But it starts as root also. Does that mean something is wrong with my ROM?
I wonder what the solution could be.
-
I don't have the size to do a system backup. So, I'm afraid that wouldn't work.
I just installed qkonsole and checked what it would start as. But it starts as root also. Does that mean something is wrong with my ROM?
I wonder what the solution could be.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161107\"][{POST_SNAPBACK}][/a][/div]
well, you can always see if theres a .bash_profile in /home/zaurus/ - if that contains "su" or "sudo su" or something like that - thats a start
Also, is your HOME on an SD card?
-
No. The home directory is not in the SD card. I'll check the .bash_profile and see what I can make out.
Edit:
Just checked it. .bash_profile does not exist in the home directory. Only .bash_history.
I'm checking /etc, here's the only seemingly relevant files:
busybox.conf
tinylogin.conf
Doesn't seem to be much. I'm going to try grep -R su . on '/'. Hmm... seems grep here does not support the recursive flag...
-
i just flashed theKompany and i get the same thing. it _appears_ to be related to who spawned the app... you could try doing some other rom (ie oz from rootfs loopback- http://pengunassasin.kicks-ass.org/zaurus/ (http://pengunassasin.kicks-ass.org/zaurus/) ) or try ssh'ing into your z... if ssh as "zaurus" with password " " or "" dosent work... its the rom... i would either A) reflash or get over it
-
I'm starting to think it's related to how the OS starts. I do note that in Zynergy or Sharp ROM it does launch as zaurus and it seems in Watapon, it starts as root though I'd have to reflash to answer it definitively, which I don't want because this is quite customized already to what I like.
This is kind of scary, but I hope there's a way to fiddle this to launch as zaurus instead of root. init perhaps? Hmm...
-
I'm starting to think it's related to how the OS starts. I do note that in Zynergy or Sharp ROM it does launch as zaurus and it seems in Watapon, it starts as root though I'd have to reflash to answer it definitively, which I don't want because this is quite customized already to what I like.
This is kind of scary, but I hope there's a way to fiddle this to launch as zaurus instead of root. init perhaps? Hmm...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161291\"][{POST_SNAPBACK}][/a][/div]
waaaait... you have a CF card right?
do a backup to a CF card after you clear it out...
that would be the simplest...
-
waaaait... you have a CF card right?
do a backup to a CF card after you clear it out...
that would be the simplest...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161377\"][{POST_SNAPBACK}][/a][/div]
Well, I did some digging and there's some interesting aspects to this.
If I su 'zaurus' from konsole, I cannot seem to run qkonsole nor embeddedkonsole. It says permission denied even though it has execute permissions for all users. I also note that qpe.sh in /home/QtPalmtop seems to have set QPEUSER=root and QPEGROUP=root. I can also infer from the process table that the running qpe owner seems to be "root.root". Interesting behaviour to say the least.
I did try to modify qpe.sh which made my Zaurus not boot to desktop. I had to boot into commandline from startup and fix that up.
I don't have a CF card but I do have a 64 mb SD card. Kind of on the tiny end there.
I'm going to do a bit more digging but I find it interesting that in /etc/rc.d/rc5.d, there does not seem to be any link to running qpe...