User immediately logged out after logging in after mistakenly typing `startx`Modify xfce startup applicationsRandomly getting logged outSession started with startx disappears after switching virtual consoleSublime is killed when logging out from ubuntuSwitching Window Manager without Logging-outHow to soft link an app to add it's shortcut to start menu in xubuntu?How to fix black screen after logging into laptop after suspend?

Shabbos morning amidah - wrong biblical text - what to do?

Which were the reasons/need for Israel's "Freedom Of Occupation" Basic Laws?

How much energy does a bee/micro robot need per second of flight?

Resonance structure of acetate

Counterpart of cyclotomic polynomials for elliptic divisibility sequences

Making sense of possessed dolls: how could they actually kill people?

Difference between 说话 and 话说?

How to get best taste out of tomatoes?

Shoe shine shop model in Rust

My mysterious "ruins" wander around and change on their own, what'd be a rational way for them to do that?

Is it possible to get reverse life insurance?

Linearity assumption of linear regression

How to implement bus sharing / DMA on a 6502 system

Commutative algebras with modules of small complexity

Are all LTI systems invertible? If not, what is a good counterexample?

Complexity of LP and MILP Problems?

How to manage publications on a local computer

Download, upload, downstream, upstream

Getting data from Seagate ST-238R drive

Why do links from custom link / image fields not appear in the link database?

The Extended Participial Phrase

