You are not logged in.
[In a way I managed to make things work but I post here because others might find it helpful. I hope that's ok.]
After installing and configuring xfce successfully I wanted to start X automatically to save some time (since I'm using a Virtualbox guest).
So I followed the instructions at https://wiki.archlinux.org/index.php/Start_X_at_Login but they don't work for me.
My .bash_profile is being read but the line
[[ $TTY == "/dev/tty1" ]] && exec startxis not working.
I found the thread at https://bbs.archlinux.org/viewtopic.php?id=159615 and then changed the line to the old wiki contents:
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startxand that worked without a problem.
I'm wondering if the wiki edit was correct or there is something wrong with my installation.
I'm using the 2013 May release, installed a couple of days ago.
[ ~]$ uname -a
Linux host 3.9.3-1-ARCH #1 SMP PREEMPT Sun May 19 22:50:29 CEST 2013 x86_64 GNU/LinuxLast edited by madth3 (2013-05-30 16:46:33)
Offline
Did you made .bashrc executable ? It's not going to work If the answer is no.
Offline
Apparently somebody didn't agree with the wiki and rewrote most of that page without discussing it first. If you have actually found a situation where this TTY check does not work (what is the value of $TTY when it is not working?) the changes should probably be reverted. I also don't like the change from profile to rc file and the removal of notes like "X must be started on same tty" (for logind session).
Did you made .bashrc executable ? It's not going to work If the answer is no.
That's not going to change anything. If you also add a hashbang line, you could run .bashrc as any other executable, but I don't see a reason to do that. And the OP only mentioned .bash_profile.
Offline
Apparently somebody didn't agree with the wiki and rewrote most of that page without discussing it first. If you have actually found a situation where this TTY check does not work (what is the value of $TTY when it is not working?) the changes should probably be reverted. I also don't like the change from profile to rc file and the removal of notes like "X must be started on same tty" (for logind session).
Agreed. The changes detract from the usefullness and accuracy of the page, not add to it.
Offline
It's a wiki, so thankfully you can revert the changes rather easily. Is this version OK https://wiki.archlinux.org/index.php?ti … did=254230 ?
Offline
Already reverted them: and left a note on the Talk page... ![]()
Offline