From owner-freebsd-questions@FreeBSD.ORG Fri Apr 15 00:37:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5391516A4CE for ; Fri, 15 Apr 2005 00:37:27 +0000 (GMT) Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C2D843D2F for ; Fri, 15 Apr 2005 00:37:26 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.135] (port=56032 helo=smtp4.home.nl) by smtpq1.home.nl with esmtp (Exim 4.30) id 1DMEpp-0001JD-1n for freebsd-questions@freebsd.org; Fri, 15 Apr 2005 02:37:25 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:60293 helo=desktop.homenet) by smtp4.home.nl with esmtp (Exim 4.30) id 1DMEpn-0004DP-Ow for freebsd-questions@freebsd.org; Fri, 15 Apr 2005 02:37:23 +0200 From: Danny Pansters To: freebsd-questions@freebsd.org Date: Fri, 15 Apr 2005 02:37:00 +0200 User-Agent: KMail/1.8 References: <20050414230015.GA6327@SDF.LONESTAR.ORG> <200504150006.42123.nbco@screaming.net> In-Reply-To: <200504150006.42123.nbco@screaming.net> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=,v":S7,(=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504150237.01152.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: Adding my CDRW device to k3b X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 00:37:27 -0000 On Friday 15 April 2005 01:06, nbco wrote: > On Friday 15 April 2005 00:00, Justin R. Pessa wrote: > > Allo! > > > > I'm having problems trying to get k3b to recognize my CDRW drive. I > > went to "Settings" > "COnfigure k3b" > "Devices". When I add > > /dev/acd0 it says "Could not find an additional device at /dev/acd0". > > > > > I realize this is probably more a k3b problem than a FreeBSD problem, > > but I feel as though there is something specific to FreeBSD I have > > either missed or am over looking. > > Have you tried running k3b as root, if it sees your device as root. > Then you can change the permissions for the devices or just run it as > root > hope this helps > .nbco > > When I run an X app as root I get: > > Password: > [root@twinturbo] /home/jstn $ k3b > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > k3b: cannot connect to X server :0.0 > > I'm not sure how to give root permission to the X session on this > display. Any thoughts here? You shouldn't run as root. If running an X app as root without the X session being run by root to begin with, you'd connect to a second X server, e.g. :1. But you shouldn't do this at all. Instead you should enable atapicam (and basic scsi support) in your kernel and use /dev/cd0, the emulated scsi CDRW, instead. K3b uses cdrecord which uses scsi devices only. As far as root goes: per default the CD devices are owned root:operator, so just add your username to the operator group in /etc/groups and you should be done. HTH, Dan