LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XcdRoast: connection to ":0.0" refused (https://www.linuxquestions.org/questions/linux-newbie-8/xcdroast-connection-to-0-0-refused-189667/)

selassie irie 06-04-2004 10:44 AM

XcdRoast: connection to ":0.0" refused AND cdrecord -scanbus returns no target
 
Aloha!

I want to burn CD's but when I try to run xcdroast as root, i get this message:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

What the heck does that mean, and how do I fix it!?
Thanks!

PS: when I try cdrecord -scanbus I get:

Cdrecord 1.11a19 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Using libscg version 'schily-0.6'
cdrecord: No target found. :eek:

reitzell 06-04-2004 12:03 PM

Are you doing this on your own home secure network? If so, try "xhost +" and try it again. When you are done, "xhost -"

Rob

bruno buys 06-04-2004 12:04 PM

To solve this in my suse, I had to:

as normal user: xhost + localhost
as root: export DISPLAY=localhost:0.0

selassie irie 06-04-2004 12:06 PM

Well I can go ahead and try all this, but what exactly am I doing??? What's this xhost stuff all about? :)

PS. This does result in NOT getting the message "Connection to ":0.0" refused", but I still can't run xcdroast w/out getting the message:

Failed to scan the SCSI-bus. Either no permission to access the generic scsi devices or no SCSI support enaled in the kernel. For ATAPI devices you have to install SCSI-emulation first. Please see the CD-Writing-HOWTO how to do that.

I have read through the cdwriting howto, but I get to a point where I am expected to get some kind of positive response from cdrecord -scanbus, in which I get the message that there is no target found.


Slowly but surely, I am on my way to burning!!

bruno buys 06-04-2004 01:34 PM

The xhost thing is about the normal user allowing the root user to use his display. The root can't use by default, it has to be allowed.

The other errors, I guess, are because you don't have scsi emulation installed. A cd burner in linux has to be scsi emulated in order to work (kernel 2.6 doesn't need anymore, I guess).
Can't you use k3b to burn cd's? Try it.

selassie irie 06-04-2004 04:11 PM

welp,

I just tried to install k3b and it said that kde-config was not found!

What's kde-config, and in what directory should it be???

And how do i know if i have the QT3 library and the KDE3 libraries installed??

bruno buys 06-04-2004 04:43 PM

kde-config is a binary in this path (on my suse 9.1): file:/opt/kde3/bin

To query your rpm database, just do a
rpm -q qt3
This asks rpm if the package is installed in the system. You can do it with any package you wish to know.

Mine outputs "qt3-3.3.1-36.5"


All times are GMT -5. The time now is 02:57 PM.