Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problems with slim
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
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Sun Sep 04, 2011 5:38 pm    Post subject: [Solved] Problems with slim Reply with quote

I recently emerged several applications, after which I was informed certain config files needed updating. After looking through the emerge manpage (as directed) I ran etc-update. I then decided to run to let it automerge all files (-3 option) thinking it would be safe :oops: . This is a mistake I will not make twice!

First I was almost locked out of my own system as it seemed to have removed my old /etc/sudoers file with a default one, luckily using my gentoo boot usb I was able to replace the new one with a week old back up that I had kept. Now my problem is that slim refuses to let me login, and instead presents me with a 'failed to execute login command error'. My slim.conf appears untouched and the command in question sound. I have since discovered slim will allow me to login in with root but not with either my default non-root user or any newly made user.

Below are the parts of my /var/log/slim.log and /var/log/Xorg.0.log that seem to be relevant (using tail -f whilst trying to login):

Code:
slim: waiting for X server to shut down

/usr/bin/xauth:  file /var/run/slim.auth does not exist


slim: waiting for X server to begin accepting connections
X.Org X Server 1.10.2
Release Date: 2011-05-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.39-gentoo-r3 i686 Gentoo
Current Operating System: Linux WOLFWING 2.6.39-gentoo-r3 #23 SMP PREEMPT Wed Aug 31 17:14:03 BST 2011 i686
Kernel command line: auto BOOT_IMAGE=gentoo rw root=808
Build Date: 04 September 2011  06:44:16PM

Current version of pixman: 0.22.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep  4 19:15:35 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned 8 for "KYE Optical Mouse"
(EE) PreInit returned 8 for "PC Speaker"
.
/usr/bin/xauth:  file /home/robert/.Xauthority does not exist
No protocol specified
xmodmap:  unable to open display ':0.0'
No protocol specified
unclutter: could not open display
No protocol specified
xmonad-i386-linux: user error (openDisplay)
No protocol specified
Couldn't connect to :0.0
No protocol specified
feh ERROR: Can't open X display. It *is* running, yeah?

slim: waiting for X server to shut down


