Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]<username> session ended in less than 10sec
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
huh_dude
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 166
Location: Melbourne, Australia

PostPosted: Mon Sep 12, 2005 10:20 am    Post subject: [solved]<username> session ended in less than 10sec Reply with quote

Can't log in my user, tho I have a hazy idea why I have less than a clue how to fix it.

Been getting the error:

Code:
"$HOME/.dmrc file has incorrect permissions and is being ignored. This prevents the default session and language from being saved. The file should be owned by user and have permissions 644"


I've tried #chmod 644 /home/<username> and #chown /home/<username> <user> the greeter login still isn't working. I simply don't know how to fix this. The user has all its groups and permissions, the trouble is that somehow my user may as well not exist until this $HOME/.dmrc file has been corrected.

This started soon after emerging a thing called xfce4. It seems I had half-way setup gdm remote login, a per-user profile configuration or greeter that setup Gnome's "users" was put in place by root. But without the vital addition of a target user as at that point the exercise was just an exercise. It didn't have any real effect. Then it was forgotten, and I continued logging into my user. Up until I emerged xfce4.

Nothing except root can succeed with gdm login, failsafe terminal fails. I have been unable to find this per-user terminal session thing again. There's only one user btw, me. I haven't used a linux gui environment, including Gnome, before. So tho I don't know what I am doing, I really do it very well ;p
_________________
teh last part was important, setflags bit in...
#include <milk>
#include <iomanip>
int main()
{
const float large_mug=pourPot;
cin>> coffee | large_mug;
cout<<"Coffee"=coffee;
}
#make Coffee ..was zero, the program wouldn't work.


Last edited by huh_dude on Wed Sep 14, 2005 12:14 am; edited 2 times in total
Back to top
View user's profile Send private message
minskpower
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2005
Posts: 94
Location: /dev/null

PostPosted: Mon Sep 12, 2005 12:16 pm    Post subject: Reply with quote

like error said, the file does not have the correct permission.
try chmodding the files, not just the directory.
Back to top
View user's profile Send private message
huh_dude
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 166
Location: Melbourne, Australia

PostPosted: Mon Sep 12, 2005 5:30 pm    Post subject: Reply with quote

I would if I knew where to find it. Perhaps that information would be helpful?
_________________
teh last part was important, setflags bit in...
#include <milk>
#include <iomanip>
int main()
{
const float large_mug=pourPot;
cin>> coffee | large_mug;
cout<<"Coffee"=coffee;
}
#make Coffee ..was zero, the program wouldn't work.
Back to top
View user's profile Send private message
huh_dude
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 166
Location: Melbourne, Australia

PostPosted: Mon Sep 12, 2005 9:20 pm    Post subject: Reply with quote

Some developments:

Logging in as root produces a message box "failed to load image ooo_wek.xpm" but continues to launch the gui.

The bootup after splash is showing a no file exists for "chroot/dhcp/etc/dhcp/dhcp.conf...". Never wrote any such path I guarantee, highly suspect line.

<username> gdm login attempt produces the following
Code:
~/.xsession-errors file: (showing significant lines only)
 
setup done, will execute: /usr/bin/ssh-agent :Permission Denied
gnome-session 19434 :libgnomevfs -WARNING** :Unable to create ~/.gnome2 directory :Permission denied

Could not create per-user gnome configuration directory ` /home/<user>/.gnome2/ ' :Permission Denied


Setting Desktop --> Users/Groups -option User ID [<my_username>] so ownership of /home/$user = user (via Properties). Had precisely no effect. Except root couldn't enter the window environment either. A short fiddle with the gdm login "Actions" managed to change the default login session back. Apparently there are configuration setups associated with the login identity, and my current default login session was different. There really isn't anything I did that explicitly told the system to alter root's defaults like this. As root user I changed group properties for my local user. Which is all I tampered with in the Desktop dropdown menu.

Them service apps, like xfce4, and vnc or shh, have a way of setting things. But I didn't know they'd get out of their beds to start work right when I looked at the gnome-session configs. As far as I know, xfce4-session and gnome-session should not write permissions over each other. The twainst ground is probably where I have unwittingly set xsession footings awry. From memory, I never emerged ssh. Well unless it was a dependency of xfce4 which I missed. Certainly not executed a #sh ssh or #ssh start or similar run command either.

There is no apparent path back to the original gnome-session settings. I tried a few ways to set ownership of my user's account. At the moment this effort appears to have changed the /root/.dmrc permissions for root. Since setting that to #chown <my_user>:users /root/.dmrc I have set it back to #chown <my_user>:root /root/.dmrc I am no expert in System Admin and have no idea if that's set properly.

Is there a way to set the home directory of root and of user? I have lost the relevant bit of information. In particular with respect to how ownership and file permissions effect this.
_________________
teh last part was important, setflags bit in...
#include <milk>
#include <iomanip>
int main()
{
const float large_mug=pourPot;
cin>> coffee | large_mug;
cout<<"Coffee"=coffee;
}
#make Coffee ..was zero, the program wouldn't work.
Back to top
View user's profile Send private message
huh_dude
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 166
Location: Melbourne, Australia

PostPosted: Wed Sep 14, 2005 12:19 am    Post subject: Reply with quote

Solved by moving home directory of user to /home/ rather than /home/$user from inside Desktop --> Admin -->User/Groups -->UserID -->Properties --> Home directory

So simple... :?
_________________
teh last part was important, setflags bit in...
#include <milk>
#include <iomanip>
int main()
{
const float large_mug=pourPot;
cin>> coffee | large_mug;
cout<<"Coffee"=coffee;
}
#make Coffee ..was zero, the program wouldn't work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum