Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problems running on Suse 11

Blackbeard Everidge
Registered User
Join date: 19 Jan 2008
Posts: 7
06-30-2008 10:39
Hi,
I recently installed openSuse 11. After extracting second life, and trying ./secondlife, i get this

-bash: ./secondlife: Permission denied

If i try to run it graphically, i get this in a dialog:

KDEInit could not launch '/usr/bin/konsole'.

Any thoughts/suggestions on the matter? this is really bothering me.

And yes, im running in root.
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
06-30-2008 11:42
Do you have a proper 3D driver installed for your video card?
_____________________
Adamas Carter

OpenSUSE 11.1 (x86_64)
KDE 3.5.9
AMD Phenom X4 (all Phenoms are X86_64)
4G RAM
NVIDIA 8800GT (512M)
DSL 1.5/1.0
Arkem Landman
Registered User
Join date: 5 Jun 2008
Posts: 16
06-30-2008 13:32
From: Blackbeard Everidge

KDEInit could not launch '/usr/bin/konsole'.

Any thoughts/suggestions on the matter? this is really bothering me.

And yes, im running in root.

Are you running a graphic session as root or just the SL client ? If I were you, I'd run it as a normal user instead, and I wouldn't even think to lauch it as root... But peraps you have good reasons to do that ?
_____________________
Sorry for my poor english...
Steely Carver
The dreamer or the dream?
Join date: 10 Nov 2007
Posts: 515
06-30-2008 15:35
From: Blackbeard Everidge
Hi,
I recently installed openSuse 11. After extracting second life, and trying ./secondlife, i get this

-bash: ./secondlife: Permission denied

If i try to run it graphically, i get this in a dialog:

KDEInit could not launch '/usr/bin/konsole'.

Any thoughts/suggestions on the matter? this is really bothering me.

And yes, im running in root.


Never, ever, ever run as root. Root is only for administration purposes. You are opening yourself to any hacker that just happens to be passing by. One of the reasons Linux is pretty secure is the separation of kernel, user and root. By running as root you are circumventing that security.

I am running SL on Suse 11 and it's running great from my local user account.
_____________________
It is a tale told by an idiot, full of sound and fury, signifying nothing.
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
07-01-2008 02:12
From: Steely Carver
From: Blackbeard Everidge
And yes, im running in root.
Never, ever, ever run as root. Root is only for administration purposes.

Full ACK.
If you're used to Windows, this might take some time to digest, Blackbeard. On a properly set up Linux machine root access is only needed for installing programs system wide, configuring/updating/uninstalling system wide installed programs and configuring/changing the operating system itself.

As Second Life typically isn't installed system wide, but rather just unpacked somewhere in the user's home folder, you don't even <edit>need</edit> root access then. Unpacking it as a normal user will normally preserve 'executable' rights while setting ownership to that account.

From: Steely Carver
You are opening yourself to any hacker that just happens to be passing by.

