Log in

No account? Create an account

Previous Entry Share Next Entry
Couple questions/problems
hvit_skog wrote in netbsd
When I try to run aterm, I get this:

"# aterm
/usr/local/bin/aterm: Permission denied"

I was on root too, so I'm not sure why this is happening.

When I try to run blackbox, I get this:

"# blackbox
Shared object "libXext.so.6" not found"

I'm not sure how to go about fixing these, so any help would be great. Also, is there away to start X right when you load BSD? Instead of having to type "startx"? Thanks in advance!

  • 1
/usr/local/bin/aterm: Permission denied"

Does /usr/local/bin/aterm have a executable bit set? You might want to chmod a+x that binary. Also if all fails, you might want to check if it needs to run SUID.

Shared object "libXext.so.6" not found"

blackbox may be looking at it in a different location. Do

find / -name libXext.so.6 -print

and see where it is (if it doesn't find it, search for just libXext). Once you find it, create a symbolic link to the file, for wherever blackbox is looking for it. Did you compile blackbox from pkgsrc?

Also, is there away to start X right when you load BSD?

There are two possibilities; one, put 'startx' into your shell's rc file (i.e. ~/.bashrc). This will execute anything within the file as soon as you login. Secondly, if you don't want a command line login, you can always use xdm...but be careful not to screw up the config, or otherwise you'll never be able to login. XDM pretty much creates a graphical login screen (like the fancy stuff you see in most Linux distros) and starts an X session for the user.

Alright, thanks for the help. Got blackbox working, and partially fixed aterm, it doesn't say Permission Denied anyore, now it says "Float point exception (core dumped)". Not sure what's up with it. Is it normal to have this many problems when installing it? It's not supposed to have any libraries tied to it that aren't already there, so I don't see why it's not running.

How did you install it? It's always better to install stuff like this using pkgsrc.

I would have used pkgsrc, but I don't have ppp configured all the way. I put the aterm tar in /usr, ran ./configure, make, make install.

That's a really bad way of doing things. You should never put downloaded stuff into /usr. Create a directory like /stuff instead and put it in there. When you do configure, make and make install it will automatically put things where thet need to be. Also if you don't have a network connection it would make sense to install packages using the precompiled binaries. Download the 2.0 precompiled packages ISO:


burn it to a CD, and use the pkg_add command to add packages. That way you don't have to compile anything.

  • 1