Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
slim error Failed to connect to socket /tmp/dbus-xx [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bagas
n00b
n00b


Joined: 29 Jun 2018
Posts: 51

PostPosted: Wed Nov 14, 2018 5:54 pm    Post subject: slim error Failed to connect to socket /tmp/dbus-xx [Solved] Reply with quote

Hello.
Starting startx from a console is good.
xfce4 run.
Slim error Failed to connect to socket /tmp/dbus-xxx: Connection refused.
Code:
# emerge slim -pv

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

Calculating dependencies... done!
[ebuild   R    ] x11-misc/slim-1.3.6-r5::gentoo  USE="pam -branding -consolekit" 0 KiB

Code:
# tail -n 100 /var/log/slim.log


slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down



slim: waiting for X server to begin accepting connections.

Code:
Nov 14 23:26:45 serv1 slim[3193]: pam_lastlog(slim:session): file /var/log/lastlog created
Nov 14 23:26:45 serv1 slim[3193]: pam_unix(slim:session): session opened for user bagas by (uid=0)
Nov 14 23:26:45 serv1 kernel: [2670]: New session 2 of user bagas.
Nov 14 23:26:45 serv1 dhcpcd[3052]: enp0s31f6: leased 192.168.1.2 for 25200 seconds
Nov 14 23:26:45 serv1 dhcpcd[3052]: enp0s31f6: adding route to 192.168.1.0/24
Nov 14 23:26:45 serv1 dhcpcd[3052]: enp0s31f6: adding default route via 192.168.1.1
Nov 14 23:26:49 serv1 dbus[2640]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Nov 14 23:26:49 serv1 polkitd[3298]: Started polkitd version 0.113
Nov 14 23:26:49 serv1 polkitd[3298]: Loading rules from directory /etc/polkit-1/rules.d
Nov 14 23:26:49 serv1 polkitd[3298]: Loading rules from directory /usr/share/polkit-1/rules.d
Nov 14 23:26:49 serv1 polkitd[3298]: Finished loading, compiling and executing 2 rules
Nov 14 23:26:49 serv1 dbus[2640]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Nov 14 23:26:49 serv1 polkitd[3298]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Nov 14 23:26:49 serv1 slim[3193]: pam_unix(slim:session): session closed for user bagas
Nov 14 23:26:58 serv1 login[3236]: pam_unix(login:session): session opened for user bagas by LOGIN(uid=0)
Nov 14 23:26:58 serv1 kernel: [2670]: New session 3 of user bagas.
Nov 14 23:27:01 serv1 dbus[2640]: [system] Activating service name='org.freedesktop.UDisks2' (using servicehelper)
Nov 14 23:27:01 serv1 dbus[2640]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Nov 14 23:27:02 serv1 gnome-keyring-daemon[3534]: couldn't access control socket: /run/user/1000/keyring/control: Нет такого файла или каталога
Nov 14 23:27:10 serv1 kernel: [2670]: Removed session 2.
Nov 14 23:27:18 serv1 gnome-keyring-daemon[3534]: asked to register item /org/freedesktop/secrets/collection/_d0_a1_d0_b2_d1_8f_d0_b7_d0_ba_d0_b0_5f_d0_ba_d0_bb_d1_8e_d1_87_d0_b5_d0_b9_5f_d0_bf_d0_be_5f_d1_83_d0_bc_d0_be_d0_bb_d1_87_d0_b0_d0_bd_d0_b8_d1_8e/1, but it's already registered
Nov 14 23:27:18 serv1 gnome-keyring-daemon[3534]: asked to register item /org/freedesktop/secrets/collection/_d0_a1_d0_b2_d1_8f_d0_b7_d0_ba_d0_b0_5f_d0_ba_d0_bb_d1_8e_d1_87_d0_b5_d0_b9_5f_d0_bf_d0_be_5f_d1_83_d0_bc_d0_be_d0_bb_d1_87_d0_b0_d0_bd_d0_b8_d1_8e/1, but it's already registered

Code:
# rc-status
Runlevel: default
 consolefont                                                                                                                                                                     [  started  ]
 syslog-ng                                                                                                                                                                       [  started  ]
 cronie                                                                                                                                                                          [  started  ]
 dbus                                                                                                                                                                            [  started  ]
 lm_sensors                                                                                                                                                                      [  started  ]
 netmount                                                                                                                                                                        [  started  ]
 sshd                                                                                                                                                                            [  started  ]
 xdm                                                                                                                                                                             [  started  ]
 local                                                                                                                                                                           [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 dhcpcd                                                                                                                                                                          [  started  ]
 xdm-setup                                                                                                                                                                       [  started  ]
Dynamic Runlevel: manual

Code:
# egrep -v '#|^$' /etc/slim.conf
default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments   -nolisten tcp -br -deferglyphs 16 vt07
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
xauth_path         /usr/bin/xauth
authfile           /var/run/slim.auth
numlock             on
login_cmd           exec /bin/bash -login /usr/share/slim/Xsession %session
sessionstart_cmd   /usr/bin/sessreg -a -l :0.0 %user
sessionstop_cmd     /usr/bin/sessreg -d -l :0.0 %user
daemon   yes
sessiondir   /usr/share/xsessions
screenshot_cmd      import -window root /slim.png
welcome_msg         Welcome to %host
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...
current_theme          flat
lockfile            /run/slim.pid
logfile             /var/log/slim.log

mount
Code:
tmpfs on /tmp type tmpfs (rw,noatime,size=358400k)

And this photo of errors after authorization in slim.
http://www.picshare.ru/uploads/181114/0x5OQfaIhw.jpg
http://www.picshare.ru/uploads/181114/uDfXhyERmE.jpg


Last edited by bagas on Thu Nov 15, 2018 10:44 am; edited 1 time in total
Back to top
View user's profile Send private message
bagas
n00b
n00b


Joined: 29 Jun 2018
Posts: 51

PostPosted: Thu Nov 15, 2018 7:50 am    Post subject: Reply with quote

I think the problem with access rights, but I do not understand yet.
Now I start startx manually.
User rights
Code:
$ id
uid=1000(bagas) gid=1000(bagas) группы=1000(bagas),10(wheel),16(cron),18(audio),19(cdrom),27(video),80(cdrw),85(usb),100(users),249(crontab)
Back to top
View user's profile Send private message
bagas
n00b
n00b


Joined: 29 Jun 2018
Posts: 51

PostPosted: Thu Nov 15, 2018 10:43 am    Post subject: Reply with quote

Problem solved.
Built and rebuilt dbus with the X flag

Code:
[ebuild   R    ] sys-apps/dbus-1.10.24::gentoo  USE="X elogind -debug -doc (-selinux) -static-libs -systemd -test -user-session" 0 KiB

It helped.
Thank you for your cooperation.
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