Closed JonasunderscoreJones closed 1 year ago
Ragnar expects you to use xinit
On Arch xinit is provided by the xorg-xinit package
sudo pacman -S xorg-xinit
Then according to the README in your ~/.xinitrc add:
exec ragnar
Finally just run
startx
More info: https://wiki.archlinux.org/title/Xinit
First, install all dependencies like in the README. Then you have to create a .xinitrc file in your home directory. Put "exec ragnar" in there. Then you have to execute the startx command in a tty.
This should work.
If I am not mistaken the display manager gdm reads the file ~/.xsession after login which is selected by the session type named "custom". This differs from ~/.xinitrc which is read by xinit after being invoked by the startx command from the user's terminal login shell.
solution: cp ~/.xinitrc ~/.xsession Select "custom" for session type in gdm.
thanks, for the quick replies. I had used the ragnar-git
package from the arch AUR which seems to not be working for me. After cloning the repo manually and running the make command, I get similar results. Running sudo xinit
and exec ragnar
in tty I get a black screen with a single white box containing the lign of text with user and hostname, presumably the terminal which I am unable to type in as it is not focused. I have no mouse pointer either. Is there perhaps something im missing in the config file? I did manage to (sort of) start ragnar in an already running desktop environment with every component of ragnar showing up in a different window with actual top bar and colors and all.
starting xinit with sudo causes this behavior. try calling just "startx" or just "xinit". this should work.
so startx actually, works, thanks! xinit without sudo still returns an error. Now I need to adjust the config file to account for my 4k monitor and some other customisation but the top bar is now fully visible, thanks so much!
perfect! you're welcome :)
Describe the bug This is probably not a bug and more incompetence on my side but I am unable to start the WM. The
.xinitrc
file didnt exist before I created it and addedexec ragnar
to it. I am using Gdm and Xorg if that helpsTo Reproduce Steps to reproduce the behavior:
ragnar open
andexec ragnar
in tty with errorragnar: Keyfile not found
or the shell just closing and reprompting me for login Expected behavior A clear and concise description of what you expected to happen. Ragnar startsDesktop (please complete the following information):