03-16-2009
Re: How to start CDE for non root user on Solaris 10
CDE will not start unless your user has a home directory so if your user is to have a local home directory make it as follows:
# mkdir /export/home/<username>
# chown <username> /export/home/<username>
Then ensure that the user's passwd entry points to /export/home/<username> for their home directory.
Then test it by doing:
# su - <username>
$ pwd
Ensure the directory response is now the user's home directory.
CDE is also particular about being able to resolve the machine's hostname so make sure /etc/hosts is a link to /etc/inet/hosts, that /etc/inet/hosts is chmodded to 644 and contains a line that gives the hostname and its IP address. Confirm that the hostname in /etc/nodename matches the hostname in /etc/inet/hosts and if you are running Solaris 10 ensure that /etc/inet/ipnodes is a link to /etc/inet/hosts (why did Sun introduce yet another "hosts" file called ipnodes?)
HTH.
Tony Fuller
10 More Discussions You Might Find Interesting
1. HP-UX
Hi All,
I m facing a problem that, i m not able to login as root user on cde on hp-ux 11.00, i can login as root on commond line as well as telnet. Thanks in Advance for help.
Regards,
Awadhesh (1 Reply)
Discussion started by: Awadhesh
1 Replies
2. HP-UX
Hi All,
I m facing a problem that, i m not able to login as root user on cde on hp-ux 11.00, i can login as root on commond line as well as telnet. Thanks in Advance for help.
Regards,
Awadhesh (2 Replies)
Discussion started by: Awadhesh
2 Replies
3. AIX
Hello.
I want to know how to start CDE on AIX, to export the console under reflection.
What commands are necesary to run on AIX to start CDE and after start It export the console using Reflection X.
Someboy know how to do that.
Regards (1 Reply)
Discussion started by: hmoday
1 Replies
4. Solaris
Hi I have a doubt, here if a file does not have the write permissions to the root user my script is going to write the data into that file. when i executed the script as root user. Is it correct ... ? (4 Replies)
Discussion started by: Shreedhar Naik
4 Replies
5. HP-UX
Dear Forum,
I had this problem initially with HPUX 11.23, all users including root could not login via CDE or telnet. Then after some workarounds, it resolved by resetting root password via console login. After enabling back all users to login normally (via CDE or telnet), only root can not... (4 Replies)
Discussion started by: irda
4 Replies
6. Solaris
Please let me know how to setup a non-root user to be able to access a privileged port (<1024) on Solaris 8. I am currently running tomcat as "tomcat" user and I get the following error during to start up:
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies
7. HP-UX
how can i start sam in TUI mode from a CDE session.
i'm using hp-ux 11iv3
i tried to start SAM from a terminal from CDE session but each time i try to start it System Managment Homepage starts , so i telneted to server from a pc to start sam in TUI mode is there any other way to set my SAM to... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies
8. UNIX Desktop Questions & Answers
Hello,
Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX?
Just the config (actions, text files etc).
Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies
9. Solaris
I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error.
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
Tried following things already.
1. SFTP works ok, still would like to know why FTP is not working (curious).
2.... (5 Replies)
Discussion started by: webkid
5 Replies
10. Solaris
Welcome to all.
Have an issue and looking for help so hope someone is able to give me some clues.
I prepared some shell scripts with coloured output to help other guys to have more automated task. Not sure if I did this but now whenever I use 'ls' command for root user every output in... (29 Replies)
Discussion started by: TiedCone
29 Replies
LEARN ABOUT HPUX
dtwsmsetworkspacetitle
DtWsmSetWorkspaceTitle(API) DtWsmSetWorkspaceTitle(API)
NAME
DtWsmSetWorkspaceTitle -- set workspace title
SYNOPSIS
#include <Dt/Wsm.h>
int DtWsmSetWorkspaceTitle(
Widget widget,
Atom workspace,
char *title);
DESCRIPTION
The DtWsmSetWorkspaceTitle() function works with the CDE workspace manager, dtwm(1), and changes a specific workspace's title. Applications
can use this function to implement an interface to the workspace manager.
If the DtWsmSetWorkspaceTitle() function is not successful, the most likely reason for failure is that the CDE workspace manager, dtwm(1),
is not running. The DtWsmSetWorkspaceTitle() function requires a widget. A gadget (or unrealized widget) is not acceptable for the widget
argument.
DtWsmSetWorkspaceTitle() sends a message to the CDE workspace manager, dtwm(1), to set the title. If the workspace name is not valid, no
action is taken and the workspace manager reports no error.
ARGUMENTS
widget A realized widget on the screen of interest
workspace The name of the workspace (in X atom form) where the title should be set
title The new title
RETURN VALUE
The function returns Success (0) when it succeeds, and non-zero upon failure. Note that these are not the same values that _DtWsmSet-
WorkspaceTitle returns.
SEE ALSO
DtWsm(5)
"Communicating with the Workspace Manager" section in the CDE Programmer's Guide
"Workspace Manager" section in the CDE Programmer's Overview
DtWsmSetWorkspaceTitle(API)