Code:
[   657.689] (II) AIGLX: Resuming AIGLX clients after VT switch
[   657.745] (II) RADEON(0): EDID vendor "MAX", prod id 1932
[   657.746] (II) RADEON(0): Using hsync ranges from config file
[   657.746] (II) RADEON(0): Using vrefresh ranges from config file
[   657.746] (II) RADEON(0): Printing DDC gathered Modelines:
[   657.746] (II) RADEON(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[   657.747] (II) RADEON(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[   657.747] (II) RADEON(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[   657.747] (II) RADEON(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[   657.747] (II) RADEON(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz)
[   657.748] (II) RADEON(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[   657.748] (II) RADEON(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[   657.748] (II) RADEON(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[   657.749] (II) RADEON(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[   657.749] (II) RADEON(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[   657.749] (II) RADEON(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[   657.749] (II) RADEON(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[   657.750] (II) RADEON(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[   657.750] (II) RADEON(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[   657.750] (II) RADEON(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[   657.750] (II) RADEON(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[   657.751] (II) RADEON(0): Modeline "1280x720"x60.0   74.48  1280 1336 1472 1664  720 721 724 746 -hsync +vsync (44.8 kHz)
[   657.751] (II) RADEON(0): Modeline "1280x720"x75.0   95.65  1280 1352 1488 1696  720 721 724 752 -hsync +vsync (56.4 kHz)
[   657.751] (II) RADEON(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[   665.280] (II) Power Button: Close
[   665.280] (II) UnloadModule: "evdev"
[   665.280] (II) Unloading evdev
[   665.284] (II) Power Button: Close
[   665.284] (II) UnloadModule: "evdev"
[   665.284] (II) Unloading evdev
[   665.288] (II) Sleep Button: Close
[   665.288] (II) UnloadModule: "evdev"
[   665.288] (II) Unloading evdev
[   665.292] (II) CHICONY USB Keyboard: Close
[   665.292] (II) UnloadModule: "evdev"
[   665.292] (II) Unloading evdev
[   665.296] (II) CHICONY USB Keyboard: Close
[   665.296] (II) UnloadModule: "evdev"
[   665.296] (II) Unloading evdev
[   665.300] (II) USB  AUDIO  : Close
[   665.300] (II) UnloadModule: "evdev"
[   665.300] (II) Unloading evdev
[   665.304] (II) KYE Optical Mouse: Close
[   665.304] (II) UnloadModule: "evdev"
[   665.304] (II) Unloading evdev


Last edited by tempuser on Fri Sep 16, 2011 7:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Mon Sep 05, 2011 1:13 am    Post subject: Reply with quote

Go ahead and post emerge --info
Also what version of openrc;
emerge -pv openrc
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Mon Sep 05, 2011 7:57 am    Post subject: Reply with quote

Hello,

for me,
Quote:
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned 8 for "KYE Optical Mouse"
(EE) PreInit returned 8 for "PC Speaker"


Looks like suspicious :
  • check if you've had this error before the upgrade. If yes, ignore my response :D
  • otherwise, check what has been upgraded, expecially regarding Xorg, your video drivers, ...
  • have a look on "/etc/X11/xorg.conf" and "/usr/share/X11/xorg.conf.d" contents


Quote:
slim: waiting for X server to shut down

/usr/bin/xauth:  file /var/run/slim.auth does not exist


Do you have any error before that ?
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Mon Sep 05, 2011 7:58 pm    Post subject: Reply with quote

comprookie2000 wrote:
Go ahead and post emerge --info
Also what version of openrc;
emerge -pv openrc


Code:
# emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-i686-Intel-R-_Celeron-R-_CPU_3.20GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 28 Aug 2011 14:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
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.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="rsync://rsync.mirrorservice.org/www.ibiblio.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.virginmedia.com/sites/gentoo http://gentoo.virginmedia.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j2"
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=""
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X aac acl alsa bash-completion berkdb bzip2 cairo cli cracklib crypt cups cxx dri dvd ffmpeg flac fortran gdbm gif gnuplot gpm gtk hddtemp iconv ipv6 java java6 jpeg kerberos ldap libnotify maildir minimal mmx modules mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plasma png pppd pulsaaudio python readline samba seamonkey session sockets sound source sse sse2 ssl svg svga sysfs tcpd unicode usb videos vorbis wifi win32codecs x86 xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="kexi words flow plan stage tables krita karbon braindump" 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_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pv openrc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/openrc-0.8.3-r1  USE="ncurses pam unicode -debug (-selinux)" 159 kB

Total: 1 package (1 reinstall), Size of downloads: 159 kB
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Mon Sep 05, 2011 8:09 pm    Post subject: Reply with quote

destroyedlolo wrote:
Hello,

for me,
Quote:
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned 8 for "KYE Optical Mouse"
(EE) PreInit returned 8 for "PC Speaker"


Looks like suspicious :
  • check if you've had this error before the upgrade. If yes, ignore my response :D
  • otherwise, check what has been upgraded, expecially regarding Xorg, your video drivers, ...
  • have a look on "/etc/X11/xorg.conf" and "/usr/share/X11/xorg.conf.d" contents


The errors do look suspicious, but they do appear to have been their before. Though I probably would not have discovered them if it were not for this.

Quote:
Quote:
slim: waiting for X server to shut down

/usr/bin/xauth: file /var/run/slim.auth does not exist


Do you have any error before that ?


Only the above mentioned (it loops round if I continue).

( Thank you both for responding. )
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Mon Sep 05, 2011 8:28 pm    Post subject: Reply with quote

Just for fun, when I get myself in a situation that I am not sure how to get out of, first thing I do is;
Code:

emerge --sync
emerge -auND world
revdep-rebuild

won't hurt
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Wed Sep 07, 2011 5:03 pm    Post subject: Reply with quote

Just had a chance to try it and have found I'm receiving unusual errors:

Code:
# emerge -uND world && revdep-rebuild
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-base/xorg-server-1.10.4

>>> Starting parallel fetch

>>> Emerging (1 of 46) dev-libs/nspr-4.8.8
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
!!! Insufficient space to store nspr-4.8.8.tar.gz in /usr/portage/distfiles
!!! Insufficient privileges to use remaining space.
!!! You may set FEATURES="-userfetch" in /etc/make.conf in order to fetch with
!!! superuser privileges.
!!! Couldn't download 'nspr-4.8.8.tar.gz'. Aborting.
 * Fetch failed for 'dev-libs/nspr-4.8.8', Log file:
 *  '/tmp/portage/dev-libs/nspr-4.8.8/temp/build.log'

>>> Failed to emerge dev-libs/nspr-4.8.8, Log file:

>>>  '/tmp/portage/dev-libs/nspr-4.8.8/temp/build.log'

 * Messages for package dev-libs/nspr-4.8.8:

 * Fetch failed for 'dev-libs/nspr-4.8.8', Log file:
 *  '/tmp/portage/dev-libs/nspr-4.8.8/temp/build.log'
# emerge -uND world && revdep-rebuild
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-base/xorg-server-1.10.4

>>> Starting parallel fetch

>>> Emerging (1 of 46) dev-libs/nspr-4.8.8
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
!!! Insufficient space to store nspr-4.8.8.tar.gz in /usr/portage/distfiles
!!! Insufficient privileges to use remaining space.
!!! You may set FEATURES="-userfetch" in /etc/make.conf in order to fetch with
!!! superuser privileges.
!!! Couldn't download 'nspr-4.8.8.tar.gz'. Aborting.
 * Fetch failed for 'dev-libs/nspr-4.8.8', Log file:
 *  '/tmp/portage/dev-libs/nspr-4.8.8/temp/build.log'

>>> Failed to emerge dev-libs/nspr-4.8.8, Log file:

>>>  '/tmp/portage/dev-libs/nspr-4.8.8/temp/build.log'

 * Messages for package dev-libs/nspr-4.8.8:

 * Fetch failed for 'dev-libs/nspr-4.8.8', Log file:
 *  '/tmp/portage/dev-libs/nspr-4.8.8/temp/build.log'

Note this is as root.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Sep 07, 2011 8:50 pm    Post subject: Reply with quote

And did you checked your disk space ?
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Fri Sep 16, 2011 6:56 pm    Post subject: Reply with quote

destroyedlolo wrote:
And did you checked your disk space ?

:oops: derrr...

comprookie2000 wrote:
Just for fun, when I get myself in a situation that I am not sure how to get out of, first thing I do is;
Code:

emerge --sync
emerge -auND world
revdep-rebuild

won't hurt


THANK YOU, that solved my problem!
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Fri Sep 16, 2011 8:58 pm    Post subject: Reply with quote

Your Welcome, have fun :P
_________________
http://dev.gentoo.org/~dabbott/
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