You are not logged in.
Pages: 1
Hello guys,
recently I tried to switch from Awesome WM to bspwm. I installed bspwm and sxhkd as explained in the wiki, and I replaced
exec awesome
with
sxhkd &
exec bspwm
in .xinitrc. I then typed startx, and after seeing the Nvidia logo the screen becomes black and nothing happens... I switched back to Awesome, but since then startx produces the same black screen. What is strange is that using lxdm to launch xfce or even Awesome works...
What did I do wrong ?
Thanks a lot for your help !
baptiste
Last edited by ghostjoad (2015-04-02 21:12:55)
Offline
What did you do to "swtich to Awesome"? I assume you've changed the .xinitrc appropriately but you should post that here, in its entirety. Is the system up-to-date?
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
What do you mean by a black screen? bspwm doesn't have any panels or wallpaper by default so the screen should be black iirc -- unless you have an external program to control those. What do you mean by "nothing happens" after the black screen? What did you try? Did you try launching a program (like a terminal) with the sxhkd hotkey?
Offline
Here is my .xinitrc
setxkbmap -layout fr -model apple_laptop -variant mac
nm-applet &
conky &
#Start a D-Bus session
source /etc/X11/xinit/xinitrc.d/30-dbus
#Start Gnome keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets, ssh)
export SSH_AUTH_SOCK
export GPG_AGENT_INFO
export GNOME_KEYRING_CONTROL
export GNOME_KEYRING_PID
xcalib /home/baptiste/colorprofiles/Color_LCD/00000610-0000-9CA0-0000-000004272800.icc
xrdb -merge ~/.Xresources
exec awesome
It used to work, but for some reason now I doesn't any more...
What do you mean by a black screen? bspwm doesn't have any panels or wallpaper by default so the screen should be black iirc -- unless you have an external program to control those. What do you mean by "nothing happens" after the black screen? What did you try? Did you try launching a program (like a terminal) with the sxhkd hotkey?
I mean that everything is frozen, I have to reboot. And the system is up to date.
Last edited by ghostjoad (2015-03-28 12:57:44)
Offline
Can you switch to another TTY? Does anything appear in the logs?
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
Here is my .xinitrc
setxkbmap -layout fr -model apple_laptop -variant mac nm-applet & conky & #Start a D-Bus session source /etc/X11/xinit/xinitrc.d/30-dbus #Start Gnome keyring eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets, ssh) export SSH_AUTH_SOCK export GPG_AGENT_INFO export GNOME_KEYRING_CONTROL export GNOME_KEYRING_PID xcalib /home/baptiste/colorprofiles/Color_LCD/00000610-0000-9CA0-0000-000004272800.icc xrdb -merge ~/.Xresources exec awesome
There has been an update of xorg-xinit recently that tweaked the startx script so I think you should change your dbus initiation method to match that used by xorg-xinit.
Replace "source /etc/X11/xinit/xinitrc.d/30-dbus"* with this block:
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?* ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
* also, this should actually be "source /etc/X11/xinit/xinitrc.d/30-dbus.sh"
Offline
I tried to change .xinitrc, that didn't work. I cannot open other TTY sessions (ctrl+alt+F2 gives a black screen, I cannot come back).
I managed to have Xfce work with bspwm or awesome, using lxdm as display manager. When logged in this Xfce session, everything works fine, except changing TTY.
Can you switch to another TTY? Does anything appear in the logs?
In which log should I look ?
Thanks a lot !
Offline
In which log should I look ?
https://wiki.archlinux.org/index.php/Journalctl#Journal
See man journalctl
Offline
Also, the X log.
Offline
Hello guys,
so it seems that I had a typo in .xinitrc. If fixed it, and now it's alright !
Thanks a lot for your help
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
Pages: 1