02-02-2008, 10:29 PM | #1 |
Pledge
Join Date: Feb 2008
Posts: 5
|
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? 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) |
02-02-2008, 11:22 PM | #2 |
Count
Join Date: Nov 2007
Location: Infinite Improbability Drive
Posts: 1,287
|
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 |
02-03-2008, 01:12 AM | #3 |
Count
Join Date: Jul 2007
Location: France
Posts: 1,416
|
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.
__________________
|
02-03-2008, 08:18 AM | #4 |
Pledge
Join Date: Feb 2008
Posts: 5
|
Probably should have mentioned I tried that.
Code:
el-moriati@supermegaawesomehost:~/regnum> ./rolauncher Aborted |
02-03-2008, 12:25 PM | #5 | |
Count
Join Date: Mar 2007
Location: Germany
Posts: 1,164
|
Try this:
Code:
xhost + If that works then write Quote:
/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. |
|
02-03-2008, 06:20 PM | #6 | |
Baron
Join Date: Apr 2007
Location: Svea Rike
Posts: 814
|
Quote:
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...
|
|
02-03-2008, 06:51 PM | #7 | |
Count
Join Date: Jul 2007
Location: France
Posts: 1,416
|
Quote:
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.
__________________
|
|
02-03-2008, 08:01 PM | #8 |
Pledge
Join Date: Feb 2008
Posts: 5
|
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. |
02-03-2008, 08:07 PM | #9 | |
Count
Join Date: Jul 2007
Location: France
Posts: 1,416
|
Quote:
__________________
|
|
02-03-2008, 08:12 PM | #10 |
Pledge
Join Date: Feb 2008
Posts: 5
|
Ok, that's what I thought. I have no files then, just rolauncher. Anyway, I'm positive that rolauncher is owned by my regular user, so that's not the issue.
|
|
|