FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Jul 2006
    Posts
    114

    Can't login using Xfce

    I recently installed Xfce via yum. When I log out and choose Session-> Xfce4 I get the following error.
    "Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean than there is some installation problem or that you may be out of diskspace. Try logging in with one of th failsafe sessions to see if you can fix this problem.

    view details(~/.xsessions-errors file)"

    I can log in my default manager Gnome no problem. Also logged into failsafe terminal no problem.
    Also there is no .xsession* files in my home folder.

    Could this have something with a locked X file or pid file?

    I might yum uninstall and reinstall it to see if problem is repeated. I'm sure it's probably something I'm overlooking though.

    Any help would be appreciated.

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Denver, CO USA
    Posts
    670
    I have never installed xfce from yum. However, installing via the installer packages from the xfce website has never been an issue for me. You might want to try that.

  3. #3
    Join Date
    Jul 2006
    Posts
    114
    I prefer to use yum if possible. Well I uninstalled and reinstalled with same problem.
    I think it has something to do with the gnome window manager. Just a guess.

  4. #4
    Wayne Guest
    I had this with another distro using XFce. I had to log-in as root and remove some config files from a user home sub-directory and I was able to log-in again. I can't for the life of me remember what and where they were located right now.

    Wayne

  5. #5
    Join Date
    Jul 2006
    Posts
    114
    Thanks rondonjin. I can't find any files owned by root in my home directory. Maybe in the /tmp file?
    If you can remember please let me now. Maybe its a lock file somewhere?

  6. #6
    Wayne Guest
    Quote Originally Posted by nick623
    Thanks rondonjin. I can't find any files owned by root in my home directory. Maybe in the /tmp file?
    If you can remember please let me now. Maybe its a lock file somewhere?
    No, there weren't owned by root but by the user. The only way I could get in was via root. I have to leave now but I'll fire up that machine when I get back later, unless someone beats me to it.

    Edit: I do remember that I was unable to login (same symptoms you describe) after changing a couple of options and the default theme. Maybe that's a clue to help find the files to remove.

    Wayne
    Last edited by rondonjin; 20th February 2007 at 08:41 AM.

  7. #7
    Wayne Guest
    OK. I think the file I removed was xfce4-session.rc under ~/.config/xfce4-session

    Wayne

  8. #8
    JN4OldSchool is offline "Sean The Terrible" -- The forum(er) Vista® rep
    Join Date
    Nov 2005
    Posts
    8,823
    Wayne is right. XFCE usually plays nice with the other DEs but you should always create a new user for each DE. This gets into permissions for each users /home but in my case I just use a shared partition for all personal documents anyway. This will also save you from the (getting very old now) trash can error between gnome and kde. And if you screw something up you still have alternative user accounts set up.

  9. #9
    Wayne Guest
    Quote Originally Posted by JN4OldSchool
    Wayne is right. XFCE usually plays nice with the other DEs but you should always create a new user for each DE. This gets into permissions for each users /home but in my case I just use a shared partition for all personal documents anyway. This will also save you from the (getting very old now) trash can error between gnome and kde. And if you screw something up you still have alternative user accounts set up.
    I remember way back when if you installed both KDE and Gnome on a Mandrake system on one of the desktops (Gnome?) you'd get two trashcans! Does that still happen?

    Wayne

  10. #10
    JN4OldSchool is offline "Sean The Terrible" -- The forum(er) Vista® rep
    Join Date
    Nov 2005
    Posts
    8,823
    Quote Originally Posted by rondonjin
    I remember way back when if you installed both KDE and Gnome on a Mandrake system on one of the desktops (Gnome?) you'd get two trashcans! Does that still happen?

    Wayne
    yep, that is exactly what I'm talking about. You'd think they could have fixed this by now. You can also get a slew of other minor irritating little errors. Easier to just create a separate gnome account and KDE account. I call my accounts by my name then the DE, such as seangnome or seankde or seanxfce and seanflux. Then I just share a common partition. This keeps everything nice and separate.

  11. #11
    Join Date
    Jul 2006
    Posts
    114
    What kind of permission issues are there if I don't have a seperate user for each DE I use.
    I'm just curious on the details.

  12. #12
    JN4OldSchool is offline "Sean The Terrible" -- The forum(er) Vista® rep
    Join Date
    Nov 2005
    Posts
    8,823
    Quote Originally Posted by nick623
    What kind of permission issues are there if I don't have a seperate user for each DE I use.
    I'm just curious on the details.
    No, permissions issues if you DO have seperate users but want to share the same /home. It's not a big deal either way. It's just that each user should have their own /home or it defeats the purpose of having seperate users. Then if you want all users to access one /home for personal stuff you get into permissions...

  13. #13
    Join Date
    Jul 2006
    Posts
    114
    Ok. Don't know if I did this right. I used the useradd command as root and created a new user "mynamexfce'.
    I then used the "passwd mynamexfce' as root to create the new password for my new user. After I logged out and used the new user name to log in to Xfce and got the exact same error message.

    Any ideas where I went wrong? I'm not actually that hell bent on getting the Xfce desktop. Right now I'm just wondering why something I thought should be relatively easy is becoming a hassle.

    Oh, I was able to login under the "root" account. But I'm not comfortable moving around to long as root.

  14. #14
    JN4OldSchool is offline "Sean The Terrible" -- The forum(er) Vista® rep
    Join Date
    Nov 2005
    Posts
    8,823
    Interesting. Why dont you try adding a new user in GUI mode. I am not sure where it is in Gnome, somewhere under the system menu. There should be a menu entry for users and groups. make sure you give that user it's own /home when it asks. Sounds like something in your install is botched.

  15. #15
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,679
    Quote Originally Posted by nick623
    I used the useradd command as root and created a new user "mynamexfce'.
    I then used the "passwd mynamexfce' as root to create the new password for my new user. After I logged out and used the new user name to log in to Xfce and got the exact same error message.
    Did you use the -m or --create-home option when you ran useradd? If not, then the user's home directory was not created. XFCE needs to put stuff in the user's home directory, so if that home directory doesn't exist or have the proper permissions then that may be why it's not letting you login.
    OS: Fedora 27 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

Page 1 of 2 1 2 LastLast

Similar Threads

  1. auto start xfce Without login manager?
    By anika200 in forum Using Fedora
    Replies: 8
    Last Post: 22nd June 2009, 06:27 PM
  2. Replies: 1
    Last Post: 19th March 2009, 04:08 AM
  3. XFCE login screen gone
    By FatFeddy in forum Using Fedora
    Replies: 1
    Last Post: 25th December 2008, 11:27 AM
  4. Could not login after installing xfce
    By jim1944 in forum Using Fedora
    Replies: 0
    Last Post: 25th February 2008, 03:06 AM
  5. Can't login to gnome , kde or XFCE
    By leigh123linux in forum Using Fedora
    Replies: 3
    Last Post: 20th September 2007, 03:00 PM

Tags for this Thread

Posting Permissions

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