You are not logged in.

#1 2011-10-14 21:26:39

SORE-LOSER
Member
Registered: 2011-08-29
Posts: 32

Set wrong permissions on CD/ROM

I have been using Arch for a little while now and love it, but have a little problem:

When I insert a CD into CD/ROM it shows up on file manager but does not give me permissions to install program from CD.
when  I log in as root I am able to use CD/ROM. Also I am unable to see entire drive and Computer's second drive as user, but am able to as root.

I am here to learn the Arch way, so please help. Thank you.

Offline

#2 2011-10-14 21:31:42

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: Set wrong permissions on CD/ROM

SORE-LOSER wrote:

I have been using Arch for a little while now and love it, but have a little problem:

When I insert a CD into CD/ROM it shows up on file manager but does not give me permissions to install program from CD.
when  I log in as root I am able to use CD/ROM. Also I am unable to see entire drive and Computer's second drive as user, but am able to as root.

I am here to learn the Arch way, so please help. Thank you.

Do you have your user in the "optical" group? Do you have policykit installed and which DE or WM are you using and how are you starting it?


Registered Linux user #436067

Offline

#3 2011-10-14 21:37:55

SORE-LOSER
Member
Registered: 2011-08-29
Posts: 32

Re: Set wrong permissions on CD/ROM

My Desktop is LXDE and I BELIEVE that the Window manager is PCManFM. I setup my groups the way the beginners wiki page stated and have not installed policy kit that I am aware of.

Offline

#4 2011-10-14 21:56:58

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: Set wrong permissions on CD/ROM

SORE-LOSER wrote:

My Desktop is LXDE and I BELIEVE that the Window manager is PCManFM. I setup my groups the way the beginners wiki page stated and have not installed policy kit that I am aware of.

How are you starting lxde? Do you  have"dbus-launch" in your .xinitrc? "exec ck-launch-session dbus-launch startlxde" The order is important here. I meant to say "consolekit".

Pcmanfm is the file manager. If you're having problems displaying your removable drives, etc, in the file manager you can install pcmanfm-git from the AUR. Openbox is the window manager usually installed with lxde.

Are you also aware that lxde is soon to be moved from the normal repos into the AUR?


Registered Linux user #436067

Offline

#5 2011-10-14 22:27:42

SORE-LOSER
Member
Registered: 2011-08-29
Posts: 32

Re: Set wrong permissions on CD/ROM

I start the machine and it loads to init 3. then I log in, and start LXDE with a small script that I wrote

here is my .xinitrc :

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4

I am fairly N00bish but I am aware that there is no startup for LXDE, I didn't mind that. Anyways... here's the script that starts LXDE :

#! /bin/bash
xinit /usr/bin/startlxde

Should I have dbus -launch in .xinitrc or the exec line you wrote?

Offline

#6 2011-10-14 23:47:32

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: Set wrong permissions on CD/ROM

SORE-LOSER wrote:

I start the machine and it loads to init 3. then I log in, and start LXDE with a small script that I wrote

here is my .xinitrc :

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4

I am fairly N00bish but I am aware that there is no startup for LXDE, I didn't mind that. Anyways... here's the script that starts LXDE :

#! /bin/bash
xinit /usr/bin/startlxde

Should I have dbus -launch in .xinitrc or the exec line you wrote?

Can't help with scripts. I used slim as a display/login manager and used ~/.xinitrc the way I outlined. You need "dbus-launch" in order to be able to access removable drives, etc. I used it with xfce and lxde. Worked great. Look on the wiki for help with display managers.


Registered Linux user #436067

Offline

Board footer

Powered by FluxBB