OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: ShiroiKuma on May 16, 2006, 05:15:22 am
-
In a fresh install I see there are basic commands missing, like mkswap swapon ldconfig and so...
They're probably in some add-on install ipk.
Which one is it?
ipkg search ldconfig gives me nothing
ipkg search mkswap nothing too... ???
-
use "su -" or "root shell" to became root - in other way you will not get /sbin/ /usr/sbin/ into PATH so you do not have those utils available.
-
My bad, sorry...
I was usingsu
instead ofsu -
Thanks.
-
Actually, when I use su - to become root and then run gpe-package, gpe-package refuses to run. It produces an error message which says:
(gpe-package:4777): Gtk-WARNING **: cannot open display:
I suspect this means that root has no default X display? Or something? I'm out of my depth here
When I use su to become root (no -) and run gpe-package, it works, can install things, and occasionally pops up the occasional, seemingly harmless message about how ldconfig didn't work to do something or other.
-
Actually, when I use su - to become root and then run gpe-package, gpe-package refuses to run. It produces an error message which says:
(gpe-package:4777): Gtk-WARNING **: cannot open display:
I suspect this means that root has no default X display? Or something? I'm out of my depth here
When I use su to become root (no -) and run gpe-package, it works, can install things, and occasionally pops up the occasional, seemingly harmless message about how ldconfig didn't work to do something or other.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127502\"][{POST_SNAPBACK}][/a][/div]
Use the root shell icon under utilities instead of su - and it won't error on the X display.
-
Actually, when I use su - to become root and then run gpe-package, gpe-package refuses to run. It produces an error message which says:
(gpe-package:4777): Gtk-WARNING **: cannot open display:
I suspect this means that root has no default X display? Or something? I'm out of my depth here
When I use su to become root (no -) and run gpe-package, it works, can install things, and occasionally pops up the occasional, seemingly harmless message about how ldconfig didn't work to do something or other.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127502\"][{POST_SNAPBACK}][/a][/div]
Use the root shell icon under utilities instead of su - and it won't error on the X display.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127508\"][{POST_SNAPBACK}][/a][/div]
Okay, but gpe-package should still ask for root privileges when you run it. As it stands, the existing icon is kind of useless.
-
gpe-package should run as root (or setuid, or something like that ), if it didn't then you wouldn't be able to install anything.
I suspect this means that root has no default X display? Or something? I'm out of my depth here
FYI, I'd guess that running 'export DISPLAY=:0.0' first should fix this problem.
Si
-
gpe-package should run as root (or setuid, or something like that ), if it didn't then you wouldn't be able to install anything.
Just so. And in fact, you *can't* install anything.
Already submitted a bug for this. Hopefully someone fixes it (and the "gpe-package doesn't particularly care if you want to install packages anywhere other than root" issue too).