“Failed to start session” on login
I have a machine (let's name it my-machine
), which runs Ubuntu 16.04.
my-machine
is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.
However, today, I used my LDAP account to connect to another machine (let's call it second-machine
), which runs Kubuntu.
After that, I am not able to login to my-machine
anymore. The graphical user prompt prints error message Failed to start session
.
However, when I switch to console, using ctrl + alt + F1
, I still am able to login successfully.
Now, when listening to file /var/log/lightdm/lightdm.log
in console, during a graphical login, here are the logs I see:
DEBUG: Authenticate result for user myuser: Success
DEBUG: User myuser authorized
DEBUG: Greeter requests default session
DEBUG: Seat seat0: Failed to find session configuration default
DEBUG: Seat seat0: Can't find session 'default'
Question
Why am I not anymore able to GUI-login on my Ubuntu machine?
How can I fix the problem?
16.04 kubuntu lightdm ldap
New contributor
add a comment |
I have a machine (let's name it my-machine
), which runs Ubuntu 16.04.
my-machine
is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.
However, today, I used my LDAP account to connect to another machine (let's call it second-machine
), which runs Kubuntu.
After that, I am not able to login to my-machine
anymore. The graphical user prompt prints error message Failed to start session
.
However, when I switch to console, using ctrl + alt + F1
, I still am able to login successfully.
Now, when listening to file /var/log/lightdm/lightdm.log
in console, during a graphical login, here are the logs I see:
DEBUG: Authenticate result for user myuser: Success
DEBUG: User myuser authorized
DEBUG: Greeter requests default session
DEBUG: Seat seat0: Failed to find session configuration default
DEBUG: Seat seat0: Can't find session 'default'
Question
Why am I not anymore able to GUI-login on my Ubuntu machine?
How can I fix the problem?
16.04 kubuntu lightdm ldap
New contributor
add a comment |
I have a machine (let's name it my-machine
), which runs Ubuntu 16.04.
my-machine
is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.
However, today, I used my LDAP account to connect to another machine (let's call it second-machine
), which runs Kubuntu.
After that, I am not able to login to my-machine
anymore. The graphical user prompt prints error message Failed to start session
.
However, when I switch to console, using ctrl + alt + F1
, I still am able to login successfully.
Now, when listening to file /var/log/lightdm/lightdm.log
in console, during a graphical login, here are the logs I see:
DEBUG: Authenticate result for user myuser: Success
DEBUG: User myuser authorized
DEBUG: Greeter requests default session
DEBUG: Seat seat0: Failed to find session configuration default
DEBUG: Seat seat0: Can't find session 'default'
Question
Why am I not anymore able to GUI-login on my Ubuntu machine?
How can I fix the problem?
16.04 kubuntu lightdm ldap
New contributor
I have a machine (let's name it my-machine
), which runs Ubuntu 16.04.
my-machine
is connected to LDAP, and I use an LDAP account to login to it. With my LDAP account, I use exclusively this machine.
However, today, I used my LDAP account to connect to another machine (let's call it second-machine
), which runs Kubuntu.
After that, I am not able to login to my-machine
anymore. The graphical user prompt prints error message Failed to start session
.
However, when I switch to console, using ctrl + alt + F1
, I still am able to login successfully.
Now, when listening to file /var/log/lightdm/lightdm.log
in console, during a graphical login, here are the logs I see:
DEBUG: Authenticate result for user myuser: Success
DEBUG: User myuser authorized
DEBUG: Greeter requests default session
DEBUG: Seat seat0: Failed to find session configuration default
DEBUG: Seat seat0: Can't find session 'default'
Question
Why am I not anymore able to GUI-login on my Ubuntu machine?
How can I fix the problem?
16.04 kubuntu lightdm ldap
16.04 kubuntu lightdm ldap
New contributor
New contributor
New contributor
asked Jan 14 at 16:21
Elouan Keryell-EvenElouan Keryell-Even
1011
1011
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Answering my own question
It turns out logging into the Kubuntu machine added/modified a ~/.dmrc
file in my LDAP home folder, with the following content:
[Desktop]
Session=default
This is where the Can't find session 'default'
log line comes from. Indeed, when taking a look at /usr/share/xsessions
(as hinted in this post), the only file I find is
/usr/share/xsessions/ubuntu.desktop
Session default
does not seem to exist.
Modifying ~/.dmrc
to Session=ubuntu
fixed the GUI-login.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1109685%2ffailed-to-start-session-on-login%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Answering my own question
It turns out logging into the Kubuntu machine added/modified a ~/.dmrc
file in my LDAP home folder, with the following content:
[Desktop]
Session=default
This is where the Can't find session 'default'
log line comes from. Indeed, when taking a look at /usr/share/xsessions
(as hinted in this post), the only file I find is
/usr/share/xsessions/ubuntu.desktop
Session default
does not seem to exist.
Modifying ~/.dmrc
to Session=ubuntu
fixed the GUI-login.
New contributor
add a comment |
Answering my own question
It turns out logging into the Kubuntu machine added/modified a ~/.dmrc
file in my LDAP home folder, with the following content:
[Desktop]
Session=default
This is where the Can't find session 'default'
log line comes from. Indeed, when taking a look at /usr/share/xsessions
(as hinted in this post), the only file I find is
/usr/share/xsessions/ubuntu.desktop
Session default
does not seem to exist.
Modifying ~/.dmrc
to Session=ubuntu
fixed the GUI-login.
New contributor
add a comment |
Answering my own question
It turns out logging into the Kubuntu machine added/modified a ~/.dmrc
file in my LDAP home folder, with the following content:
[Desktop]
Session=default
This is where the Can't find session 'default'
log line comes from. Indeed, when taking a look at /usr/share/xsessions
(as hinted in this post), the only file I find is
/usr/share/xsessions/ubuntu.desktop
Session default
does not seem to exist.
Modifying ~/.dmrc
to Session=ubuntu
fixed the GUI-login.
New contributor
Answering my own question
It turns out logging into the Kubuntu machine added/modified a ~/.dmrc
file in my LDAP home folder, with the following content:
[Desktop]
Session=default
This is where the Can't find session 'default'
log line comes from. Indeed, when taking a look at /usr/share/xsessions
(as hinted in this post), the only file I find is
/usr/share/xsessions/ubuntu.desktop
Session default
does not seem to exist.
Modifying ~/.dmrc
to Session=ubuntu
fixed the GUI-login.
New contributor
New contributor
answered Jan 14 at 16:21
Elouan Keryell-EvenElouan Keryell-Even
1011
1011
New contributor
New contributor
add a comment |
add a comment |
Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.
Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.
Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.
Elouan Keryell-Even is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f1109685%2ffailed-to-start-session-on-login%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