Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Logout after login [Solved]
New Posts  All Forums:Forum Nav:

Logout after login [Solved]

post #1 of 3
Thread Starter 
Hey everyone,

I recently updated Backbox (based on Ubuntu 11.10) and only rebooted it today, since doing this it logs me out as soon as i login.

I can login on the root account fine but when I try my account the screen goes black for a second followed by an error sound and I'm then brought back to the login prompt, oh and I'm using XFCE. I'm not sure if it will do it with a new account but I'd rather avoid having to create a new one.

Any help would be greatly appreciated.

Thanks!
Edited by Riks - 1/15/12 at 10:15pm
    
CPUMotherboardGraphicsGraphics
Q6600 @ 3.6ghz 1.432v Asus P5Q-Deluxe ΕVGΛ GTX580 XFX GTX260 
RAMHard DriveHard DriveHard Drive
8gb Corsair DDR2 DHX Vertex3 Max IOPS 120gb Western Digital 2TB Caviar Black Maxtor stm310003 
Optical DriveCoolingOSMonitor
LG Dual Layer Thermolab Baram Rev. 2 Backbox Linux 2 24" HP ZR24W 
MonitorMonitorPowerCase
LG (M1994D)  Advent (insert generic model name here) Thermaltake W0171 1500w Lian Li PCP80 
Mouse
Logitech G5 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Q6600 @ 3.6ghz 1.432v Asus P5Q-Deluxe ΕVGΛ GTX580 XFX GTX260 
RAMHard DriveHard DriveHard Drive
8gb Corsair DDR2 DHX Vertex3 Max IOPS 120gb Western Digital 2TB Caviar Black Maxtor stm310003 
Optical DriveCoolingOSMonitor
LG Dual Layer Thermolab Baram Rev. 2 Backbox Linux 2 24" HP ZR24W 
MonitorMonitorPowerCase
LG (M1994D)  Advent (insert generic model name here) Thermaltake W0171 1500w Lian Li PCP80 
Mouse
Logitech G5 
  hide details  
Reply
post #2 of 3
Can you log in from the CLI ? if it is throwing you out from the cli also then press ctrl + c just immediately after login.

You could try moving the dot files under the users home directly and try, don't worry the dot files will be recreated once login has been established.
SR71
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 960T GA-880GM-USB3 AMD Radeon HD 7750 2GB DDR3 Series Hyundai Electronics  
RAMRAMHard DriveOptical Drive
Hyundai Electronics  Hyundai Electronics  WD 360 GB / 160 GB Sony 
CoolingOSMonitorKeyboard
Cooler Master Hyper TX3 (Push & Pull) Win 7 64 bit / Suse 12.1 64 Acer 20 " Led Wide Logitech 
PowerCaseMouseMouse Pad
VIP Gold 500w Cooler Master Elite 370 Logitech My Underwear 
Audio
Altec Lansing AVS300 / Altec Lansing BXR1121 
  hide details  
Reply
SR71
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 960T GA-880GM-USB3 AMD Radeon HD 7750 2GB DDR3 Series Hyundai Electronics  
RAMRAMHard DriveOptical Drive
Hyundai Electronics  Hyundai Electronics  WD 360 GB / 160 GB Sony 
CoolingOSMonitorKeyboard
Cooler Master Hyper TX3 (Push & Pull) Win 7 64 bit / Suse 12.1 64 Acer 20 " Led Wide Logitech 
PowerCaseMouseMouse Pad
VIP Gold 500w Cooler Master Elite 370 Logitech My Underwear 
Audio
Altec Lansing AVS300 / Altec Lansing BXR1121 
  hide details  
Reply
post #3 of 3
Thread Starter 
I got it sorted, in case anyone else gets this problem this is what I did..

When I logged in via the command line it couldn't find my home directory (on another partition) it gave me the error "No directory logging in with HOME=/". After looking at fstab I noticed it was using /dev/sda1 for home which is correct however all of the other system partitions were using UUIDs so I got the UUID of the home partition using the blkid command and replaced /dev/sda1 with the UUID like so..

home /dev/sda1 /home ext4 defaults 0 2

Changed to

UUID=7ba9f852-8449-466e-bab3-8f411b9b5aa5 /home ext4 defaults 0 2

Thanks for your help smile.gif
    
CPUMotherboardGraphicsGraphics
Q6600 @ 3.6ghz 1.432v Asus P5Q-Deluxe ΕVGΛ GTX580 XFX GTX260 
RAMHard DriveHard DriveHard Drive
8gb Corsair DDR2 DHX Vertex3 Max IOPS 120gb Western Digital 2TB Caviar Black Maxtor stm310003 
Optical DriveCoolingOSMonitor
LG Dual Layer Thermolab Baram Rev. 2 Backbox Linux 2 24" HP ZR24W 
MonitorMonitorPowerCase
LG (M1994D)  Advent (insert generic model name here) Thermaltake W0171 1500w Lian Li PCP80 
Mouse
Logitech G5 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Q6600 @ 3.6ghz 1.432v Asus P5Q-Deluxe ΕVGΛ GTX580 XFX GTX260 
RAMHard DriveHard DriveHard Drive
8gb Corsair DDR2 DHX Vertex3 Max IOPS 120gb Western Digital 2TB Caviar Black Maxtor stm310003 
Optical DriveCoolingOSMonitor
LG Dual Layer Thermolab Baram Rev. 2 Backbox Linux 2 24" HP ZR24W 
MonitorMonitorPowerCase
LG (M1994D)  Advent (insert generic model name here) Thermaltake W0171 1500w Lian Li PCP80 
Mouse
Logitech G5 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Logout after login [Solved]