Not only that, you also risk bugs in the application (and SL's still got lots of them, see http://jira.secondlife.com/) to potentially do much more damage.

From: Blackbeard Everidge
Any thoughts/suggestions on the matter?

Probably the 'executable' permission got unset somehow. Can you post the output of running `ls -l` (without the quotes) in the terminal from the directory where you've run `.secondlife`?
Blackbeard Everidge
Registered User
Join date: 19 Jan 2008
Posts: 7
07-02-2008 01:31
Just root in a terminal, not logged in as the user root. and yes, i have 3d graphics drivers installed.
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
07-02-2008 02:12
From: Blackbeard Everidge
Just root in a terminal, not logged in as a user. and yes, i have 3d graphics drivers installed.
If I understand this, you are not running in a graphical environment. You need to be running a graphical environment like KDE or Gnome. SL will not start its own X server, and does not operate in text mode.

If your computer does not have KDE or Gnome installed, you must install it first. Follow the method for your distribution to install one. There are different ways each distro uses to automatically run in graphical mode, but if you can't figure that out, log in as root in terminal and type init 5. This will start the X server and allow a normal login. Then you should be able to run SL.
_____________________
Adamas Carter

OpenSUSE 11.1 (x86_64)
KDE 3.5.9
AMD Phenom X4 (all Phenoms are X86_64)
4G RAM
NVIDIA 8800GT (512M)
DSL 1.5/1.0
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
07-02-2008 03:34
From: Blackbeard Everidge
Just root in a terminal, not logged in as a user.
All commands (programs) you start from a root terminal will also run as root, except they drop their rights themselves.

Again, can you try to run ls -l, so we can see if there's a problem with the file permissions?
Arkem Landman
Registered User
Join date: 5 Jun 2008
Posts: 16
07-02-2008 08:53
From: Blackbeard Everidge
Just root in a terminal, not logged in as the user root. and yes, i have 3d graphics drivers installed.

I'm not sure in your case, but there was a time it was impossible to launch a graphic app from a root term if the entire graphical session wasn't also root.

In any cases, SL is made to be launched as normal user and works very fine this way.
_____________________
Sorry for my poor english...
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
07-02-2008 17:07
I don't have a problem running a graphical program in a user session from a root terminal, but I tried doing it the other way around the other day (running a user gui in a root session) and it didn't work.
_____________________
Adamas Carter

OpenSUSE 11.1 (x86_64)
KDE 3.5.9
AMD Phenom X4 (all Phenoms are X86_64)
4G RAM
NVIDIA 8800GT (512M)
DSL 1.5/1.0
Arkem Landman
Registered User
Join date: 5 Jun 2008
Posts: 16
07-02-2008 21:36
Simply run it as user in a user session and it will start to be interesting...

Can you copy/past the last lines printed by the SL client in your term, so we'll have some hints about the error it encountered ? I can't check it now to be more precise, but I know the line describing the error is one of the 20 last lines printed. Thoses following are just closing infos.

One more: Verify the second-life script file permissions. It's possible that it only lack executable bits. With nautilus, you can simply right click on its icon, choose 'properties' (not sure of that, mine is in french), go to the permissions tab and check the executable checkbox at the bottom of the window.
One other good test should be to run it with the 'bash' command: Open a terminal, go to your SL client dir, and type bash ./second-life instead of ./second-life

Good luck
_____________________
Sorry for my poor english...
Blackbeard Everidge
Registered User
Join date: 19 Jan 2008
Posts: 7
07-03-2008 00:08
Thanks for all your help, but i decided to just switch to Debian, which im having a much better experiance with, exept a network problem. For some odd reason while im playing, it routinely crashes my connection to my wireless network every 5 minutes or so, regardless of what applications i have runniing in the background, or how much kbps i alow it in the prefrerences menu, any thoughts?
After i does this, my computer has to reconnect to my wireless network. Im using A intel 3945ABG laptop card, and have never had this problem with any other distro, or even windows.
Vonn Seesaw
Registered User
Join date: 4 Nov 2007
Posts: 1
07-03-2008 18:11
Check to see if your scripts(./secondlife) are executable. This happened to me under opensuse11 KDE4. Installed under Gnome and everything worked fine. I think it was KDE 4.
Matze88 Auer
Registered User
Join date: 10 Jul 2008
Posts: 1
Secondlife running on openSUSE 11
07-24-2008 13:57
Hello,

I had the same problem ...
Second Life did not want to run under 11 openSUSE (KDE 4).

One has to be the launch in Second Life folder and a right-files on the following ... Properties and tab permissions to tap then a hook set ready ..
This along with all files in the bracket are ...

(Secondlife,
register_secondlifeprotocol.sh, launch_url.sh, handle_secondlifeprotocol.sh, in the bin folder do-not-directly-run secondlife-bin)

Second Life is running ...

Sorry for my bad english ;-)
Loire Levasseur
Registered User
Join date: 11 Mar 2008
Posts: 1
10-03-2008 04:53
sorry Matze I am not entirely sure i understand your directions, here is my problem


I downloaded sl from the site, unpacked it, clicked on the secondlife shell script as specified in the read me..nothing happened,..opened up a console typed ./secondlife, got this

line 99: bin/do-not-directly-run-secondlife-bin: Permission denied
*** Unclean shutdown. ***

I have searched around for answers, and have set the scripts to 'executable' as suggested by Vonn Seesaw, prior to that there were alot more 'line 99' style errors..

I have reference to running ls -l so here is that output

fire@linux-huev:~/sl> ls -l
total 3296
drwxr-xr-x 5 fire users 4096 2008-10-02 21:36 app_settings
drwxr-xr-x 2 fire users 4096 2008-10-02 21:36 bin
drwxr-xr-x 2 fire users 4096 2008-10-02 21:36 character
-rw-r--r-- 1 fire users 9567 2008-10-02 21:36 featuretable_linux.txt
drwxr-xr-x 2 fire users 4096 2008-10-02 21:36 fonts
-rwxr-xr-x 1 fire users 10289 2008-10-02 21:36 gpu_table.txt
-rwxr-xr-x 1 fire users 0 2008-10-02 21:36 gridargs.dat
-rwxr-xr-x 1 fire users 245 2008-10-02 21:36 handle_secondlifeprotocol.sh
-rwxr-xr-x 1 fire users 2312 2008-10-02 21:36 launch_url.sh
drwxr-xr-x 2 fire users 4096 2008-10-02 21:36 lib
-rw-r--r-- 1 fire users 35357 2008-10-02 21:36 licenses.txt
-rwxr-xr-x 1 fire users 2337207 2008-10-02 21:36 linux-crash-logger.bin
-rw-r--r-- 1 fire users 337089 2008-10-02 21:36 lsl_guide.html
-rw-r--r-- 1 fire users 10867 2008-10-02 21:36 README-linux.txt
-rw-r--r-- 1 fire users 3479 2008-10-02 21:36 README-linux-voice.txt
-rwxr-xr-x 1 fire users 1374 2008-10-02 21:36 register_secondlifeprotocol.sh
-rw-r--r-- 1 fire users 40851 2008-10-02 21:36 releasenotes.txt
drwxr-xr-x 2 fire users 4096 2008-10-02 21:36 res-sdl
-rwxr-xr-x 1 fire users 4815 2008-10-02 21:36 secondlife
-rw-r--r-- 1 fire users 73845 2008-10-02 21:36 secondlife_icon.png
drwxr-xr-x 4 fire users 4096 2008-10-02 21:36 skins
-rwxr-xr-x 1 fire users 433884 2008-10-02 21:36 SLVoice






running opensuse 11 with kde 4

any help , wil be greatly appreciated