How to configure gdm for login into a sway session?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have installed sway window manager on Fedora 27.
The system uses gdm as its login manager.
But gdm does not provide sway for selection as the login session.
Only Gnome, wich is also installed on the system, is shown.
I did not had this problem with i3wm, when I tried it.
- Is sway compatible with gdm?
- Does gdm support wayland or only Xorg?
- How to configure gdm for sway, or which login manager is prefered for usage with sway?
i3 gdm wayland login-manager sway
add a comment |Â
up vote
1
down vote
favorite
I have installed sway window manager on Fedora 27.
The system uses gdm as its login manager.
But gdm does not provide sway for selection as the login session.
Only Gnome, wich is also installed on the system, is shown.
I did not had this problem with i3wm, when I tried it.
- Is sway compatible with gdm?
- Does gdm support wayland or only Xorg?
- How to configure gdm for sway, or which login manager is prefered for usage with sway?
i3 gdm wayland login-manager sway
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have installed sway window manager on Fedora 27.
The system uses gdm as its login manager.
But gdm does not provide sway for selection as the login session.
Only Gnome, wich is also installed on the system, is shown.
I did not had this problem with i3wm, when I tried it.
- Is sway compatible with gdm?
- Does gdm support wayland or only Xorg?
- How to configure gdm for sway, or which login manager is prefered for usage with sway?
i3 gdm wayland login-manager sway
I have installed sway window manager on Fedora 27.
The system uses gdm as its login manager.
But gdm does not provide sway for selection as the login session.
Only Gnome, wich is also installed on the system, is shown.
I did not had this problem with i3wm, when I tried it.
- Is sway compatible with gdm?
- Does gdm support wayland or only Xorg?
- How to configure gdm for sway, or which login manager is prefered for usage with sway?
i3 gdm wayland login-manager sway
asked Dec 22 '17 at 19:36
Simon Schürg
1086
1086
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Is sway compatible with gdm?
yes
Does gdm support wayland or only Xorg?
gdm3 itself runs on wayland. It supports both wayland and Xorg sessions.
How to configure gdm for sway?
You are missing an entry in /usr/share/wayland-sessions
. This folder contains wayland desktop session entries for display managers in general. (Respectivly, X desktop session entries are located in /usr/share/xsessions
).
Create a file /usr/share/wayland-sessions/sway.desktop
with this content:
[Desktop Entry]
Version=1.0
Name=Sway
Comment=Sway - i3 on Wayland
# Please choose matching path
Exec=/usr/bin/sway
#Exec=/usr/local/bin/sway
Type=Application
This entry was missing on my system, too. I've compiled sway from source; wayland-session/xsession entries are rather part of ready-to-use packages. Please make sure the Exec
line matches your path to executeable sway
.
1
File should be located in/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.
â MeanEYE
Feb 21 at 18:02
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Is sway compatible with gdm?
yes
Does gdm support wayland or only Xorg?
gdm3 itself runs on wayland. It supports both wayland and Xorg sessions.
How to configure gdm for sway?
You are missing an entry in /usr/share/wayland-sessions
. This folder contains wayland desktop session entries for display managers in general. (Respectivly, X desktop session entries are located in /usr/share/xsessions
).
Create a file /usr/share/wayland-sessions/sway.desktop
with this content:
[Desktop Entry]
Version=1.0
Name=Sway
Comment=Sway - i3 on Wayland
# Please choose matching path
Exec=/usr/bin/sway
#Exec=/usr/local/bin/sway
Type=Application
This entry was missing on my system, too. I've compiled sway from source; wayland-session/xsession entries are rather part of ready-to-use packages. Please make sure the Exec
line matches your path to executeable sway
.
1
File should be located in/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.
â MeanEYE
Feb 21 at 18:02
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
add a comment |Â
up vote
2
down vote
accepted
Is sway compatible with gdm?
yes
Does gdm support wayland or only Xorg?
gdm3 itself runs on wayland. It supports both wayland and Xorg sessions.
How to configure gdm for sway?
You are missing an entry in /usr/share/wayland-sessions
. This folder contains wayland desktop session entries for display managers in general. (Respectivly, X desktop session entries are located in /usr/share/xsessions
).
Create a file /usr/share/wayland-sessions/sway.desktop
with this content:
[Desktop Entry]
Version=1.0
Name=Sway
Comment=Sway - i3 on Wayland
# Please choose matching path
Exec=/usr/bin/sway
#Exec=/usr/local/bin/sway
Type=Application
This entry was missing on my system, too. I've compiled sway from source; wayland-session/xsession entries are rather part of ready-to-use packages. Please make sure the Exec
line matches your path to executeable sway
.
1
File should be located in/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.
â MeanEYE
Feb 21 at 18:02
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Is sway compatible with gdm?
yes
Does gdm support wayland or only Xorg?
gdm3 itself runs on wayland. It supports both wayland and Xorg sessions.
How to configure gdm for sway?
You are missing an entry in /usr/share/wayland-sessions
. This folder contains wayland desktop session entries for display managers in general. (Respectivly, X desktop session entries are located in /usr/share/xsessions
).
Create a file /usr/share/wayland-sessions/sway.desktop
with this content:
[Desktop Entry]
Version=1.0
Name=Sway
Comment=Sway - i3 on Wayland
# Please choose matching path
Exec=/usr/bin/sway
#Exec=/usr/local/bin/sway
Type=Application
This entry was missing on my system, too. I've compiled sway from source; wayland-session/xsession entries are rather part of ready-to-use packages. Please make sure the Exec
line matches your path to executeable sway
.
Is sway compatible with gdm?
yes
Does gdm support wayland or only Xorg?
gdm3 itself runs on wayland. It supports both wayland and Xorg sessions.
How to configure gdm for sway?
You are missing an entry in /usr/share/wayland-sessions
. This folder contains wayland desktop session entries for display managers in general. (Respectivly, X desktop session entries are located in /usr/share/xsessions
).
Create a file /usr/share/wayland-sessions/sway.desktop
with this content:
[Desktop Entry]
Version=1.0
Name=Sway
Comment=Sway - i3 on Wayland
# Please choose matching path
Exec=/usr/bin/sway
#Exec=/usr/local/bin/sway
Type=Application
This entry was missing on my system, too. I've compiled sway from source; wayland-session/xsession entries are rather part of ready-to-use packages. Please make sure the Exec
line matches your path to executeable sway
.
edited Feb 21 at 18:12
answered Dec 26 '17 at 20:31
mviereck
1,1171410
1,1171410
1
File should be located in/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.
â MeanEYE
Feb 21 at 18:02
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
add a comment |Â
1
File should be located in/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.
â MeanEYE
Feb 21 at 18:02
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
1
1
File should be located in
/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.â MeanEYE
Feb 21 at 18:02
File should be located in
/usr/share/wayland-sessions
rather, since Sway is Wayland based compositor.â MeanEYE
Feb 21 at 18:02
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
@MeanEYE Thank you, I've edited the answer to correct this.
â mviereck
Feb 21 at 18:13
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412585%2fhow-to-configure-gdm-for-login-into-a-sway-session%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password