LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-08-2007, 12:53 PM   #1
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
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?
 
Old 04-08-2007, 02:42 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.*
 
Old 04-09-2007, 03:27 AM   #3
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Original Poster
Rep: Reputation: 39
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.
 
Old 04-09-2007, 09:21 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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 ?
 
Old 04-09-2007, 04:25 PM   #5
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Original Poster
Rep: Reputation: 39
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
Unable to shutdown graphically as average user ernesto_cgf SUSE / openSUSE 3 03-27-2006 06:17 AM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 06:30 AM
internet login graphically marisa Linux - Newbie 8 03-09-2004 03:49 PM
Graphically setup user permissions (frontend to chmod and chown) sfonvill Linux - Security 2 08-27-2003 03:12 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration