Start your own music personal server with Sockso on Ubuntu Gutsy 7.10 Linux

October 28, 2007

Run a server to share your music with friends is possible with Sockso. Sockso is a little software opensource written in java. It is multi platform and only requirement is java installed and enabled in your Linux or Ubuntu Desktop.
Sockso management is very simple because it provides GUI (Graphical User Interface), so is possible to setting up which music folder you want share.
Also, to make possible sharing with your friend, Sockso give you its web interface that starts on TCP 4444 port, so every friend can browse your files.


In Sockso there is a support for MP3, OGG Vorbis and WMA formats. Trough its web interface you can play selected music with integrated flash music player. You can see songs stats as listened top songs and other many stats features.

Last released version 0.8.3, include the possibility to disable downloads of songs and its new feature is GZIP compression of the content, so we have a web interface fastest.

Sockso Download:

After you download Sockso, you can start it by shell using: sh
If you want start is on a server without Graphical User Interface: sh -nogui

Is possible that when you try to start sockso in your Ubuntu Gutsy 7.10 you have this problem:

Main: Initializing Resources (jar,en)
Exception in thread “main” java.awt.AWTError: Cannot load AWT toolkit:
at java.awt.Toolkit.getDefaultToolkit(
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
at java.awt.Window.<init>(
at java.awt.Frame.<init>(
at java.awt.Frame.<init>(
at javax.swing.SwingUtilities$OwnerFrame.<init>(
at javax.swing.SwingUtilities$OwnerFrame.<init>(
at javax.swing.SwingUtilities.getOwnerFrame(
at javax.swing.JWindow.<init>(
at com.pugh.sockso.gui.Splash.<init>(
at com.pugh.sockso.gui.Splash.start(
at com.pugh.sockso.Main.main(
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: impossibile aprire il file oggetto condiviso: Nessun file o directory
at java.lang.Runtime._load(
at java.lang.Runtime.loadLibrary(
at java.lang.System.loadLibrary(
at java.lang.Class.initializeClass(
at java.lang.Class.forName(
at java.awt.Toolkit.getDefaultToolkit(

Java runtime installed in many Linux Distribution as Ubuntu Gutsy 7.10 not is the SUN Java Runtime because this last runtime is “non-free” software. In fact if you try by shell: java –version , you can see…

java version “1.5.0”
gij (GNU libgcj) version 4.2.1 (Ubuntu 4.2.1-5ubuntu5)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

To solve this problem in Ubuntu Gutsy 7.10 you need to install SUN Java Runtime: apt-get install sun-java6-jre

To show if you have the correct Runtime installed you need to run: java -version :

java version “1.6.0_03”
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

Ok! Now you can start your Sockso Music Personal Server. Enjoy with Linux and Sockso!

Related Post