Canīt get a remote desktop login through CDE


 
Thread Tools Search this Thread
Operating Systems HP-UX Canīt get a remote desktop login through CDE
# 1  
Old 11-06-2012
Canīt get a remote desktop login through CDE

Hi all,

I canīt get a remote desktop login through CDE only with root user.
There are messages in the Xerror file:
/usr/bin/X11/xset: bad font path element (#0), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
X connection to 110.10.1.9:0.0 broken (explicit kill or server shutdown).

It seems a font problem, however, if I try to login with other user it can get a remote desktop without troubles.

I restarted the dtlogin.rc and dtconfig services, even I renamed the .dt directory, but the application didnīt create a new .dt

Should I configure another file?

My OS is HP-UX B.11.31 U ia64

Thanks in advanced.

DASM
# 2  
Old 11-07-2012
It sounds like root's home '/' lacks the X resource files that other users have.
# 3  
Old 11-07-2012
Hi DGPickett,

Thatīs true.
I compared the files in the root home with other users and there are missing three files:
.ICEauthority
.TTauthority
.Xauthority

I created them but it didnīt work.
Maybe if I modify or copy some files it could be work.
But what files could be?

Any suggestions?

Regards.

DASM
# 4  
Old 11-12-2012
Permissions are very important. This bit I googled up shows how to defeat the very sensible automatic default restriction against remote root login:

XDMCP
This User Gave Thanks to DGPickett For This Post:
# 5  
Old 11-13-2012
Some admins ( I am one of them...) do not allow root via xdmcp, the reason is:
What is the point of securing a box - Not allowing root connection except console if you can connect via XDMCP?
I suppose there are many ways to succeed in restricting the access, I forgot how I did (years ago...) and became more tolerant when I found out I was one of the very few knowing how to use XDMCP ( disabling CDE on servers I would not XDMCP was far easier...)
That said, It can be painkilling to find out why CDE refuses its services...( I spent days some times...) so my advise would be to see if you have it and if yes:
use /usr/contrib/bin/X11/dr_dt

At the end of the output from this script a summary will appear:
Code:
         Dr_dt finished with:

         [num] ERROR messages
         [num] WARNING messages

The ERROR and WARNING messages must be resolved before CDE will run properly.

What do you have in:
Code:
$HOME/.dt/errorlog
$HOME/.dt/startlog

The second is interesting for you should try to compare the content with one of a user which has CDE working...

Do you have a /etc/dt/config/Xaccess file?
# 6  
Old 11-15-2012
Best Practices of people you might trust with root in production are to stay out of root as much as possible (familiarity breeds contempt and disaster, like "rm -rf *" in the wrong window). Think "su - root -c 'something-I-need-to-do'". If you need to do it again, it is in your shell history.

Good security practices say you record who goes into root on every virtual host every time. A log of what they do can be nice, too.

If these practices get in your way, consider making admin IDs to do some of the things you do as root, perhaps using group permissions as they were intended. There are already too many various tasks under root. I recently found periodic new root-owned zero-length core dump files on a prod system's SAN mounts -- which app is crashing on which machine?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Triggering remote UNIX shell script from Remote desktop

I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like ssh hostname path ksh HC_Report.ksh>out.html ...but it generates the HTML file in remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies

2. AIX

Display Issues on Common Desktop Enviroment CDE

I configured CDE on AIX server and lauched CDE from desktop using reflection 14.1. I can lauch xclock with my own id but when i Su to any other id and try xclock it is giving the follwoing error X connection to localhost:10.0 broken ( explicit kill or server shutdown). Please elp on this... (1 Reply)
Discussion started by: firestar
1 Replies

3. AIX

Can't login on CDE AIX 4.2

Hi, can somebody please, please help me? After a power loss and server restart my server running AIX 4.2.2 could not boot. Following the procedure in my user guide I checked the hd's with # fsck -y /dev/hd1 # fsck -y /dev/hd2 # fsck -y /dev/hd3 # fsck -y /dev/hd4 # fsck -y /dev/hd9var I... (0 Replies)
Discussion started by: semso
0 Replies

4. Solaris

How do I switch from CDE to Java Desktop in Solaris 10?

I am a newbie to Solaris/UNIX. I just installed Solaris 10 and accidentally chose CDE as my desktop instead of Java. How can I set Java Desktop as my desktop? Because before i installed my mechine is using java and more beauty from CDE.. (2 Replies)
Discussion started by: moslemovic
2 Replies

5. Solaris

Not able to login through JDS but able to login through CDE

Dear All I am in a strange situation where I have install the Solaris 10 5/08 OS on Netra 1280 server. When I connect it through my laptop so that I can take the GUI from xmanager. When I try to login as root or any other users also through Java Destop Environment which accepted it after few... (3 Replies)
Discussion started by: girish.batra
3 Replies

6. UNIX for Advanced & Expert Users

CDE Login Banner

I'm having problem with the CDE pre login banner. I configured the c/usr/dt/config/C/Xresources file to add my warning message: Dtlogin*greeting.labelString: My Banner I then modified the Dtlogin*greeting*fontList to display the message in smaller text. This did not work. ... (1 Reply)
Discussion started by: equismorio
1 Replies

7. Solaris

CDE Remote Login is not Working !!!

Hi , I have SunBlade 150 Workstation (Solaris 9), I installed the OS again then when I try to login to any server using ( Options > Remote Login > Enter Host Name) after I entered any host name nothing happened just white page for 2 or 3 mintues then the login screen reseted to the local... (4 Replies)
Discussion started by: adel8483
4 Replies

8. HP-UX

CDE remote login option (dtchooser)

Hello, how can I get a "remote login" option in the CDE login screen? My Solaris box offers that by default. I already found that this might be done by dtchooser, so I copied the /usr/dt/config/Xaccess to /etc/dt/config/Xaccess and uncommented the line * CHOOSER BROADCAST - but still no... (1 Reply)
Discussion started by: Ebbi
1 Replies

9. HP-UX

remote CDE

Is there a way to connect to CDE remotely? Preferably using 'VNC'. I'd like to do this! (4 Replies)
Discussion started by: satinet
4 Replies

10. UNIX for Dummies Questions & Answers

Remote control of cde desktop>?

Does anyone know if there is software out there top allow me to take remote control of a remote CDE desktop like using MS netmeeting? I do not mean mimick the window I mean take over/share the same session. Any help is appreciated (1 Reply)
Discussion started by: boat73
1 Replies
Login or Register to Ask a Question