Two questions here, further down, after the background:
I manage webservers on Sun, Solaris 2.6. I've never had to configure the .cshrc or .login for "users" outside of myself, and I use vi.
There are a couple of webdesigners who need to be able to su to root, but when they do that, they can't use the filemanager or the dtpad at the bottom of the CDE screen. I'm not worried about them using root -- they're scared to use it and have very few things they'll do before they exit out of it.
It's a regular 2.6 install, which of course includes CDE, and is fully patched, nothing really special.
They use tcsh, which reads the .cshrc in their home directory.
The current .cshrc contains these, that might make a difference:
setenv PATH /usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/GCC281/bin
setenv MOZILLA_HOME /usr/local/netscape
setenv LD_LIBRARY_PATH /usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/ucblib
umask 037
#
I change the display, and I've changed the editor, and I've tried xhost and I've tried Solstice!
1. setenv DISPLAY hostname:0.0 (works, same result with IP)
set EDITOR /usr/dt/bin/dtpad (works)
Try launching editor:
/usr/dt/bin/dtpad (error: Xlib: connection to "hostname:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: hostname:0.0
Try doing the xhost command:
/usropenwin/bin/xhost +hostname (error: same Xlib error as above)
Try the Solstice:
solstice (error: same Xlib error as above)
What am I missing here??? It's gotta be something simple because I can't find it documented anywhere -- but I've never had to configure servers for users to use.....
2. What command does the user use to launch filmanager or the dtpad once they have su'd to root??
THANKS!!!!
