|
minim on Slax linux
|
|
18-02-2015, 17:47
Post: #1
|
|||
|
|||
|
minim on Slax linux
I have just built a low power server based on Slax which is booted from a small usb stick. Installing standard Linux distribution Minimserver was not difficult after I had installed a standard Java 8 JRE distribution. (None of the SLAX pre-built java modules worked).
I did have some problems getting it to start automatically on boot up. I added the startd script to /etc/rc.d/rc.local where I already have a zfs storage pool imported and mounted. It did not work because ( I suspect) the Java environment variables and PATH had not yet been established. Looking more closely at the startd script I notice that an attempt is made to derive the java executable location from the file minimstart.conf and assign it to the variable JAVA . So I created this file and put this line in it:- java=path to ...bin/java This didn't work! Looking at the grep pattern used to read the conf file I couldn't fully understand it so I made a simpler version of the pattern that did work. I also have JAVA_HOME defined in rc.local. This did the trick and started the minimserver daemon as required. But unfortunately it caused another problem. Somehow the X display initialisation was disrupted and the KDE desktop never appeared. I did try reducing the priority using the nice command but this was only partly successful and also left the daemon running with reduced priority. Eventually after further dissecting the startd script I added a 60 second delay ( sleep 60) right at the end to give KDE time to start up first. This seems to be working. There is every chance that I have hacked the script about unnecessarily because of lack of understanding so feel free to tell me how it should be done. Minim is working well, both server and streamer, so many thanks to the developers. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
minim on Slax linux - roadster - 18-02-2015 17:47
RE: minim on Slax linux - simoncn - 20-02-2015, 10:46
RE: minim on Slax linux - roadster - 20-02-2015, 14:15
RE: minim on Slax linux - simoncn - 20-02-2015, 18:16
RE: minim on Slax linux - roadster - 21-02-2015, 10:25
RE: minim on Slax linux - roadster - 17-10-2016, 10:05
RE: minim on Slax linux - simoncn - 17-10-2016, 11:06
RE: minim on Slax linux - roadster - 17-10-2016, 16:57
RE: minim on Slax linux - simoncn - 17-10-2016, 17:24
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



