GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I plug in my Hp usb flash and after 4 sec returns me this error :
Quote:
Unable to mount HP v135w
Not Authorized
Here are the groups where my account belongs.
Quote:
wheel audio users plugdev n3t
These are the results of mount command
Quote:
/dev/sda3 on / type ext4 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
/dev/sdb1 on /mnt/disk type ext3 (rw,noexec,nosuid,nodev,commit=0)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
lsusb seems to can see it :
Quote:
Bus 001 Device 003: ID 03f0:3407 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
So.. 1st i logon to my account.
2nd type startx
3nd Gnome starts
4th plug-in my usb drive to a USB port on motherboard
5th this message returns
You are not using a login manager, so you need to launch the consolekit session yourself (provided you are up-to-date enough).
Code:
ck-launch-session gnome-session
If this doesn't solve the issue, please, use "tail -f ~/.xsession-errors" on a terminal while running X. Try to plug/mount the device and see if anything useful is printed in there.
You are not using a login manager, so you need to launch the consolekit session yourself (provided you are up-to-date enough).
Code:
ck-launch-session gnome-session
If this doesn't solve the issue, please, use "tail -f ~/.xsession-errors" on a terminal while running X. Try to plug/mount the device and see if anything useful is printed in there.
** (gnome-settings-daemon-helper:5888): WARNING **: Could not set GTK_RC_FILES: Setenv interface is only available during the Initialization phase
** (gnome-settings-daemon:5889): WARNING **: Failed to acquire org.gnome.SettingsDaemon
** (gnome-settings-daemon:5889): WARNING **: Could not acquire name
Window manager warning: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
Cannot register the panel shell: there is already one running.
Window manager warning: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
(polkit-gnome-authentication-agent-1:5905): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
** (gnome-power-manager:5907): WARNING **: failed to get Computer root object
** (gnome-power-manager:5907): WARNING **: proxy NULL!!
TI:06:10:47 TH:0x97f1078 FI:gpm-main.c FN:main,250
- Power Manager is already running in this session.
Traceback:
gnome-power-manager() [0x8063fe1]
gnome-power-manager() [0x8057072]
/lib/libc.so.6(__libc_start_main+0xe6) [0xb6dafbb6]
gnome-power-manager() [0x804e741]
** (gnome-screensaver:5910): WARNING **: screensaver already running in this session
Conky: /home/n3t/.conkyrc: 39: no such configuration: 'border_margin'
Conky: X Error: type 0 Display a0642f0 XID 39845889 serial 68 error_code 3 request_code 20 minor_code 0 other Display: a0642f0
/home/n3t/.conky/start_conky.sh: line 2: 6212 Aborted conky
.
.
.
.
With the second command returns this..
Quote:
tail: cannot open `/home/n3t/.xsession-errors' for reading: No such file or directory
I have the impression you are running that command on an xterm (or the like).
That's not the intended usage. You have to use that command in your ~/.xinitrc, instead of just "gnome-session" or whatever you use to start gnome when running "startx".
Yes im running this command (ck-launch-session gnome-session) on terminal after startx . You said that i have write it in ~/.xinitrc file ?
Also there is no .xsession-errors file. Create it ?
Yes im running this command (ck-launch-session gnome-session) on terminal after startx . You said that i have write it in ~/.xinitrc file ?
Well, a bit of explanation.
"startx" is a script that launches an X session and then runs the contents of ~/.xinitrc. You probably have an ~/.xinitrc file with something like this inside:
Code:
exec gnome-session
You need to change that command by the one I provided above. If you have no ~/.xinitrc file, then create it and add this line:
Also there is no .xsession-errors file. Create it ?
No, if you are running X from the command line and you use the ~/.xinitrc line I provided everything that X spits out should be logged to ~/gnome.log now. Look into that file, I suggest using "tail -f ~/gnome.log" on a terminal to do so.
ps. For the consolekit stuff you work, you need to make sure that you have compiled your system with consolekit support. In other words, add "consolekit" to your USE flags, then do "emerge -auDvN world" and say "yes" if something needs to be recompiled. Then make sure that consolekit is running (/etc/init.d/consolekit start) and set it to run on every boot (rc-update add consolekit default).
---------- Post added 21st Feb 2011 at 11:27 ----------
Runlevel here is not too relevant. He might be on runlevel 3, but he's launching X manually anyway.
i logged out and then ran startx again. Plugged-in the USB and the same error popped-up.
tail -f ~/gnome.log
(
Quote:
gnome-panel:18417): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a pixmap or window
Conky: /home/n3t/.conkyrc: 39: no such configuration: 'border_margin'
Conky: desktop window (100002b) is subwindow of root window (18f)
Conky: window type - override
Conky: drawing to created window (0x1e00001)
Conky: drawing to double buffer
[1:1:3235413738:ERROR:base/native_library_linux.cc(32)] dlopen failed when trying to open /usr/lib/chromium-browser/libffmpegsumo.so: /usr/lib/chromium-browser/libffmpegsumo.so: cannot open shared object file: No such file or directory
[3:3:3235639708:ERROR:base/native_library_linux.cc(32)] dlopen failed when trying to open /usr/lib/chromium-browser/libffmpegsumo.so: /usr/lib/chromium-browser/libffmpegsumo.so: cannot open shared object file: Permission denied
[5:5:3239148755:ERROR:base/native_library_linux.cc(32)] dlopen failed when trying to open /usr/lib/chromium-browser/libffmpegsumo.so: /usr/lib/chromium-browser/libffmpegsumo.so: cannot open shared object file: Permission denied
[7:7:3241580535:ERROR:base/native_library_linux.cc(32)] dlopen failed when trying to open /usr/lib/chromium-browser/libffmpegsumo.so: /usr/lib/chromium-browser/libffmpegsumo.so: cannot open shared object file: Permission denied
I don't think that these errors has a relation with USB drive..
Anyway..continue with emerge -auDvN world
or not ?
As in the sample output, it should show that /usr/sbin/console-kit-daemon is running.
Second, yes, make sure that "consolekit" is in your USE flags. Then run "emerge -auDvN world", if any package is reported to be rebuilt, then say "yes" and wait until it completes. There should be no errors, otherwise report them here.
Understand that if the involved packages don't have consolekit support or the consolekit daemon is not running then the rest will be useless.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.