Solaris / OpenSolarisThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I did what he suggested, but with normal user still I had same problem , but with root, I was able to login to JDS (CDE no problem) but I received rubbish or funny characters, therefore I had to login in CDE environment to restore default value for /etc/gconf/2/path
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Did you mean that I have first to login to the system as root and from the console I have to type in: su forum (username) ?
No, su is not login, although "su -" is closer.
Quote:
Or some thing else ?
Yes.
I was thinking of the console mode you can select from the CDE login chooser menu.
If for some reason you do not manage to find it, just use the login command:
I was thinking of the console mode you can select from the CDE login chooser menu.
I logged in first as root with CDE session, then I popped up the menu above the CPU/Disk "Performance Meter" icon, and select "Console" to open a terminal window (I think that you was asking).
I typed in : login forum, the output was:
((No utmpx entry. You must exec "login" from the lowest level "shell")).
The same error message was reapted for the user forum1 and user forum2.
But when I typed in: su forum,,,, there was no error message.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
As I already wrote, use "su - username" if you want to simulate a new user's login.
By "console mode", I mean the full text command line mode you can select from the session menu displayed in the login screen.
The login screen is the one you got after logging-out from your current session.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Yes I can login with normal user without any problem.
Okay, look then if no file in the normal user is not belonging to another one, presumabily root. Look too in hidden files.
For CDE, remove the ".dt" directory and try login in again.
For JDS, remove any file in /var/tmp with a name in the form "*-username", with username equal to the tested user login name.
Have you made changes in the /etc/profile or these user's ~/.profile ?
Quote:
By the way how can we switch to GUI again if we want ?
When you log out from command line, the gui is caming back alone after a short delay.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Is there any specific place for this directory (.dt) ? or I have to search for it?
This directory is obviously in the user's home directory, where would you want it to be ?
Quote:
I tried to use word "quit" , "exit",,,it did not log me out, do I need to use any squence of keyboard ?
Oh yes, to logout, nothing like unplugging the main ...
Well, not really, "exit" or "control-D" should work, is there an error message when you enter "exit" ?
This directory is obviously in the user's home directory, where would you want it to be ?
I logged in as username (forum) through "Command Line Session", and I did : cd /export/home/forum, then: ls -al,,,I could not find any .dt directory,,,,,is this what suppose I have to do?
Why did you do that ? you are already in forum home directory.
You are right, I do not why.
I tried again and I checked pwd,,,I found this: /home/forum,,,,it is not /home/export/forum,,,Does that mean something wrong ?
Another thing I have experienced recently (two days ago and just right now before posting this reply), when I logged in as root via CDE Environment,I received this message:
The DT messaging system could not be started
To correct the problem
1- Choose [OK] to return to the login screen
2- Select Failsafe Session from the login screen’s option menue and log in.
3- Check to see that the hostname is correct in these locations:
/etc/src.sh
/etc/hosts
/usr/adm/inetd.sec
4- Check to see any magic cookie related error message in these locations:
/var/adm/messages
$HOME/.edt/errorlog
Continue Cancel
but if I tried second time I can access without receiving this message
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.