LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installed slim 1.3.2 now can only log in as root (https://www.linuxquestions.org/questions/linux-newbie-8/installed-slim-1-3-2-now-can-only-log-in-as-root-4175453506/)

Dman58 03-10-2013 10:01 AM

installed slim 1.3.2 now can only log in as root
 
Distro: Slackware14 x86-64

I just installed slim as my login manager via slackbuilds. After altering /etc/rc.d/rc.4 to execute slim & rebooting I only have the option of logging in as root.

checking /var/log/slim.log shows

Code:

X.Org X Server 1.12.3
Release Date: 2012-07-09
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.0 Slackware Linux Project
Current Operating System: Linux soundboi1 3.2.29 #2 SMP Mon Sep 17 14:19:22 CDT 2012 x86_64
Kernel command line: auto BOOT_IMAGE=Slackbox64 ro root=801 vt.default_utf8=0
Build Date: 23 August 2012  02:03:27PM
 
Current version of pixman: 0.26.2
        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 Mar 10 13:19:31 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xauth:  file /home/dman/.Xauthority does not exist
/bin/bash: /home/dman/.xinitrc: No such file or directory

slim: waiting for X server to shut downServer terminated successfully (0). Closing log file.


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

When I go to my users /home dir the file .Xauthority is already present but .xsession wasn't so I decided to copy roots .xsession & changed the permissions accordingly (i guess not)

after making those changes now i get:

Code:

X.Org X Server 1.12.3
Release Date: 2012-07-09
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.0 Slackware Linux Project
Current Operating System: Linux soundboi1 3.2.29 #2 SMP Mon Sep 17 14:19:22 CDT 2012 x86_64
Kernel command line: auto BOOT_IMAGE=Slackbox64 ro root=801 vt.default_utf8=0
Build Date: 23 August 2012  02:03:27PM
 
Current version of pixman: 0.26.2
        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 Mar 10 13:19:51 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xauth:  file /root/.Xauthority does not exist
/usr/bin/startxfce4: X server already running on display :0.0
gpg-agent[2258]: directory `/root/.gnupg/private-keys-v1.d' created
gpg-agent[2259]: gpg-agent (GnuPG) 2.0.19 started

(xfwm4:2261): GLib-CRITICAL **: g_str_has_prefix: assertion `prefix != NULL' failed

(xfwm4:2261): xfwm4-WARNING **: The property '/general/double_click_distance' of type int is not supported
ESC[35;01mwarning: hp-systray should not be run as root/superuser.ESC[0m

ESC[01mHP Linux Imaging and Printing System (ver. 3.12.9)ESC[0m
ESC[01mSystem Tray Status Service ver. 2.0ESC[0m

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

ESC[31;01merror: hp-systray cannot be run as root. Exiting.ESC[0m
No protocol specified
xscreensaver: 13:20:07: Can't open display: :0.0
xscreensaver: 13:20:07: initial effective uid/gid was root/shadow (0/43)
xscreensaver: 13:20:07: running as nobody/nogroup (99/99)

xscreensaver: 13:20:07: This is probably because you're logging in as root.  You
              shouldn't log in as root: you should log in as a normal user,
              and then `su' as needed.  If you insist on logging in as
              root, you will have to turn off X's security features before
              xscreensaver will work.

              Please read the manual and FAQ for more information:

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

(xfsettingsd:2301): GLib-CRITICAL **: g_str_has_prefix: assertion `prefix != NULL' failed

** (nm-applet:2288): CRITICAL **: dbus_set_g_error: assertion `gerror == NULL || *gerror == NULL' failed
Loading configuration plugins
blueman-applet version 1.22 starting
Using file config backend
Using file config backend
Using file config backend
Using file config backend
Using file config backend
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/blueman/plugins/config/File.py", line 64, in on_value_changed
    if self.plugin().section == section:
AttributeError: 'NoneType' object has no attribute 'section'

(xfsettingsd:2301): libxfce4ui-WARNING **: ICE I/O Error

(xfsettingsd:2301): libxfce4ui-WARNING **: Disconnected from session manager.
xfsettingsd: Another instance took over. Leaving...
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
blueman-applet: Fatal IO error 4 (Interrupted system call) on X server :0.0.
Using file config backend
Using file config backend
Using file config backend
Using file config backend
Using file config backend
Using file config backend
Deleting plugin instance <blueman.plugins.applet.PulseAudio.PulseAudio object at 0x1c71710>
Server terminated successfully (0). Closing log file.
gpg-agent[2259]: SIGTERM received - shutting down ...
gpg-agent[2259]: gpg-agent (GnuPG) 2.0.19 stopped
/usr/bin/xauth:  file /var/run/slim.auth does not exist

I guess my next move should be to change those files again then deal with:

Code:

/usr/bin/xauth:  file /var/run/slim.auth does not exist
What am I missing here?
I originally tried installing slim 1.3.5 but I couldn't figure out which file to patch so I went with 1.3.2

Dman58 03-10-2013 10:36 AM

Not sure if this is relevant but hopefully it is. After installing Slackware I logged in as root & maybe thats when the .xsession file was created for root. I then downloaded and installed the Nvidia proprietary driver, disabled nouveau or vice versa, set default run level to 4, and finally created my user and logged in.

If my user never logged in initially is it safe to assume no .xsession was made for him becuase he used the Nvidia driver from the begining?


All times are GMT -5. The time now is 11:34 PM.