You are not logged in.
I have enabled autologin to virtual console and X also starts on login. Every time, when I try to log out, GNOME just relog to my account. With enabled GDM i can log out, but system hangs at previous cosnole output (boot log). What am I doing wrong?
[Sorry for my English, it isn't my native language (:]
Last edited by kureijienjeru666 (2015-06-26 17:01:16)
Offline
How are you starting Gnome? A Login script?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yes, .xinitrc script.
[kureijienjeru666@ASUS-ROG ~]$ cat .xinitrc
exec gnome-session[kureijienjeru666@ASUS-ROG ~]$ cat .bash_profile
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx[kureijienjeru666@ASUS-ROG ~]$ cat /etc/systemd/system/getty@tty1.service.d/override.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin kureijienjeru666 --noclear %I 38400 linuxThat is all I have.
Last edited by kureijienjeru666 (2015-06-25 18:27:17)
Offline
In your bash profile, remove the exec from in front of startx
It replaces the running process with the execed process. In essence, the bash process vanishes and an X process takes its place. When X exits, you log out.
by just invoking startx, it runs X as a subprocess with the bash process as its parent. When X exits, you will then drop back to the bash shell.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thank you! Now all is well.
Offline
I have a similar problem, I'm using GDM and the shell is set to auto-login.
When I'm trying to log out, the display manager doesn't show up, but it hangs with the boot log.
Is this normal behaviour while using auto login?
Offline
@rickrock, see this bug https://bugs.archlinux.org/44587. In particular, my comment there.
Offline
Thanks Mark, I've disabled auto login now and am able to log out, so be it.
Offline