I'm trying to use Emacs as my X Window manager. However, it doesn't seem to work properly. My X server did start and so did Emacs. However, I always got the error
Warning (emacs): [EXWM] EXWM fails to start (invalid-slot-name: (# cl-slot-descriptor))
in Emacs.
I followed the instructios at https://github.com/ch11ng/exwm/wiki, here's my ~/.xinitrc file:
# Disable access control
xhost +SI:localuser:$USER
# Make Java applications aware this is a non-reparenting window manager.
export _JAVA_AWT_WM_NONREPARENTING=1
# Themes, etc
gnome-settings-daemon &
# Fallback cursor
xsetroot -cursor_name left_ptr
# Keyboard repeat rate
xset r rate 200 60
# Start Emacs
exec dbus-launch --exit-with-session emacs
and here's what I put in my init.el:
(require 'exwm)
(require 'exwm-config)
(exwm-config-default)
Here's how I started the X server:
- After login to gnome session, press Ctrl-Alt-F1
- Login to virtual console
- $ xinit -display :1 -- :1 vt1
Instead of running:
xinit -display :1 -- :1 vt1
I've also tried:
sudo service mdm stop
xinit -- vt01
With the exact same results.