Author Topic: Installation on Ubuntu 13.04  (Read 718 times)

kalapadago

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Installation on Ubuntu 13.04
« on: August 19, 2013, 07:22:22 am »
Hi. I have recently installed PlaneShift on my Ubuntu. I followed the exact instructions written in the sticky post. However, after the installation, I noticed some errors.
  • Desktop shortcuts have no icons. They can't be used as Ubuntu says something like "cannot run untrusted application". There is only a cancel button available.
  • Launching PlaneShift from Dash shows a terminal with lots of text and some kind of progress shown as a percentage, while opening a window (that's supposed to be the PlaneShift client) with blank black screen.
  • Running PlaneShift from the terminal with sudo brings up the normal PlaneShift client. Howerver, we wouldn't want to have to open up terminal everytime we want to play PlaneShift, would we? :)
What have I done wrong? I have installed PlaneShift on Debian and it worked fine.

cdmoreland

  • Hydlaa Citizen
  • *
  • Posts: 472
  • Main: Waesed Waesech
    • View Profile
    • Ad Libertatem
Re: Installation on Ubuntu 13.04
« Reply #1 on: August 19, 2013, 07:41:46 am »
You need to change 'permissions'. This drove me nuts, too. :sweatdrop:

kalapadago

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Installation on Ubuntu 13.04
« Reply #2 on: August 19, 2013, 08:26:20 am »
How do I go about changing said permissions? So it is not the same as granting/applying user group access to /opt/PlaneShift/?

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #3 on: August 19, 2013, 08:32:30 am »
I find the easiest way to install planeshift is just to install it into your home dir.
If you installed system wide in /opt with root:games access you will have to ad yourself to the games group

If you don,t have a games group create it first
Code: [Select]
sudo addgroup gamesThen ad yourself to the group
Code: [Select]
sudo adduser <username> <groupname>or
Code: [Select]
sudo usermod -aG <groupname> <username>Then logout and login again.

« Last Edit: August 19, 2013, 08:40:27 am by Lusserall »

kalapadago

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Installation on Ubuntu 13.04
« Reply #4 on: August 19, 2013, 08:42:28 am »
Thank you for the answer. I will try that now. Just a quick question though: what are the advantages of installing in /opt/ over /home/?

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #5 on: August 19, 2013, 08:48:09 am »
If you have multiple user accounts on your system you can install in /opt or any other place where those users have access to and ad them to the games group so they all can use the same client.
For me i,m only user and have more space in /home so i install there making me the owner of all ps files so don,t have to ad myself to any group also.
« Last Edit: August 19, 2013, 08:54:20 am by Lusserall »

kalapadago

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Installation on Ubuntu 13.04
« Reply #6 on: August 19, 2013, 09:09:50 am »
I'm sorry to say that the above solution did not work. I still have the untrusted dialog box and the desktop icons are still missing. I have even reinstalled it in my home directory, added myself to the group user (as per the sticky post instructions) and the group games.

What other solutions are available?

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #7 on: August 19, 2013, 09:19:46 am »
I'm sorry to say that the above solution did not work. I still have the untrusted dialog box and the desktop icons are still missing. I have even reinstalled it in my home directory, added myself to the group user (as per the sticky post instructions) and the group games.

What other solutions are available?

You should have added yourself to the group games after you created the group
Code: [Select]
sudo adduser yoursystemusername gamesThen logout and login to your system account again that should work if you installed planeshift with root:games access

When you install to your home dir you should have full ownership off all planeshift files so no need to ad your self to any group then it should just work.
If you don,t have desktop icons you can try running pslaunch or psclient from the game dir directly or make some shortcuts to them yourself.

kalapadago

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Installation on Ubuntu 13.04
« Reply #8 on: August 19, 2013, 09:44:24 am »
Yes, I did exactly as you said. Still doesn't work. Still untrusted permission. I've also tried adding root to the group games and installing, but still no result.

I tried entering planeshift (system wide install) in terminal, and this is what i get:
Segmentation fault (core dumped)

Then I tried sudo planeshift, the client shows up, offering an update, etc, but with no sound, and a lot of what seems to be error messages in the terminal. Could not open this and that, couldn't load plugin iSoundManager, etc.

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #9 on: August 19, 2013, 09:59:07 am »
Do the psclient, psclient.bin, pslaunch and pslaunch.bin files have executable rights?

Don,t mind to much about those Could not open this and that, couldn't load plugin iSoundManager, etc you will see allot of those in terminal output.

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #10 on: August 19, 2013, 10:16:52 am »
Just downloaded the last 32bit client and tried to install and its working fine here.
Did miss the create shortcuts to desktop part but that can be done manually when needed.

run installer
choose language
welcome to planeshift setup wizzard
accept license
instalation directory [/home/user]
release info
system wide install [NO]
Choose window manager
set permisions [NO]
installing
run pslaunch
update
play

kalapadago

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Installation on Ubuntu 13.04
« Reply #11 on: August 20, 2013, 06:53:37 am »
Nope. Still nothing. Launching pslaunch from terminal resulted in segmentation fault (core dumped).

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #12 on: August 20, 2013, 07:10:47 am »
What are your system specs?
What video driver are you using?
And can you post terminal output between code tags.

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Installation on Ubuntu 13.04
« Reply #13 on: August 20, 2013, 07:16:53 am »
The reason for the crash may be related to the absence of the updater server.

This happened to one of the people in the german IRC channel too.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

Lusserall

  • Traveller
  • *
  • Posts: 48
    • View Profile
    • Wanderers
Re: Installation on Ubuntu 13.04
« Reply #14 on: August 20, 2013, 07:19:23 am »
The reason for the crash may be related to the absence of the updater server.

This happened to one of the people in the german IRC channel too.

Derator made them fix that few days ago and i updated yesterday when i installed the client.