Why is my GDM at a different TTY than my desktop environment?
up vote
12
down vote
favorite
I am running Ubuntu Gnome 16.10 (64bit). Gnome-shell version 3.20.4.
When I start my computer, I eventually see GDM3 offering a login prompt, as expected.
After I login, my monitors flash a little (like they're unplugged and then replugged in), and then I am brought to the gnome 3 desktop.
However, if I hit CTRL + ALT + F1, I am brought back to GDM3, offering a login prompt.
If I then hit CTRL + ALT + F2, I am brought back to my Gnome 3 desktop.
So it seems like GDM3 continues to run in TTY1 while the desktop runs in TTY2.
Questions
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
- Am I using more graphical resources by having things setup this way?
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
- Is there any advantage do doing #3?
tty gdm
add a comment |
up vote
12
down vote
favorite
I am running Ubuntu Gnome 16.10 (64bit). Gnome-shell version 3.20.4.
When I start my computer, I eventually see GDM3 offering a login prompt, as expected.
After I login, my monitors flash a little (like they're unplugged and then replugged in), and then I am brought to the gnome 3 desktop.
However, if I hit CTRL + ALT + F1, I am brought back to GDM3, offering a login prompt.
If I then hit CTRL + ALT + F2, I am brought back to my Gnome 3 desktop.
So it seems like GDM3 continues to run in TTY1 while the desktop runs in TTY2.
Questions
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
- Am I using more graphical resources by having things setup this way?
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
- Is there any advantage do doing #3?
tty gdm
Except for the specifics (17.04-64-bit, tty1=gdm, tty7=session), I am seeing this for the first time... I know it used to be tty7=gdm+session with tty1-tty6 available. I'm not sure how I got here. :(
– TheGeeko61
Jun 21 '17 at 18:56
Another asking... maybe consolidate this with that: askubuntu.com/questions/856940/…
– TheGeeko61
Jun 21 '17 at 19:00
add a comment |
up vote
12
down vote
favorite
up vote
12
down vote
favorite
I am running Ubuntu Gnome 16.10 (64bit). Gnome-shell version 3.20.4.
When I start my computer, I eventually see GDM3 offering a login prompt, as expected.
After I login, my monitors flash a little (like they're unplugged and then replugged in), and then I am brought to the gnome 3 desktop.
However, if I hit CTRL + ALT + F1, I am brought back to GDM3, offering a login prompt.
If I then hit CTRL + ALT + F2, I am brought back to my Gnome 3 desktop.
So it seems like GDM3 continues to run in TTY1 while the desktop runs in TTY2.
Questions
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
- Am I using more graphical resources by having things setup this way?
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
- Is there any advantage do doing #3?
tty gdm
I am running Ubuntu Gnome 16.10 (64bit). Gnome-shell version 3.20.4.
When I start my computer, I eventually see GDM3 offering a login prompt, as expected.
After I login, my monitors flash a little (like they're unplugged and then replugged in), and then I am brought to the gnome 3 desktop.
However, if I hit CTRL + ALT + F1, I am brought back to GDM3, offering a login prompt.
If I then hit CTRL + ALT + F2, I am brought back to my Gnome 3 desktop.
So it seems like GDM3 continues to run in TTY1 while the desktop runs in TTY2.
Questions
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
- Am I using more graphical resources by having things setup this way?
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
- Is there any advantage do doing #3?
tty gdm
tty gdm
edited Oct 16 '17 at 3:51
muru
133k19282479
133k19282479
asked Apr 29 '17 at 5:47
JoshuaD
222114
222114
Except for the specifics (17.04-64-bit, tty1=gdm, tty7=session), I am seeing this for the first time... I know it used to be tty7=gdm+session with tty1-tty6 available. I'm not sure how I got here. :(
– TheGeeko61
Jun 21 '17 at 18:56
Another asking... maybe consolidate this with that: askubuntu.com/questions/856940/…
– TheGeeko61
Jun 21 '17 at 19:00
add a comment |
Except for the specifics (17.04-64-bit, tty1=gdm, tty7=session), I am seeing this for the first time... I know it used to be tty7=gdm+session with tty1-tty6 available. I'm not sure how I got here. :(
– TheGeeko61
Jun 21 '17 at 18:56
Another asking... maybe consolidate this with that: askubuntu.com/questions/856940/…
– TheGeeko61
Jun 21 '17 at 19:00
Except for the specifics (17.04-64-bit, tty1=gdm, tty7=session), I am seeing this for the first time... I know it used to be tty7=gdm+session with tty1-tty6 available. I'm not sure how I got here. :(
– TheGeeko61
Jun 21 '17 at 18:56
Except for the specifics (17.04-64-bit, tty1=gdm, tty7=session), I am seeing this for the first time... I know it used to be tty7=gdm+session with tty1-tty6 available. I'm not sure how I got here. :(
– TheGeeko61
Jun 21 '17 at 18:56
Another asking... maybe consolidate this with that: askubuntu.com/questions/856940/…
– TheGeeko61
Jun 21 '17 at 19:00
Another asking... maybe consolidate this with that: askubuntu.com/questions/856940/…
– TheGeeko61
Jun 21 '17 at 19:00
add a comment |
1 Answer
1
active
oldest
votes
up vote
12
down vote
accepted
A similar issue has been raised in another post.
Answering your questions:
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
Well, it was. The GNOME developer responsible for gdm explained here how it worked previously and what they did change:
Previously, we launched one X server as root, and then when you logged in, we "morphed" it into the session X server. If you went to fast user switching, we then launched a second X server on-demand.
For security reasons, and Wayland porting reasons, we now launch the X server and Wayland server within the user's session, instead of starting one as root.
The way that we do this is that we launch two X servers, one for the gdm greeter session, and for the session user.
It would be entirely possible to tear-down the greeter after we've switched to the user session, it just requires a bit more code, but unfortunately it wouldn't be possible to put both the greeter session and the user session on VT1, since we'd have to launch the user session first, and then tear down the greeter session, and we can't be in that intermediate state while there are two X servers on the same VT at the same time.
I just forgot about the resource issues around keeping around two gnome-shell instances. I'll have a chat with Ray to see if we want to tear down the greeter session and then launch it on demand for user switching / logout to save on resources.
- Am I using more graphical resources by having things setup this way?
Yes.
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
Probably not until a fix is delivered or you revert back to gdm 3.14, but this is probably not the best way out.
- Is there any advantage do doing #3?
There have been complaints about memory leaks in gdm3 and several performance issues.
The best thing you could do is to switch your desktop manager from gdm3 to lightdm until this is fixed. The good thing is you are using Ubuntu GNOME, and lightdm is cool and looks just like unity login screen.
Installl lightdm:
sudo apt install lightdm
Switch to it:
sudo dpkg-reconfigure lightdm
Reboot and you're good to go with your tty and normal resource consumption and still use GNOME. Or switch to other desktop environment like KDE, XFCE, Mate, etc.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
12
down vote
accepted
A similar issue has been raised in another post.
Answering your questions:
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
Well, it was. The GNOME developer responsible for gdm explained here how it worked previously and what they did change:
Previously, we launched one X server as root, and then when you logged in, we "morphed" it into the session X server. If you went to fast user switching, we then launched a second X server on-demand.
For security reasons, and Wayland porting reasons, we now launch the X server and Wayland server within the user's session, instead of starting one as root.
The way that we do this is that we launch two X servers, one for the gdm greeter session, and for the session user.
It would be entirely possible to tear-down the greeter after we've switched to the user session, it just requires a bit more code, but unfortunately it wouldn't be possible to put both the greeter session and the user session on VT1, since we'd have to launch the user session first, and then tear down the greeter session, and we can't be in that intermediate state while there are two X servers on the same VT at the same time.
I just forgot about the resource issues around keeping around two gnome-shell instances. I'll have a chat with Ray to see if we want to tear down the greeter session and then launch it on demand for user switching / logout to save on resources.
- Am I using more graphical resources by having things setup this way?
Yes.
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
Probably not until a fix is delivered or you revert back to gdm 3.14, but this is probably not the best way out.
- Is there any advantage do doing #3?
There have been complaints about memory leaks in gdm3 and several performance issues.
The best thing you could do is to switch your desktop manager from gdm3 to lightdm until this is fixed. The good thing is you are using Ubuntu GNOME, and lightdm is cool and looks just like unity login screen.
Installl lightdm:
sudo apt install lightdm
Switch to it:
sudo dpkg-reconfigure lightdm
Reboot and you're good to go with your tty and normal resource consumption and still use GNOME. Or switch to other desktop environment like KDE, XFCE, Mate, etc.
add a comment |
up vote
12
down vote
accepted
A similar issue has been raised in another post.
Answering your questions:
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
Well, it was. The GNOME developer responsible for gdm explained here how it worked previously and what they did change:
Previously, we launched one X server as root, and then when you logged in, we "morphed" it into the session X server. If you went to fast user switching, we then launched a second X server on-demand.
For security reasons, and Wayland porting reasons, we now launch the X server and Wayland server within the user's session, instead of starting one as root.
The way that we do this is that we launch two X servers, one for the gdm greeter session, and for the session user.
It would be entirely possible to tear-down the greeter after we've switched to the user session, it just requires a bit more code, but unfortunately it wouldn't be possible to put both the greeter session and the user session on VT1, since we'd have to launch the user session first, and then tear down the greeter session, and we can't be in that intermediate state while there are two X servers on the same VT at the same time.
I just forgot about the resource issues around keeping around two gnome-shell instances. I'll have a chat with Ray to see if we want to tear down the greeter session and then launch it on demand for user switching / logout to save on resources.
- Am I using more graphical resources by having things setup this way?
Yes.
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
Probably not until a fix is delivered or you revert back to gdm 3.14, but this is probably not the best way out.
- Is there any advantage do doing #3?
There have been complaints about memory leaks in gdm3 and several performance issues.
The best thing you could do is to switch your desktop manager from gdm3 to lightdm until this is fixed. The good thing is you are using Ubuntu GNOME, and lightdm is cool and looks just like unity login screen.
Installl lightdm:
sudo apt install lightdm
Switch to it:
sudo dpkg-reconfigure lightdm
Reboot and you're good to go with your tty and normal resource consumption and still use GNOME. Or switch to other desktop environment like KDE, XFCE, Mate, etc.
add a comment |
up vote
12
down vote
accepted
up vote
12
down vote
accepted
A similar issue has been raised in another post.
Answering your questions:
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
Well, it was. The GNOME developer responsible for gdm explained here how it worked previously and what they did change:
Previously, we launched one X server as root, and then when you logged in, we "morphed" it into the session X server. If you went to fast user switching, we then launched a second X server on-demand.
For security reasons, and Wayland porting reasons, we now launch the X server and Wayland server within the user's session, instead of starting one as root.
The way that we do this is that we launch two X servers, one for the gdm greeter session, and for the session user.
It would be entirely possible to tear-down the greeter after we've switched to the user session, it just requires a bit more code, but unfortunately it wouldn't be possible to put both the greeter session and the user session on VT1, since we'd have to launch the user session first, and then tear down the greeter session, and we can't be in that intermediate state while there are two X servers on the same VT at the same time.
I just forgot about the resource issues around keeping around two gnome-shell instances. I'll have a chat with Ray to see if we want to tear down the greeter session and then launch it on demand for user switching / logout to save on resources.
- Am I using more graphical resources by having things setup this way?
Yes.
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
Probably not until a fix is delivered or you revert back to gdm 3.14, but this is probably not the best way out.
- Is there any advantage do doing #3?
There have been complaints about memory leaks in gdm3 and several performance issues.
The best thing you could do is to switch your desktop manager from gdm3 to lightdm until this is fixed. The good thing is you are using Ubuntu GNOME, and lightdm is cool and looks just like unity login screen.
Installl lightdm:
sudo apt install lightdm
Switch to it:
sudo dpkg-reconfigure lightdm
Reboot and you're good to go with your tty and normal resource consumption and still use GNOME. Or switch to other desktop environment like KDE, XFCE, Mate, etc.
A similar issue has been raised in another post.
Answering your questions:
- Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager.
Well, it was. The GNOME developer responsible for gdm explained here how it worked previously and what they did change:
Previously, we launched one X server as root, and then when you logged in, we "morphed" it into the session X server. If you went to fast user switching, we then launched a second X server on-demand.
For security reasons, and Wayland porting reasons, we now launch the X server and Wayland server within the user's session, instead of starting one as root.
The way that we do this is that we launch two X servers, one for the gdm greeter session, and for the session user.
It would be entirely possible to tear-down the greeter after we've switched to the user session, it just requires a bit more code, but unfortunately it wouldn't be possible to put both the greeter session and the user session on VT1, since we'd have to launch the user session first, and then tear down the greeter session, and we can't be in that intermediate state while there are two X servers on the same VT at the same time.
I just forgot about the resource issues around keeping around two gnome-shell instances. I'll have a chat with Ray to see if we want to tear down the greeter session and then launch it on demand for user switching / logout to save on resources.
- Am I using more graphical resources by having things setup this way?
Yes.
- Is there a way to have GDM3 pass off the display to Gnome Desktop after I login?
Probably not until a fix is delivered or you revert back to gdm 3.14, but this is probably not the best way out.
- Is there any advantage do doing #3?
There have been complaints about memory leaks in gdm3 and several performance issues.
The best thing you could do is to switch your desktop manager from gdm3 to lightdm until this is fixed. The good thing is you are using Ubuntu GNOME, and lightdm is cool and looks just like unity login screen.
Installl lightdm:
sudo apt install lightdm
Switch to it:
sudo dpkg-reconfigure lightdm
Reboot and you're good to go with your tty and normal resource consumption and still use GNOME. Or switch to other desktop environment like KDE, XFCE, Mate, etc.
edited Oct 16 '17 at 3:51
muru
133k19282479
133k19282479
answered Oct 15 '17 at 20:17
luisdarui
18627
18627
add a comment |
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f910108%2fwhy-is-my-gdm-at-a-different-tty-than-my-desktop-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Except for the specifics (17.04-64-bit, tty1=gdm, tty7=session), I am seeing this for the first time... I know it used to be tty7=gdm+session with tty1-tty6 available. I'm not sure how I got here. :(
– TheGeeko61
Jun 21 '17 at 18:56
Another asking... maybe consolidate this with that: askubuntu.com/questions/856940/…
– TheGeeko61
Jun 21 '17 at 19:00