How to get KGS working on ubuntu

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
User avatar
emeraldemon
Gosei
Posts: 1744
Joined: Sun May 02, 2010 1:33 pm
GD Posts: 0
KGS: greendemon
Tygem: greendemon
DGS: smaragdaemon
OGS: emeraldemon
Has thanked: 697 times
Been thanked: 287 times

How to get KGS working on ubuntu

Post by emeraldemon »

My parents aren't very computer savvy, but they were tired of windows problems, so I installed Ubuntu on their machine. So far it has worked fine for their needs (mostly just firefox).

But now I've taught my dad to play go and we have some games going on DGS. I want to have him install KGS so we can play some games in real time. There are two problems: I'm in a different state, and I don't have ready access to an Ubuntu box of my own any more. I need to explain to him how to do it without being able to see it myself.

Does java web start come installed by default on Ubuntu, or will I need to walk him through installation? Has anyone had trouble making cgoban.jnlp work, or is usually just download and double-click?

This may be slightly off topic, but hopefully someone can help.
User avatar
fwiffo
Gosei
Posts: 1435
Joined: Tue Apr 20, 2010 6:22 am
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Location: California
Has thanked: 49 times
Been thanked: 168 times

Re: How to get KGS working on ubuntu

Post by fwiffo »

1) Install ssh so you can log into their system remotely to help them with stuff.

2) You'll want sun-java6-bin. The stupid fake java that comes with Ubuntu these days doesn't actually work for anything. Sun java comes with javaws, so it should "just work". To associate SGF files with KGS, you may want to create a script in /usr/local/bin (or whereever). You may want to use aoss, since sun java doesn't work great with alsa.

Code: Select all

#!/bin/sh
if [ "$@" ]; then
    /usr/bin/aoss /usr/bin/javaws -open "$@" http://files.gokgs.com/javaBin/cgoban.jnlp
else
    /usr/bin/aoss /usr/bin/javaws http://files.gokgs.com/javaBin/cgoban.jnlp
fi
User avatar
judicata
Lives in sente
Posts: 932
Joined: Wed Apr 21, 2010 12:55 pm
Rank: KGS 1k
GD Posts: 0
Universal go server handle: judicata
Location: New York, NY
Has thanked: 146 times
Been thanked: 150 times

Re: How to get KGS working on ubuntu

Post by judicata »

It will probably "just work" if they go to the kgs website.

But you'll probably want to have them install the proprietary version of java to get everything working. This thread explains how I got the replaced the default java so I could hear the stones clicking: viewtopic.php?f=18&t=1143
User avatar
cdybeijing
Lives in gote
Posts: 581
Joined: Fri Apr 30, 2010 2:27 am
Rank: IGS 2 dan
GD Posts: 0
Location: Shanghai, China
Has thanked: 96 times
Been thanked: 100 times
Contact:

Re: How to get KGS working on ubuntu

Post by cdybeijing »

As others have said:

1. Download and install sun java. You can use the software manager application for this.

2. Download the client from the gokgs.com site (if you're worried about file association, there is an "NFA" version available i.e. no file association.)

3. Run the downloaded file. It will be slow, and java web start takes a minute to set up. This should create an executable on the Ubuntu desktop.

4. Run the executable just like in Windows.
User avatar
Bantari
Gosei
Posts: 1639
Joined: Sun Dec 06, 2009 6:34 pm
GD Posts: 0
Universal go server handle: Bantari
Location: Ponte Vedra
Has thanked: 642 times
Been thanked: 490 times

Re: How to get KGS working on ubuntu

Post by Bantari »

emeraldemon wrote:My parents aren't very computer savvy, but they were tired of windows problems


Out of curiosity - what windows problems?
- Bantari
______________________________________________
WARNING: This post might contain Opinions!!
User avatar
emeraldemon
Gosei
Posts: 1744
Joined: Sun May 02, 2010 1:33 pm
GD Posts: 0
KGS: greendemon
Tygem: greendemon
DGS: smaragdaemon
OGS: emeraldemon
Has thanked: 697 times
Been thanked: 287 times

Re: How to get KGS working on ubuntu

Post by emeraldemon »

Thanks for the tips, I will try to set him up soon. I have ssh installed (I'm on a mac), but wouldn't they need to be running ssh-server for me to log in to that machine?

As for problems, they were running something old (maybe windows 98, I don't quite remember), and it was just crashing frequently. They didn't have the install disk any more, so the idea of something free that worked was appealing.
User avatar
fwiffo
Gosei
Posts: 1435
Joined: Tue Apr 20, 2010 6:22 am
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Location: California
Has thanked: 49 times
Been thanked: 168 times

Re: How to get KGS working on ubuntu

Post by fwiffo »

Yes, that's why I suggested you install it. :-)
Post Reply