LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2004, 04:09 PM   #1
chazza
LQ Newbie
 
Registered: Dec 2003
Location: Manchester, UK
Distribution: Fedora Core
Posts: 17

Rep: Reputation: 0
Using Grip (X forwarded) to rip CDs remotely over ssh ?


Grip is kewl as we all know but I recently bought a large number of CDs and was dutifully putting them in to the cd drive one by one to rip to mp3 ...

... However I have another 4 monitorless linux boxes sat in the corner used for testing and I wondered if it was possible to use Grip X forwarded to main pc so that I could have 5 Grip sessions open at the same time ?

Anyway, tried and failed, and never got round to really diagnosing why. Basically, it seemed that the forwarded Grip session was looking at the cd drive on the pc where is was displayed and not at the drive in the originating pc.

I don't particularly want to start writing scripts as the Grip interface is very good (and I'm lazy), is there any way to configure stuff so that I can use all boxes as a ripping factory from my main pc ?
 
Old 05-02-2004, 04:16 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Hmm, like you said, if actually running on the remote machine and just the display ssh'ed back, it should have seen the remote computers CD. Anyway, you can run vncserver on all the remote machines. It is probably installed, but you didn't list your distro, so can't be sure. When you connect to each machine using vncviewer, and start grip on each one.

RO
 
Old 05-02-2004, 04:32 PM   #3
chazza
LQ Newbie
 
Registered: Dec 2003
Location: Manchester, UK
Distribution: Fedora Core
Posts: 17

Original Poster
Rep: Reputation: 0
I'm running RH9 (on all boxes). I thought of vnc but because I use a NIS server and NFS home directories, it plays silly-buggers with the kde settings... and is less than an elegant solution :-)

This is one of those "Hmmm, it should work, I wonder why not ?" issues that can turn into a free-time black hole.

I _can_ shell script the rip process and just run remote consoles from each box but I like to properly check/edit the freecddb listings before I rip and Grip is v. good for that.

I sort of understand why it might not work, in the Grip config you point to the /dev/cdrom device and I can see that the forwarded session might look locally rather than locally (?!?) if you see what I mean.
 
Old 05-02-2004, 04:52 PM   #4
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Yep, I can see. If it were data CDs, you could simply create remote mount points to all our remote machines for their CD drives, but you don't mount music CDs. I don't know, but suspect that there is a way to define remote /dev's that programs locally can access. I've never tried, but another, more elegant solution.

RO
 
Old 05-02-2004, 06:01 PM   #5
chazza
LQ Newbie
 
Registered: Dec 2003
Location: Manchester, UK
Distribution: Fedora Core
Posts: 17

Original Poster
Rep: Reputation: 0
Ok, it was bugging me enough to post a thread which means it was bugging me enough to go and sort it out :-)

This is not an elegant solution and I wouldn't normally use the root account(s) in this way but I managed to get it working.

If I ssh to remote box and su to the appropriate user account, running Grip returns :-

***
X11 connection rejected because of wrong authentication.
Gdk-ERROR **: X connection to localhost:10.0 broken (explicit kill or server shutdown)
***

If I ssh and use the root account, Grip runs but complains about the directory used for the .wav/.mp3/.m3u files.

I changed the directory on each Grip config (under the root accounts) to point to a common accessible directory (/mnt/stuff) and I can now run 5 seperate Grip sessions in one display.

So in theory it should work provided the ssh set-up and the device permissions are correct so that an ordinary user ssh session (same user) on each box can run Grip and rip. I seldom need to do more than one at a time so the root blag will do for me but I'd be interested if anyone got to the bottom of this.

Meanwhile ...

[ripper@blagger ripper] # ./enable_rip_factory
enabled !

:-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grip Won't Rip + Encode dingledoink Linux - Software 7 09-25-2005 09:01 PM
remotely control/login to system without forwarded 20-22 fibbi Linux - Software 2 10-20-2004 08:56 AM
Why won't Grip rip some CD tracks?? Tiyogi Linux - Software 2 06-28-2004 05:40 AM
Grip cd rip problem nick2003 Linux - Software 3 11-15-2003 01:40 PM
my grip dont rip :( ! qwijibow Linux - Software 4 05-17-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration