Author Topic: Configuring Qpe-terminal  (Read 7485 times)

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« 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?
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Configuring Qpe-terminal
« Reply #1 on: May 07, 2007, 08:37:04 am »
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.
« Last Edit: May 07, 2007, 08:39:40 am by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« Reply #2 on: May 08, 2007, 07:44:46 am »
Quote
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.
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

pengunassasin

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #3 on: May 08, 2007, 01:19:06 pm »
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
Cacko/Crow rom from Schwag (rom --.--) on an SL-5500 with
AmbiCom 802.11b wifi card (CF) + 1gb SanDisl SD Card (/home/) Usb-storage_1.0.0_arm and sudo_2.3_unofficial for mounting /home/ as a removable ext2 disk
ext2ifs for WinXP QTopia Desktop 2 (some version)
HancomOffice (Word, Sheet, Presenter) from Stock SHARP rom (ripped by hand!)

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« Reply #4 on: May 08, 2007, 09:02:40 pm »
Quote
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.
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

pengunassasin

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #5 on: May 08, 2007, 09:21:38 pm »
Quote
Quote
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)
Cacko/Crow rom from Schwag (rom --.--) on an SL-5500 with
AmbiCom 802.11b wifi card (CF) + 1gb SanDisl SD Card (/home/) Usb-storage_1.0.0_arm and sudo_2.3_unofficial for mounting /home/ as a removable ext2 disk
ext2ifs for WinXP QTopia Desktop 2 (some version)
HancomOffice (Word, Sheet, Presenter) from Stock SHARP rom (ripped by hand!)

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« Reply #6 on: May 09, 2007, 06:39:08 pm »
Quote
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...
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

pengunassasin

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #7 on: May 09, 2007, 08:10:13 pm »
Quote
Quote
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"
Cacko/Crow rom from Schwag (rom --.--) on an SL-5500 with
AmbiCom 802.11b wifi card (CF) + 1gb SanDisl SD Card (/home/) Usb-storage_1.0.0_arm and sudo_2.3_unofficial for mounting /home/ as a removable ext2 disk
ext2ifs for WinXP QTopia Desktop 2 (some version)
HancomOffice (Word, Sheet, Presenter) from Stock SHARP rom (ripped by hand!)

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #8 on: May 09, 2007, 09:15:46 pm »
If you have a recent backup, you could just restore it and get back to where you were when you made the backup.
« Last Edit: May 09, 2007, 09:17:44 pm by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« Reply #9 on: May 11, 2007, 07:08:15 pm »
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.
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

pengunassasin

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #10 on: May 13, 2007, 11:29:44 am »
Quote
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?
Cacko/Crow rom from Schwag (rom --.--) on an SL-5500 with
AmbiCom 802.11b wifi card (CF) + 1gb SanDisl SD Card (/home/) Usb-storage_1.0.0_arm and sudo_2.3_unofficial for mounting /home/ as a removable ext2 disk
ext2ifs for WinXP QTopia Desktop 2 (some version)
HancomOffice (Word, Sheet, Presenter) from Stock SHARP rom (ripped by hand!)

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« Reply #11 on: May 13, 2007, 06:51:01 pm »
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...
« Last Edit: May 13, 2007, 06:57:00 pm by jackschmidt »
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

pengunassasin

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #12 on: May 14, 2007, 12:52:00 am »
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/ ) 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
Cacko/Crow rom from Schwag (rom --.--) on an SL-5500 with
AmbiCom 802.11b wifi card (CF) + 1gb SanDisl SD Card (/home/) Usb-storage_1.0.0_arm and sudo_2.3_unofficial for mounting /home/ as a removable ext2 disk
ext2ifs for WinXP QTopia Desktop 2 (some version)
HancomOffice (Word, Sheet, Presenter) from Stock SHARP rom (ripped by hand!)

jackschmidt

  • Newbie
  • *
  • Posts: 28
    • View Profile
Configuring Qpe-terminal
« Reply #13 on: May 14, 2007, 07:51:56 pm »
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...
Sharp Zaurus SL-5600 Poodle
Sharp ROM 1.32

pengunassasin

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Configuring Qpe-terminal
« Reply #14 on: May 15, 2007, 04:50:58 pm »
Quote
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...
Cacko/Crow rom from Schwag (rom --.--) on an SL-5500 with
AmbiCom 802.11b wifi card (CF) + 1gb SanDisl SD Card (/home/) Usb-storage_1.0.0_arm and sudo_2.3_unofficial for mounting /home/ as a removable ext2 disk
ext2ifs for WinXP QTopia Desktop 2 (some version)
HancomOffice (Word, Sheet, Presenter) from Stock SHARP rom (ripped by hand!)