Life In 19x19
http://prod.lifein19x19.com/

KGS Ubuntu problem
http://prod.lifein19x19.com/viewtopic.php?f=24&t=7679
Page 1 of 1

Author:  Berodan [ Fri Jan 18, 2013 6:01 pm ]
Post subject:  KGS Ubuntu problem

Hi guys,

first of all i'd like to excuse my terrible english.

If there is a similar topic I didn't found it.

For a while I got a problem with KGS.
I use Ubuntu 12.04 (64bit, german edition) and mostly Java open JDK 6 and 7.
Sometimes my client doesn't react to any kind of command, it is frozen.
I can't reproduce it for sure, but it seems, KGS freezes whenchat or I want to change game settings.
Ingame chatting seems to work just fine.
I've started KGS with the terminal but no error was given.
(Re-) install several versions of java didn't dissolve the problem.

Is there anyone with the same problem or does someone know any solution?


Best wishes
Berodan

Author:  betterlife [ Sat Jan 19, 2013 1:07 am ]
Post subject:  Re: KGS Ubuntu problem

Start it as root? That's how i solved the sound problem:
sudo java -jar cgoban.jar

Author:  Berodan [ Thu Jan 24, 2013 8:58 am ]
Post subject:  Re: KGS Ubuntu problem

betterlife wrote:
Start it as root? That's how i solved the sound problem:
sudo java -jar cgoban.jar


Sorry for the late answer.

Starting KGS with root didn't solve my problem.
KGS still freezes sometimes, last time when I clicked to place a stone...

In the terminal there is no error given. In fact, other than my command nothing is shown.

So, if someone knows a solution or a hint, I'd appreciate it!

Author:  Dusk Eagle [ Thu Jan 24, 2013 10:08 am ]
Post subject:  Re: KGS Ubuntu problem

I run KGS just fine on Debian Squeeze. Do you have any other programs on your computer that use Java, and do they run fine?

Author:  wms [ Thu Jan 24, 2013 11:02 am ]
Post subject:  Re: KGS Ubuntu problem

I run ubuntu and have no problems with the client freezing.

I do not run the client as root.

Author:  Berodan [ Thu Jan 24, 2013 11:08 am ]
Post subject:  Re: KGS Ubuntu problem

@DuskEagle: Regularly, I only use JDownloader which works fine.
@wms: The problems exists for a few weeks. Usually I don't run it at root either. It was only because of bitterlife's suggestion.

Author:  oren [ Thu Jan 24, 2013 12:05 pm ]
Post subject:  Re: KGS Ubuntu problem

wms wrote:
I run ubuntu and have no problems with the client freezing.


Do you use the OpenJRE or Oracle?

Author:  Berodan [ Thu Jan 24, 2013 12:24 pm ]
Post subject:  Re: KGS Ubuntu problem

oren wrote:
wms wrote:
I run ubuntu and have no problems with the client freezing.


Do you use the OpenJRE or Oracle?


I've tried OpenJRE 6 and 7.
Guess I have to try Oracle.

Author:  nascent [ Thu Jan 24, 2013 2:17 pm ]
Post subject:  Re: KGS Ubuntu problem

I have had a similar problem on Debian GNU/Linux when using the BlackBox window manager.

I have found that, in my case, the problem is not the program "freezing", but is actually a window focus problem. When I would leave the main window to a child window, such as a game I am playing or observing, or a settings dialog, or to view another users info, I could not regain the cursur upon returning focus to the main window.

The problem seems to occur no matter which java implementation you are using (Oracle or OpenJDK/JRE), but I have not tried backversioning java.

I have found that the problem is dependant upon which window manager is being used. In my case I have the problem consistantly when using BlackBox window manager, but never when using WindowMaker.

I doubt this is a problem with the client. It is more likely a java problem. Java may have become dependant on "Gnome Extended Window Manager Hints" (or something similar) to work properly.

You can use WindowMaker without having to install Gnome.

Good luck,

--nascent--

ps: It is probably not a good idea to run java applications as root.

Author:  wms [ Thu Jan 24, 2013 2:43 pm ]
Post subject:  Re: KGS Ubuntu problem

Oh, right, yeah, definitely use the Oracle Java. I've seen lots of problems from the other JVMs.

Author:  Phelan [ Fri Jan 25, 2013 3:01 pm ]
Post subject:  Re: KGS Ubuntu problem

wms wrote:
Oh, right, yeah, definitely use the Oracle Java. I've seen lots of problems from the other JVMs.

Most of the problems I've had with java applications has come from that particular system not having the oracle JVM installed, or not having it set as default.

Author:  Berodan [ Tue Jan 29, 2013 5:52 am ]
Post subject:  Re: KGS Ubuntu problem

It seems, my problem is solved using Oracle Java.

Thanks at all for the help!

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/