LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   New user cannot login graphically? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/new-user-cannot-login-graphically-544321/)

Lordandmaker 04-08-2007 12:53 PM

New user cannot login graphically?
 
I've just installed Solaris10 off the DVD i downloaded from them some time ago, but I cannot log into the GUI as any user other than root.

I've said (to bash):
Code:

useradd -d /export/home/avi -m -c "avi" -s /bin/bash avi
And i can now do console sessions as avi, but if I try to login graphically, it looks like it's loading a session, then reverts back to the login screen, silently.

What've I missed?

jlliagre 04-08-2007 02:42 PM

Can you log in when choosing CDE as graphic environment ?

If yes, that may be a gnome issue. Try removing temporary directories having the user's name in them located in /var/tmp, like mapping-user, orbit-user, virtual-user.*

Lordandmaker 04-09-2007 03:27 AM

No, cannot login to CDE, either.

It does put on a more convincing show, though. I get the 'loading CDE' screen for a while (quite a long while) before it reverts back to the login screen.

jlliagre 04-09-2007 09:21 AM

Okay, here are directions to explore:

- Anything interesting in the X server log file /var/log/Xorg.0.log (or /var/log/Xsun.0.log) ?

- Is there a file or directory owned by root in the user's home directory ?
Code:

find ~avi -user root
- Disk full situation ?

- Broken permissions in /tmp or /var/tmp (should be drwxrwxrwt) ?
Code:

ls -ld /tmp /var/tmp
- Broken customization in /etc/profile, ~/.bash_profile, ~/.bash_login ?

Lordandmaker 04-09-2007 04:25 PM

jlliagre, as I read your post I worked out what was wrong. In an effort to make it work, i'd created /exports/home/avi, but forgotten to chown it to me.

Whoop! Works now! Cheers!


All times are GMT -5. The time now is 02:05 AM.