No desktop up to 15 seconds after login
I was worried that my computer could be compromised and my login session is being hijacked by some malicious hook.
In .xsession
executed by xdm
, I capture a pstree
snapshot a file to debug this situation.
This file's timestamp shows five to fifteen second delay after X11 login!
.xsession-errors
doesn't show anything weird, only that I'm being added to "access control list" and then a couple of environment entries reported by dbus-update-activation-environment
with no timestamps.
dmesg
during this weird pause:
r8168: eth0: link up
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
random: crng init done
random: 7 urandom warning(s) missed due to ratelimiting
audit: type=1400 audit(1546022714.845:26): apparmor="STATUS" [...]
bridge: filtering via arp/ip/ip6tables is no longer available [...]
Bridge firewalling registered
Initializing XFRM netlink socket
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-f14696ee8bfd: link is not ready
Regardless of the root cause (I suspect something demands more randomness after boot), how such problems can be debugged further?
Can I leverage systemd
for example?
systemd x11 debugging xdm
New contributor
add a comment |
I was worried that my computer could be compromised and my login session is being hijacked by some malicious hook.
In .xsession
executed by xdm
, I capture a pstree
snapshot a file to debug this situation.
This file's timestamp shows five to fifteen second delay after X11 login!
.xsession-errors
doesn't show anything weird, only that I'm being added to "access control list" and then a couple of environment entries reported by dbus-update-activation-environment
with no timestamps.
dmesg
during this weird pause:
r8168: eth0: link up
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
random: crng init done
random: 7 urandom warning(s) missed due to ratelimiting
audit: type=1400 audit(1546022714.845:26): apparmor="STATUS" [...]
bridge: filtering via arp/ip/ip6tables is no longer available [...]
Bridge firewalling registered
Initializing XFRM netlink socket
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-f14696ee8bfd: link is not ready
Regardless of the root cause (I suspect something demands more randomness after boot), how such problems can be debugged further?
Can I leverage systemd
for example?
systemd x11 debugging xdm
New contributor
add a comment |
I was worried that my computer could be compromised and my login session is being hijacked by some malicious hook.
In .xsession
executed by xdm
, I capture a pstree
snapshot a file to debug this situation.
This file's timestamp shows five to fifteen second delay after X11 login!
.xsession-errors
doesn't show anything weird, only that I'm being added to "access control list" and then a couple of environment entries reported by dbus-update-activation-environment
with no timestamps.
dmesg
during this weird pause:
r8168: eth0: link up
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
random: crng init done
random: 7 urandom warning(s) missed due to ratelimiting
audit: type=1400 audit(1546022714.845:26): apparmor="STATUS" [...]
bridge: filtering via arp/ip/ip6tables is no longer available [...]
Bridge firewalling registered
Initializing XFRM netlink socket
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-f14696ee8bfd: link is not ready
Regardless of the root cause (I suspect something demands more randomness after boot), how such problems can be debugged further?
Can I leverage systemd
for example?
systemd x11 debugging xdm
New contributor
I was worried that my computer could be compromised and my login session is being hijacked by some malicious hook.
In .xsession
executed by xdm
, I capture a pstree
snapshot a file to debug this situation.
This file's timestamp shows five to fifteen second delay after X11 login!
.xsession-errors
doesn't show anything weird, only that I'm being added to "access control list" and then a couple of environment entries reported by dbus-update-activation-environment
with no timestamps.
dmesg
during this weird pause:
r8168: eth0: link up
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
random: crng init done
random: 7 urandom warning(s) missed due to ratelimiting
audit: type=1400 audit(1546022714.845:26): apparmor="STATUS" [...]
bridge: filtering via arp/ip/ip6tables is no longer available [...]
Bridge firewalling registered
Initializing XFRM netlink socket
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-f14696ee8bfd: link is not ready
Regardless of the root cause (I suspect something demands more randomness after boot), how such problems can be debugged further?
Can I leverage systemd
for example?
systemd x11 debugging xdm
systemd x11 debugging xdm
New contributor
New contributor
New contributor
asked 1 hour ago
Jo Lee
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Jo Lee 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%2funix.stackexchange.com%2fquestions%2f491363%2fno-desktop-up-to-15-seconds-after-login%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jo Lee is a new contributor. Be nice, and check out our Code of Conduct.
Jo Lee is a new contributor. Be nice, and check out our Code of Conduct.
Jo Lee is a new contributor. Be nice, and check out our Code of Conduct.
Jo Lee is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2funix.stackexchange.com%2fquestions%2f491363%2fno-desktop-up-to-15-seconds-after-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