It is currently Wed May 01, 2024 12:01 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
Offline
 Post subject: How to get KGS working on ubuntu
Post #1 Posted: Thu Aug 12, 2010 6:31 pm 
Gosei
User avatar

Posts: 1744
Liked others: 704
Was liked: 288
KGS: greendemon
Tygem: greendemon
DGS: smaragdaemon
OGS: 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.

Top
 Profile  
 
Offline
 Post subject: Re: How to get KGS working on ubuntu
Post #2 Posted: Thu Aug 12, 2010 6:46 pm 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
GD Posts: 1104
KGS: 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:
#!/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

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: How to get KGS working on ubuntu
Post #3 Posted: Thu Aug 12, 2010 7:27 pm 
Lives in sente
User avatar

Posts: 932
Location: New York, NY
Liked others: 146
Was liked: 150
Rank: KGS 1k
Universal go server handle: 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

Top
 Profile  
 
Offline
 Post subject: Re: How to get KGS working on ubuntu
Post #4 Posted: Fri Aug 13, 2010 1:21 am 
Lives in gote
User avatar

Posts: 581
Location: Shanghai, China
Liked others: 96
Was liked: 100
Rank: IGS 2 dan
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.

Top
 Profile  
 
Offline
 Post subject: Re: How to get KGS working on ubuntu
Post #5 Posted: Fri Aug 13, 2010 10:13 am 
Gosei
User avatar

Posts: 1639
Location: Ponte Vedra
Liked others: 642
Was liked: 490
Universal go server handle: 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!!

Top
 Profile  
 
Offline
 Post subject: Re: How to get KGS working on ubuntu
Post #6 Posted: Fri Aug 13, 2010 11:49 am 
Gosei
User avatar

Posts: 1744
Liked others: 704
Was liked: 288
KGS: greendemon
Tygem: greendemon
DGS: smaragdaemon
OGS: 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.

Top
 Profile  
 
Offline
 Post subject: Re: How to get KGS working on ubuntu
Post #7 Posted: Fri Aug 13, 2010 12:06 pm 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Yes, that's why I suggested you install it. :-)

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group