Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors and warnings when opening nautilus as root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Tue Jun 14, 2011 3:16 am    Post subject: Errors and warnings when opening nautilus as root Reply with quote

Hi folks.
I've been using gentoo for years. Since then I have had some warnings regarding nautilus when opened with "su" but I never bothered to fix it. Until recently, as I started to look at ubuntu and noted that this message:

Code:
# nautilus
** Message: Initializing gksu extension...
Initializing nautilus-gdu extension

** (nautilus:3773): WARNING **: Failed to get the current CK session: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '3773'


doesn't has the warning I pasted.
So I tried to fix it and started to investigate about dbus, consolekit and policykit.
I tried to add me and root into polkitusers group, make "policykit" a global use flag and to add consolekit to default runtime level.

The results? Worse than bad, now I can't open nautilus as "su", as I do so it shows this error:
Code:
# nautilus

(nautilus:3720): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)


Now I need to do "su -" to clear the environment variables in order to start nautilus.

Any help with this please? Thanks in advance.


Some info may be helpful:
Code:
space frost # groups frost
disk wheel floppy audio cdrom video users plugdev games vboxusers vmware pulse-access wireshark frost

space frost # groups root
root bin daemon sys adm disk wheel floppy dialout tape video


Code:
# emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.38.2-zen x86_64)
=================================================================
System uname: Linux-2.6.38.2-zen-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-gentoo-2.0.2
Timestamp of tree: Sat, 04 Jun 2011 04:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://www.cyberuse.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es en_US es_AR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/custom /var/lib/layman/x11 /var/lib/layman/gamerlay /var/lib/layman/sunrise /var/lib/layman/raw /var/lib/layman/gnome"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 apm audiofile avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt css cups cvs cxx dbus djvu dri dvd dvdr faac faad ffmpeg flac fortran ftp gconf gdbm geoip gif gimp gmp gnome gnome-keyring gnuplot good gphoto2 gpm gps gstreamer gtk gzip hddtemp iconv ieee1394 jabber java javascript joystick jpeg jpeg2k kdrive lame latex libcaca libnotify lm_sensors lzo mad matroska midi mime mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack nautilus ncurses nls nocd nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp oss pam pcre pdf perl php png postgres pppd python qt3support quicktime raw rdesktop readline rss samba scanner sdl session smp sse sse2 sse3 sse4a ssl ssse3 subversion svg sysfs tcpd theora threads thunar tiff timidity truetype type1 udev ugly unicode usb v4l v4l2 vaapi vdpau vim-syntax vnc vorbis wavpack wifi x264 xcomposite xinerama xmp xorg xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es en_US es_AR" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64 ppc ppc64 mips mips64 sparc sparc64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600 nvidia vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


My environment variables when using "su":
Code:
# env
MANPATH=/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/man:/etc/java-config/system-vm/man/:/usr/lib64/php5.3/man/:/usr/share/postgresql-9.0/man
ORBIT_SOCKETDIR=/tmp/orbit-frost
SSH_AGENT_PID=2490
GPG_AGENT_INFO=/tmp/keyring-o9mEOB/gpg:0:1
XDG_MENU_PREFIX=gnome-
SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=344e001906bcf9d466efdaff000012af-1308016295.463903-794137860
VBOX_APP_HOME=/opt/VirtualBox
WINDOWID=41943044
GNOME_KEYRING_CONTROL=/tmp/keyring-o9mEOB
GTK_MODULES=rgba
USER=root
PRELINK_PATH_MASK=/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
GDK_USE_XFT=1
GUILE_LOAD_PATH=/usr/share/guile/1.8
SSH_AUTH_SOCK=/tmp/keyring-o9mEOB/ssh
USERNAME=frost
SESSION_MANAGER=local/space:@/tmp/.ICE-unix/2462,unix/space:/tmp/.ICE-unix/2462
CONFIG_PROTECT_MASK=/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/php/cli-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/eselect/postgresql /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild
PAGER=less
XDG_CONFIG_DIRS=/etc/xdg
DESKTOP_SESSION=gnome
PATH=/sbin:/bin:/usr/sbin:/usr/bin
HG=/usr/bin/hg
GDM_XSERVER_LOCATION=local
PWD=/home/frost
DISTCC_LOG=
JAVA_HOME=/etc/java-config-2/current-system-vm
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
EDITOR=nano
LANG=en_US.UTF-8
GNOME_KEYRING_PID=2453
GSETTINGS_BACKEND=gconf
GDM_LANG=en_US.UTF-8
DISTCC_VERBOSE=
DCCC_PATH=/usr/lib64/distcc/bin
GDMSESSION=gnome
SHLVL=2
JDK_HOME=/etc/java-config-2/current-system-vm
HOME=/root
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=root
LESS=-R -M --shift 5
CVS_RSH=ssh
GCC_SPECS=
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-yw5FXWDnqy,guid=75bd0e6078de16a778566998000031a1
LESSOPEN=|lesspipe.sh %s
WINDOWPATH=7
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/info
DISPLAY=:0.0
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins
OPENGL_PROFILE=nvidia
USB_DEVFS_PATH=/dev/bus/usb
XSESSION=gnome
SANE_CONFIG_DIR=/etc/sane.d
CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/share/config
XAUTHORITY=/root/.xauthACdcyI
COLORTERM=gnome-terminal
_=/bin/env
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum