Results 1 to 10 of 10

Thread: No desktop on login and password required to logout.

  1. #1
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    No desktop on login and password required to logout.

    Hi all,

    I have 14.04 mini install with xfce4. Having a few probs. I have installed xdm, but when I login it doesn't take me to a desktop. Also, when I logout it asks for password. Have I missed something? I tried a few; slim, lxdm (which dragged in a lot of lxde stuff), but none take me to a desktop.

    When I don't use a login manager I boot to Trusty and am taken to a CLI screen where I can login, pw, then 'startxfce4' and it boots to a desktop. But now it has started giving me a choice of 'default' 'logout' or 'new session'. If I hit 'new session' I'm asked to input a name for the new session.

    Having fun fiddling, nonetheless.

    PS: I have a feeling perhaps there should be something installed that's not because I lack permissions to do a few things. I'll post new threads about the major probs.
    Last edited by Bucky Ball; January 10th, 2014 at 10:19 AM.

  2. #2
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: No desktop on login and password required to logout.

    This from dmesg:

    Code:
    [   14.444229] init: slim main process (817) terminated with status 127
    [   14.538402] init: lxdm main process (889) killed by TERM signal
    [   14.750947] init: plymouth-stop pre-start process (928) terminated with status 1
    Even though slim and lxdm are no longer installed this is still showing up?

  3. #3
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: No desktop on login and password required to logout.

    Quote Originally Posted by Bucky Ball View Post
    This from dmesg:

    Code:
    [   14.444229] init: slim main process (817) terminated with status 127
    [   14.538402] init: lxdm main process (889) killed by TERM signal
    [   14.750947] init: plymouth-stop pre-start process (928) terminated with status 1
    Even though slim and lxdm are no longer installed this is still showing up?
    lightdm? Maybe.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: No desktop on login and password required to logout.

    Bucky Ball;

    Ya want to remove the xfce4 config files for the desk top and start all over from the default settings ?

    Might want to try simpler things first:
    I have seen problems in the xfce session and it is due to the window manager crashing . Because I run different sessions I see this once in a blue moon. The following command or restarting usually solves the problem.
    xfwm4 --replace
    else:++
    xfwm is the window manager, it has nothing to do with the panels.
    Maybe the session cache got corrupted.
    First try starting the panel with
    xfce4-panel &
    Anyway, your panel settings are safe in ~/.config
    You can also clear the session cache: logout, ctrl+alt+f2, login in the text console and
    rm -rf .cache/sessions
    then ctrl+alt+f7 and try and login again.

    Elseif: One can get even more drastic and remove all the config files and start over from defaults.

    It is amazing how complex this wonderful operating system is;
    there are solutions
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: No desktop on login and password required to logout.

    Okay, I purged the login/display managers I'd tried and that seemed to do the trick. Then this got rid of the sessions selection at boot:

    Code:
    rm -rf .cache/sessions
    Thanks for that. Now I am still getting asked for password at logout and here is more detail:

    Authorisation is required for rebooting the system. An application is attempting to perform an action that requires privileges.
    Then under the 'details' arrow:

    Action: org.freedesktop.login1.reboot
    Vendor: the systemd project
    Getting a bit tricky now as for some reason Network Manager is suddenly unavailable in 14.04. I could get online via a cable at least, but now nothing. Already started a thread about the dodgy Network Manager here:

    http://ubuntuforums.org/showthread.php?t=2198703

    So, we got rid of the sessions window after login but the original issues remain:
    - No login manager will take me to a desktop (does it need to be told 'startxfce4'?);
    - Need to input password to log out (which takes me back to CLI where I need to issue 'sudo reboot').

    lightdm, gdm, xdm, lxdm all drag in so much junk I don't need, and being a minimal install, I'm reluctant to go there. Slim seemed passable, despite the fact it is so ugly. Apparently it has a few configuration options.
    Last edited by Bucky Ball; January 11th, 2014 at 06:01 AM.

  6. #6
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: No desktop on login and password required to logout.

    Bit the bullet and installed gdm. Problem solved. Boots to a handsome login screen and when I choose xfce session I'm in. Log out, not asked for password.

    Thanks for the help. gdm does drag in a whole lot of stuff I just don't need. Is there a better way?

    So, thread resolved by dragging in a heap of stuff I didn't really want and don't need. I might fiddle with SLiM somemore and see where that gets me.
    Last edited by Bucky Ball; January 11th, 2014 at 03:33 PM.

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: No desktop on login and password required to logout.

    Bucky Ball; Ouch on the dragging in unwanted stuff !

    Look, why do you even want a login manager ? As far as I am concerned it is more "cruft" !

    I have set up ~/.xinitrc to start my Xserver:
    ---------
    The ~/.xinitrc file is a shell script read by xinit and startx. It is mainly used to execute desktop environments, window managers and other programs when starting the X server.

    It workie great, and last long time but, as they say -> YMMV.

    cheerfully, as on we go
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: No desktop on login and password required to logout.

    Would that work okay with xfce4? I purged gdm and am currently trying lightdm which also works okay, but again, drags in a ton.

    PS: Just found this:

    https://wiki.ubuntu.com/CustomXSession

    I'm getting the idea. Will delve deeper when I wake up a bit.

  9. #9
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: No desktop on login and password required to logout.

    Quote Originally Posted by Bucky Ball View Post
    Hi all,

    But now it has started giving me a choice of 'default' 'logout' or 'new session'. If I hit 'new session' I'm asked to input a name for the new session.
    For those who are interested, this was an easy fix in the end. Apps>Settings>Sessions and Startup>General>untick 'Display chooser on login'.

    That's it. Discovered it by accident when I was doing something else.

    I am using Lightdm for the moment, but can't say I love it. It's working. I will get around to trying some other (hopefully more lightweight) options shortly.

  10. #10
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: No desktop on login and password required to logout.

    Bucky Ball; hey !

    You are practicing to be an expert in xfce4 !

    who ya gonna call
    Bucky Ball !
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •