You are not logged in.

#1 2014-09-12 16:21:43

ailjazi
Member
From: Loutraki, Greece
Registered: 2014-09-05
Posts: 42
Website

[Solved] Start X automatically after login (FISH Shell)

Hi everyone.

I am trying to start X automatically after login with FISH shell. I followed the Arch Wiki, but all I get is that it justs stucks the login and nothing happens.

Last edited by ailjazi (2014-09-14 19:57:24)

Offline

#2 2014-09-12 20:04:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Start X automatically after login (FISH Shell)

Do you mean you followed https://wiki.archlinux.org/index.php/Start_X_at_Login ?
Does X work if you start it manually?

Offline

#3 2014-09-12 22:18:19

ailjazi
Member
From: Loutraki, Greece
Registered: 2014-09-05
Posts: 42
Website

Re: [Solved] Start X automatically after login (FISH Shell)

karol wrote:

Do you mean you followed https://wiki.archlinux.org/index.php/Start_X_at_Login ?
Does X work if you start it manually?

Yes that's what I used. And yes, X works fine if I start it manually.

I think it might be a problem with FISH. I am using oh-my-fish as well.

Offline

#4 2014-09-13 13:20:20

ailjazi
Member
From: Loutraki, Greece
Registered: 2014-09-05
Posts: 42
Website

Re: [Solved] Start X automatically after login (FISH Shell)

Can't seem to find a solution to this. For now I'll just do startx manually. hmm

Offline

#5 2014-09-13 20:11:25

ailjazi
Member
From: Loutraki, Greece
Registered: 2014-09-05
Posts: 42
Website

Re: [Solved] Start X automatically after login (FISH Shell)

I ended up using SLiM.

Offline

#6 2014-09-13 20:48:03

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: [Solved] Start X automatically after login (FISH Shell)

I don't use fish myself, but I know that the && operator doesn't exist in it; its equivalent is 'and'. Could you please try:

[[ -z $DISPLAY and $XDG_VTNR -eq 1 ]] and exec startx

(Warning: maybe '-eq' and '[[' also don't exist in it, not really sure)

Last edited by thiagowfx (2014-09-13 20:49:16)

Offline

#7 2014-09-14 19:57:08

ailjazi
Member
From: Loutraki, Greece
Registered: 2014-09-05
Posts: 42
Website

Re: [Solved] Start X automatically after login (FISH Shell)

thiagowfx wrote:

I don't use fish myself, but I know that the && operator doesn't exist in it; its equivalent is 'and'. Could you please try:

[[ -z $DISPLAY and $XDG_VTNR -eq 1 ]] and exec startx

(Warning: maybe '-eq' and '[[' also don't exist in it, not really sure)

Thanks. Although I am now using SLiM and I no longer need that.

Offline

#8 2022-10-31 13:30:15

grishatop1
Member
Registered: 2022-09-26
Posts: 2

Re: [Solved] Start X automatically after login (FISH Shell)

Offline

#9 2022-10-31 15:23:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [Solved] Start X automatically after login (FISH Shell)

Please pay attention to the dates, you are bumping a 8 year old solved thread with a link to a wiki section that might not even have existed then.

https://wiki.archlinux.org/title/Genera … bumping%22

Closing.

Offline

Board footer

Powered by FluxBB