Desktop env/ window manager issues when logging in.
- Inicie sesión o regístrese para enviar comentarios
I recently installed i3 after having played around with dwm a little. I think I may have altered the .xinitrc file when doing this (can't remember precisely!).
I ran startx today after installing i3, which sent me into dwm. Now I find myself unable to log in at all (when I log in I am instantly thrown back out again). I'm not sure what I can do here except maybe restarting in safe mode and altering the .xinitrc through the command line. Has anyone else encountered this?
I'm on a librebooted X200s.
You may have a backup file of .xinitrc named .xinitrc~
I prefer to login using a window manager though. I think from there you can set your preferred session through a file called .xsession if you are using xdm or choosing the session by pressing a certain button for other desktop managers.
I'll give startx a try and see what happens.
Cool, thanks.
I seem to have a file called xinitrc with the following line of code:
# global xinitrc file, used by all X sessions started by xinit (startx)
# invole global X session script
. /etc/X11/Xsession
in /home/usr/etc/X11/xinit
I have a file called Xsession in /home/usr/etc/X11
I've found the #initialise variables for use by all session scripts
Can't find the .xinitrc ... still looking for what to do with which files so I can log in again.
I am not sure what to do with xinitrc. I think .xsession is much simpler to deal with. Just add that file in your home directory with the window manager of your choice. To start dwm you only need to write dwm in this file.
I've given that a go, thanks. I'm still trying to log back on and trisquel is not accepting my password. I'm wondering if my password files have somehow been corrupted.
NB. I've just realised that can't be the case, as I can log in after pressing C Mod F2
.xinitrc would be in your home folder.
cd ~/
ls -al | grep .xinitrc
Thanks - I really oddly don't seem to have .xinitrc. Not sure what problems this could be causing.
Looks like this is the issue I am having: https://askubuntu.com/questions/758696/cannot-login-into-locked-ubuntu-14-04-session-unity
- Inicie sesión o regístrese para enviar comentarios