Backwards quote marks in Latex (and I've tried a lot of things to prevent it!)

Paying to leave without notice in at-will employment state

How do I experimentally measure the surface area of a rock?



User immediately logged out after logging in after mistakenly typing `startx`


Modify xfce startup applicationsRandomly getting logged outSession started with startx disappears after switching virtual consoleSublime is killed when logging out from ubuntuSwitching Window Manager without Logging-outHow to soft link an app to add it's shortcut to start menu in xubuntu?How to fix black screen after logging into laptop after suspend?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1

















This question is very similar to a few others on this site, but I don't think identical to any; please hear me out.



I've had Xubuntu installed for a few weeks now, but today I accidentally pressed Ctrl + Alt + F6 while doing work while logged in under XFCE. This dropped me into a terminal environment, which surprised me. I'd never seen this happen before.



Panicking, I hastily typed sudo startx to get back to an X session, which dropped me into a root session. That too, for some reason, shocked me, so I shut down the computer.



Upon booting back up again and trying to log into my XFCE session like usual, I was logged in to a black screen for a fraction of a second and then logged back out again, dropped into the XFCE login screen. This behavior is repeated no matter the number of full reboots performed.



I believe this is an issue with how XFCE is now configured, but I don't know what to do. I have very little experience dealing with X session configuration. Does anyone know what might be happening here?



EDIT: I have already tried removing the ~/.Xauthority file and rebooting. No improvement, the issue has persisted.



EDIT 2: I'm running Xubuntu 18.04. Output of ~/.xsession-errors



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/neil
dbus-update-activation-environment: setting USER=neil
dbus-update-activation-environment: setting DESKTOP_SESSION=xfce
dbus-update-activation-environment: setting PWD=/home/neil
dbus-update-activation-environment: setting HOME=/home/neil
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=xfce
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=XFCE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=xfce
dbus-update-activation-environment: setting LOGNAME=neil
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied









share|improve this question




























  • Running startx is fine - running sudo startx is the problem, it has likely left you with a root-owned ~/.Xauthority file which your XFCE session is now unable to overwrite. You will need to log into the terminal environment (e.g. Ctrl-Alt-F6) again and delete the file (rm ~/.Xauthority).

    – steeldriver
    Aug 5 at 23:56











  • @steeldriver would the .Xauthority file be in my home directory or /home/root/? I have since deleted the /home/neil/.Xauthority a couple of times, to no avail upon restart.

    – ifconfig
    Aug 5 at 23:58






  • 1





    I'm not even sure what /home/root would be - if you have already deleted the file in your own home directory, then please ignore my comment (although you might want to edit your question to include this information, since it will stop others from making the same assumption)

    – steeldriver
    Aug 6 at 0:16











  • Thank you for trying to help, @steeldriver. My idea of /home/root comes from the Raspberry Pi, which I believe at one point featured a root home directory.

    – ifconfig
    Aug 6 at 0:20







  • 1





    Is there an .xsession-errors file? Have you checked its contents? What version of Xubuntu is this?

    – steeldriver
    Aug 6 at 0:32

















1

















This question is very similar to a few others on this site, but I don't think identical to any; please hear me out.



I've had Xubuntu installed for a few weeks now, but today I accidentally pressed Ctrl + Alt + F6 while doing work while logged in under XFCE. This dropped me into a terminal environment, which surprised me. I'd never seen this happen before.



Panicking, I hastily typed sudo startx to get back to an X session, which dropped me into a root session. That too, for some reason, shocked me, so I shut down the computer.



Upon booting back up again and trying to log into my XFCE session like usual, I was logged in to a black screen for a fraction of a second and then logged back out again, dropped into the XFCE login screen. This behavior is repeated no matter the number of full reboots performed.



I believe this is an issue with how XFCE is now configured, but I don't know what to do. I have very little experience dealing with X session configuration. Does anyone know what might be happening here?



EDIT: I have already tried removing the ~/.Xauthority file and rebooting. No improvement, the issue has persisted.



EDIT 2: I'm running Xubuntu 18.04. Output of ~/.xsession-errors



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/neil
dbus-update-activation-environment: setting USER=neil
dbus-update-activation-environment: setting DESKTOP_SESSION=xfce
dbus-update-activation-environment: setting PWD=/home/neil
dbus-update-activation-environment: setting HOME=/home/neil
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=xfce
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=XFCE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=xfce
dbus-update-activation-environment: setting LOGNAME=neil
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied









share|improve this question




























  • Running startx is fine - running sudo startx is the problem, it has likely left you with a root-owned ~/.Xauthority file which your XFCE session is now unable to overwrite. You will need to log into the terminal environment (e.g. Ctrl-Alt-F6) again and delete the file (rm ~/.Xauthority).

    – steeldriver
    Aug 5 at 23:56











  • @steeldriver would the .Xauthority file be in my home directory or /home/root/? I have since deleted the /home/neil/.Xauthority a couple of times, to no avail upon restart.

    – ifconfig
    Aug 5 at 23:58






  • 1





    I'm not even sure what /home/root would be - if you have already deleted the file in your own home directory, then please ignore my comment (although you might want to edit your question to include this information, since it will stop others from making the same assumption)

    – steeldriver
    Aug 6 at 0:16











  • Thank you for trying to help, @steeldriver. My idea of /home/root comes from the Raspberry Pi, which I believe at one point featured a root home directory.

    – ifconfig
    Aug 6 at 0:20







  • 1





    Is there an .xsession-errors file? Have you checked its contents? What version of Xubuntu is this?

    – steeldriver
    Aug 6 at 0:32













1












1








1








This question is very similar to a few others on this site, but I don't think identical to any; please hear me out.



I've had Xubuntu installed for a few weeks now, but today I accidentally pressed Ctrl + Alt + F6 while doing work while logged in under XFCE. This dropped me into a terminal environment, which surprised me. I'd never seen this happen before.



Panicking, I hastily typed sudo startx to get back to an X session, which dropped me into a root session. That too, for some reason, shocked me, so I shut down the computer.



Upon booting back up again and trying to log into my XFCE session like usual, I was logged in to a black screen for a fraction of a second and then logged back out again, dropped into the XFCE login screen. This behavior is repeated no matter the number of full reboots performed.



I believe this is an issue with how XFCE is now configured, but I don't know what to do. I have very little experience dealing with X session configuration. Does anyone know what might be happening here?



EDIT: I have already tried removing the ~/.Xauthority file and rebooting. No improvement, the issue has persisted.



EDIT 2: I'm running Xubuntu 18.04. Output of ~/.xsession-errors



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/neil
dbus-update-activation-environment: setting USER=neil
dbus-update-activation-environment: setting DESKTOP_SESSION=xfce
dbus-update-activation-environment: setting PWD=/home/neil
dbus-update-activation-environment: setting HOME=/home/neil
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=xfce
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=XFCE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=xfce
dbus-update-activation-environment: setting LOGNAME=neil
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied









share|improve this question

















This question is very similar to a few others on this site, but I don't think identical to any; please hear me out.



I've had Xubuntu installed for a few weeks now, but today I accidentally pressed Ctrl + Alt + F6 while doing work while logged in under XFCE. This dropped me into a terminal environment, which surprised me. I'd never seen this happen before.



Panicking, I hastily typed sudo startx to get back to an X session, which dropped me into a root session. That too, for some reason, shocked me, so I shut down the computer.



Upon booting back up again and trying to log into my XFCE session like usual, I was logged in to a black screen for a fraction of a second and then logged back out again, dropped into the XFCE login screen. This behavior is repeated no matter the number of full reboots performed.



I believe this is an issue with how XFCE is now configured, but I don't know what to do. I have very little experience dealing with X session configuration. Does anyone know what might be happening here?



EDIT: I have already tried removing the ~/.Xauthority file and rebooting. No improvement, the issue has persisted.



EDIT 2: I'm running Xubuntu 18.04. Output of ~/.xsession-errors



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/neil
dbus-update-activation-environment: setting USER=neil
dbus-update-activation-environment: setting DESKTOP_SESSION=xfce
dbus-update-activation-environment: setting PWD=/home/neil
dbus-update-activation-environment: setting HOME=/home/neil
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=xfce
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=XFCE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=xfce
dbus-update-activation-environment: setting LOGNAME=neil
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/neil/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied






xubuntu xfce gui






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Aug 6 at 1:41







ifconfig

















asked Aug 5 at 21:17









ifconfigifconfig

1318 bronze badges




1318 bronze badges















  • Running startx is fine - running sudo startx is the problem, it has likely left you with a root-owned ~/.Xauthority file which your XFCE session is now unable to overwrite. You will need to log into the terminal environment (e.g. Ctrl-Alt-F6) again and delete the file (rm ~/.Xauthority).

    – steeldriver
    Aug 5 at 23:56











  • @steeldriver would the .Xauthority file be in my home directory or /home/root/? I have since deleted the /home/neil/.Xauthority a couple of times, to no avail upon restart.

    – ifconfig
    Aug 5 at 23:58






  • 1





    I'm not even sure what /home/root would be - if you have already deleted the file in your own home directory, then please ignore my comment (although you might want to edit your question to include this information, since it will stop others from making the same assumption)

    – steeldriver
    Aug 6 at 0:16











  • Thank you for trying to help, @steeldriver. My idea of /home/root comes from the Raspberry Pi, which I believe at one point featured a root home directory.

    – ifconfig
    Aug 6 at 0:20







  • 1





    Is there an .xsession-errors file? Have you checked its contents? What version of Xubuntu is this?

    – steeldriver
    Aug 6 at 0:32

















  • Running startx is fine - running sudo startx is the problem, it has likely left you with a root-owned ~/.Xauthority file which your XFCE session is now unable to overwrite. You will need to log into the terminal environment (e.g. Ctrl-Alt-F6) again and delete the file (rm ~/.Xauthority).

    – steeldriver
    Aug 5 at 23:56











  • @steeldriver would the .Xauthority file be in my home directory or /home/root/? I have since deleted the /home/neil/.Xauthority a couple of times, to no avail upon restart.

    – ifconfig
    Aug 5 at 23:58






  • 1





    I'm not even sure what /home/root would be - if you have already deleted the file in your own home directory, then please ignore my comment (although you might want to edit your question to include this information, since it will stop others from making the same assumption)

    – steeldriver
    Aug 6 at 0:16











  • Thank you for trying to help, @steeldriver. My idea of /home/root comes from the Raspberry Pi, which I believe at one point featured a root home directory.

    – ifconfig
    Aug 6 at 0:20







  • 1





    Is there an .xsession-errors file? Have you checked its contents? What version of Xubuntu is this?

    – steeldriver
    Aug 6 at 0:32
















Running startx is fine - running sudo startx is the problem, it has likely left you with a root-owned ~/.Xauthority file which your XFCE session is now unable to overwrite. You will need to log into the terminal environment (e.g. Ctrl-Alt-F6) again and delete the file (rm ~/.Xauthority).

– steeldriver
Aug 5 at 23:56





Running startx is fine - running sudo startx is the problem, it has likely left you with a root-owned ~/.Xauthority file which your XFCE session is now unable to overwrite. You will need to log into the terminal environment (e.g. Ctrl-Alt-F6) again and delete the file (rm ~/.Xauthority).

– steeldriver
Aug 5 at 23:56













@steeldriver would the .Xauthority file be in my home directory or /home/root/? I have since deleted the /home/neil/.Xauthority a couple of times, to no avail upon restart.

– ifconfig
Aug 5 at 23:58





@steeldriver would the .Xauthority file be in my home directory or /home/root/? I have since deleted the /home/neil/.Xauthority a couple of times, to no avail upon restart.

– ifconfig
Aug 5 at 23:58




1




1





I'm not even sure what /home/root would be - if you have already deleted the file in your own home directory, then please ignore my comment (although you might want to edit your question to include this information, since it will stop others from making the same assumption)

– steeldriver
Aug 6 at 0:16





I'm not even sure what /home/root would be - if you have already deleted the file in your own home directory, then please ignore my comment (although you might want to edit your question to include this information, since it will stop others from making the same assumption)

– steeldriver
Aug 6 at 0:16













Thank you for trying to help, @steeldriver. My idea of /home/root comes from the Raspberry Pi, which I believe at one point featured a root home directory.

– ifconfig
Aug 6 at 0:20






Thank you for trying to help, @steeldriver. My idea of /home/root comes from the Raspberry Pi, which I believe at one point featured a root home directory.

– ifconfig
Aug 6 at 0:20





1




1





Is there an .xsession-errors file? Have you checked its contents? What version of Xubuntu is this?

– steeldriver
Aug 6 at 0:32





Is there an .xsession-errors file? Have you checked its contents? What version of Xubuntu is this?

– steeldriver
Aug 6 at 0:32










1 Answer
1






active

oldest

votes


















2


















Ah, that's it! Thank you, @steeldriver for the debugging tip. As per ~/.xsession-errors:



xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied



Upon removing ~/.ICEauthority, login works like a charm again. I suspect that my prior removal of the ~/.Xauthority file was also critical to the resolution of this issue even though it didn't appear so initially.






share|improve this answer



























    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/4.0/"u003ecc by-sa 4.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
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1163657%2fuser-immediately-logged-out-after-logging-in-after-mistakenly-typing-startx%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









    2


















    Ah, that's it! Thank you, @steeldriver for the debugging tip. As per ~/.xsession-errors:



    xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied



    Upon removing ~/.ICEauthority, login works like a charm again. I suspect that my prior removal of the ~/.Xauthority file was also critical to the resolution of this issue even though it didn't appear so initially.






    share|improve this answer






























      2


















      Ah, that's it! Thank you, @steeldriver for the debugging tip. As per ~/.xsession-errors:



      xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied



      Upon removing ~/.ICEauthority, login works like a charm again. I suspect that my prior removal of the ~/.Xauthority file was also critical to the resolution of this issue even though it didn't appear so initially.






      share|improve this answer




























        2














        2










        2









        Ah, that's it! Thank you, @steeldriver for the debugging tip. As per ~/.xsession-errors:



        xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied



        Upon removing ~/.ICEauthority, login works like a charm again. I suspect that my prior removal of the ~/.Xauthority file was also critical to the resolution of this issue even though it didn't appear so initially.






        share|improve this answer














        Ah, that's it! Thank you, @steeldriver for the debugging tip. As per ~/.xsession-errors:



        xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied



        Upon removing ~/.ICEauthority, login works like a charm again. I suspect that my prior removal of the ~/.Xauthority file was also critical to the resolution of this issue even though it didn't appear so initially.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Aug 6 at 1:49









        ifconfigifconfig

        1318 bronze badges




        1318 bronze badges































            draft saved

            draft discarded















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1163657%2fuser-immediately-logged-out-after-logging-in-after-mistakenly-typing-startx%23new-answer', 'question_page');

            );

            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









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?