RW




About

Posted on: 22nd July 2011

 

I received an email last night that Google has released the source and various packages for Music Beta.  It did not come with the ability to control and modify settings via command line.  This is all fine and dandy except the server that all of my music is on does not have a desktop environment by preference. 

I’m never actually on my server, and it’s by far easier to SSH into it while i’m out and about.  Thanks to X11 forwarding and Cygwin, I was able to forward the application through PuTTYto the windows machine I’m on. 

Here is the list of materials you will need to get this working properly:

  1. Cygwin/X
  2. PuTTY 

If you prefer another client that’s fine, but make sure it has X11 forwarding Support. 

You will want to download and install Cygwin/X and PuTTY.   Once you’ve done that, setting up PuTTY is pretty easy.  There is an option for the connection under “SSH” that you check to allow X11 Forwarding.  Check this box.  

Connect to your device now using SSH.  Once logged in, do the following:

nano /etc/ssh/sshd_config

Add the following to the top of the file:

X11Forwarding yes

Once you have saved this (ctrl-o ctrl-x) run the following command to restart SSH:

/etc/init.d/ssh restart

Now close PuTTY.  Open up Cygwin’s Xterm application and then open PuTTY.  Re-connect to your server and next we’ll need to download Google’s Music Manager.  I used Lynx to do this, however you can use whatever you want.    

Visit http://music.google.com in your terminal and login to Google Music.  The page will probably look strange and broken, however you will notice the download links towards the bottom of the first or second page (depending on browser).  Simply select the package you wish to install (in this case, I installed the 64bit .deb package). 

If you chose the .deb package this should typically install on it’s own.  However if it doesn’t, you can just run:

dpkg -i /path/to/file.deb

Once it is installed, it’s conveniently located here:

/opt/google/musicmanager/MusicManager

To run the application, type:

/opt/google/musicmanager/google-musicmanager

This will walk you through the setup.  Ignore the logging error, the program should appear above the terminal window in GUI form. 

I apologize as I do not have any pictures at this time.  Please feel free to message me if you have any trouble doing this.  Once you finish the setup process, google music will run in the background.   To kill it, just type the following

kill -9 (place the process ID here from “top”)

Regards. 

Comments
blog comments powered by Disqus

End:
RW