Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 02-02-2008, 10:29 PM   #1
arobicha
Pledge
 
Join Date: Feb 2008
Posts: 5
arobicha is on a distinguished road
Default rolauncher - gtk issues

Hey all,

I've searched the forums and this looks unanswered, but I'm sorry if this has been dealt with. I've downloaded the linux client, unarchived using ark, chmod +x rolauncher , and this is what I get when I try to run it:
Code:
le-moi@my_host:~/regnum> sudo ./rolauncher
Error: Unable to initialize gtk, is DISPLAY set properly?
I'm running KDE 4 (tried in KDE 3.5 as well) on Suse 10.3,
GTK 1 & 2 installed (just today, tried after reboot and all).
echo DISPLAY gives 127.0.0.1:0.0 (which I would assume is correct considering everything else works...)

Double clicking the launcher gives me squat. I assume it's due to the GTK issue. Any idea on what I should do? (thanks in advance)
arobicha no ha iniciado sesión   Reply With Quote
Old 02-02-2008, 11:22 PM   #2
Miraculix
Count
 
Miraculix's Avatar
 
Join Date: Nov 2007
Location: Infinite Improbability Drive
Posts: 1,287
Miraculix will become famous soon enough
Default

Hm, check for gnome packages? Really no clue :/
__________________
Hit me, nail me, make me God.
Panoramix :: Half Elf Hunter ## Miraculix :: Half Elf Marksman ## Aspirinix :: Wood Elf Conjurer
Syrtis :: Horus :: Antartes
Miraculix no ha iniciado sesión   Reply With Quote
Old 02-03-2008, 01:12 AM   #3
magnet
Count
 
magnet's Avatar
 
Join Date: Jul 2007
Location: France
Posts: 1,416
magnet is on a distinguished road
Default

It has nothing to do with rolauncher nor with GTK; you are trying to run an X program using sudo, which creates a virtual root shell (obviously lacking the X environment variables required to locate the appropriate X session and the credentials). That's what gksu is made far.

Anyway, more generally, no game should ever be ran as root. Drop sudo.
__________________
magnet no ha iniciado sesión   Reply With Quote
Old 02-03-2008, 08:18 AM   #4
arobicha
Pledge
 
Join Date: Feb 2008
Posts: 5
arobicha is on a distinguished road
Default

Probably should have mentioned I tried that.

Code:
el-moriati@supermegaawesomehost:~/regnum> ./rolauncher
Aborted
I was initially under the impression that ./rolauncher was an installer, hence the sudo.
arobicha no ha iniciado sesión   Reply With Quote
Old 02-03-2008, 12:25 PM   #5
Myxir
Count
 
Myxir's Avatar
 
Join Date: Mar 2007
Location: Germany
Posts: 1,164
Myxir is on a distinguished road
Default

Try this:
Code:
xhost +
This allows every user to access Xserver. Maybe a problem with that.
If that works then write
Quote:
export xhost
into
/etc/profile
__________________
French Warriors of Syrtis: Nessa Telrunya (Hunter) - Myxir (Warlock) - Estra (Conjurer)
In War it does not matter who is right, but who is left.
Myxir no ha iniciado sesión   Reply With Quote
Old 02-03-2008, 06:20 PM   #6
Froste
Baron
 
Froste's Avatar
 
Join Date: Apr 2007
Location: Svea Rike
Posts: 814
Froste is on a distinguished road
Default

Quote:
Originally Posted by Myxir
Try this:
Code:
xhost +
This allows every user to access Xserver. Maybe a problem with that.
If that works then write

into
/etc/profile
Yeah that's brilliant, and why not email his /etc/shadow to random people in the world too, if you're going to open security holes might as well go for the big ones.

What magnet said is The Truth. Do not run rolauncher as root, run it as a regular user, if all the regnum files are owned by root right now, then chown -R YourLuserName:users regnum/ and then run the launcher again.
__________________
Eagles may soar, but weasels don't get sucked into jet engines...
Froste no ha iniciado sesión   Reply With Quote
Old 02-03-2008, 06:51 PM   #7
magnet
Count
 
magnet's Avatar
 
Join Date: Jul 2007
Location: France
Posts: 1,416
magnet is on a distinguished road
Default

Quote:
Originally Posted by arobicha
Probably should have mentioned I tried that.

Code:
el-moriati@supermegaawesomehost:~/regnum> ./rolauncher
Aborted
I was initially under the impression that ./rolauncher was an installer, hence the sudo.
That's another problem then; this is an uncaught C++ exception (as good as a segfault, that is; error management really isn't NGD's forte). Even if you run the program as root it won't change that. You have to find the specific problem.

Actually Froste's idea may be it: are the regnum files owned by your own user account? How did you install the game? (new install or old rolauncher alone), etc.
__________________
magnet no ha iniciado sesión   Reply With Quote
Old 02-03-2008, 08:01 PM   #8
arobicha
Pledge
 
Join Date: Feb 2008
Posts: 5
arobicha is on a distinguished road
Default

Nothing's installed, I'm trying to install it. If that's the issue, I've been severely mislead. I'm Downloading the "new" linux installer as we speak via KTorrent (significantly slower than I'm used to...) Most of the looking around I've done said that the install process was running rolauncher... For wiggles and giggles I tried ./rolauncher --install (and ./rolauncer -i, which I assumed where the same) they gave me a flat-out segfault. Even if I DID have the source available to me, you wouldn't catch me dead looking to fix another segfault

Anyway, I'll update when I get the installer.
arobicha no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:09 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved