Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce4 and slim
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
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 265

PostPosted: Wed Aug 06, 2014 1:34 am    Post subject: xfce4 and slim Reply with quote

hello,

I struggleg with slim starting xfce session.
After I succeed loggin, I see black screen and no more.
also I tried different login_cmd ways starting up xfce session, but fail everywere.
slim.conf
Code:
default_path        /bin:/sbin:/usr/bin:/usr/sbin:/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/sh - ~/.xinitrc %session
# login_cmd           exec /bin/bash -login ~/.xinitrc %session
# login_cmd           exec /bin/bash -login /usr/share/slim/Xsession %session
# login_cmd exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startxfce4
# login_cmd    DESKTOP_SESSION=xfce exec ck-launch-session dbus-launch /bin/bash -login /usr/share/slim/Xsession %session

 login_cmd           exec /bin/bash - /etc/xdg/xfce4/xinitrc %session
sessionstart_cmd   /usr/bin/sessreg -a -l :0.0 %user
sessionstop_cmd     /usr/bin/sessreg -d -l :0.0 %user
daemon   yes
sessions            xfce4 #xfce4-session
         # ,icewm-session,wmaker,blackbox
sessiondir           /etc/X11/Sessions
screenshot_cmd      import -window root /usr/share/slim/themes/gentoo_10_dark/background.jpg
welcome_msg         Welcome to %host
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...
default_user   user
current_theme       gentoo_10_dark
lockfile            /run/slim.pid
logfile             /var/log/slim.log

/etc/env.d/90xsession
Code:
XSESSION="Xfce4"


from slim.log
it says
Code:
 failed to connect to socket /var/run/dbus/system_bus_socket

where I should start dbus ?
Back to top
View user's profile Send private message
Freeky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2011
Posts: 129
Location: Novosibirsk, Russia

PostPosted: Wed Aug 06, 2014 6:31 am    Post subject: Reply with quote

You should add dbus at default runlevel:
Code:
root # rc-update add dbus default

See: Failed to connect to socket /var/run/dbus/system_bus_socket
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 265

PostPosted: Wed Aug 06, 2014 10:50 am    Post subject: Reply with quote

yes, thanks, I forgot this.
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