DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default How to Run K3B with normal user openBSD 4.4

I use OpenBSD 4.4 with Gnome and install K3B with pkg_add and I can only use K3B with root How I can use K3B with normal user ?
Reply With Quote
  #2   (View Single Post)  
Old 12th November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I assume it's some sort of CD burning application.. now how do you presume it access your CD-ROM drive?

This is a permissions problem, add your user to the 'operator' group, change the permissions on the character device nodes for your drive.. i.e: 'sudo chmod 660 /dev/rcd?{c,a}'.

But don't blindly enter commands.. as you've shown you're willing to do in the past.
Reply With Quote
  #3   (View Single Post)  
Old 12th November 2008
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 110
Default

you might also want to use brasero. It's similar to k3b and might work for you.
Reply With Quote
  #4   (View Single Post)  
Old 12th November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Quote:
Originally Posted by fbsduser View Post
you might also want to use brasero. It's similar to k3b and might work for you.
The fact that he's using K3B may indicate he uses KDE, which also indicates a Qt environment, while brasero is a GTK/Gnome application.

It's also notable that both utilities are front ends to the cdrtools package.. So why exactly would using a different front end fix this obvious permissions problem?

Please put more research into your posts fbsduser.. it should also be noted that 'brasero' is not ported to OpenBSD.
Reply With Quote
  #5   (View Single Post)  
Old 12th November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

The OP announced in another thread that he uses Gnome with both KDE and XFCE applications.

That doesn't address the more serious problems of his technical ability to import code from the wild, or the more critical need for general Unix administrative skill.

Last edited by jggimi; 12th November 2008 at 07:38 PM.
Reply With Quote
  #6   (View Single Post)  
Old 12th November 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Did you add yourself into operator group? I would imagine that Jake when he ported K3b to OpenBSD adjusted configuration so that users from operator group can burn CDs and DVDs.

You can check whole conversation on miscATopenbsd and portsATopenbsd that we had which lead to his porting effort. I am almost sure that operator can burn CD without extra privileges but you can adjust those rather easily.


For burning CDs K3b uses cdrtools. You might want to read man pages for
cdio from the base of the system as I think it does better job than K3b.
K3b uses mkisofs from cdrtools to create iso images. You can create iso images by the utility called mkhybrid from the base of the system. To convert mp3-s to wav files K3b uses libmad library. You can do that directly
with madplay using the same library or with lame.

To burn DVDs you need to use growisofs which is the part of dvd+rw-tools. K3b is only front and for it. It is even easier to use growisofs from the command line than from K3b.

Before you do burning make sure you know the difference between character and block devices. A single device can work in both character and block regime so it has dual notation on OpenBSD rcd0 for row character CD/DVD device and cd0 for the same block CD/DVD device.

If you must use GUI I recommend TkDVD which uses light Tcl/Tk. It does what it needs to do and has no
heavy Qt dependencies like K3b. K3b is never the less has more options than any of the GUI burners.
There are quite a few other front ends for burning. Gnome baker is also ported.

Cheers,
OKO

Last edited by Oko; 13th November 2008 at 01:43 AM.
Reply With Quote
  #7   (View Single Post)  
Old 12th November 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

Or just
visudo

My default /etc/sudoers file tails
Code:
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel	ALL=(ALL) SETENV: ALL

# Same thing without a password
# %wheel	ALL=(ALL) NOPASSWD: SETENV: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
Just need to visudo and uncomment
Code:
%users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
__________________
da more I know I know I know nuttin'
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: mounting an USB device as normal non-root user in OpenBSD J65nko Guides 6 20th May 2017 12:03 PM
Mounting USB as a normal user rex FreeBSD General 23 5th March 2012 01:52 PM
Wireshark not run in normal user mfaridi FreeBSD Ports and Packages 2 7th November 2008 09:49 PM
Mounting samba share as normal user rex FreeBSD General 4 27th October 2008 05:17 PM
command launched by normal user... maurobottone OpenBSD General 4 1st June 2008 03:45 AM


All times are GMT. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick