Operating System - HP-UX
1833788 Members
2612 Online
110063 Solutions
New Discussion

Terminating the X -query CDE session

 
SOLVED
Go to solution
Kevin Lamb_2
Frequent Advisor

Terminating the X -query CDE session

Hi,

I have ran an X -query on my workstation with success; however, how do I get back to my original desktop.
I have tried al the various dropdown options from the CDE window with no avail.

Is there a clean way of doing this without the need to kill the process on the remote machine.

Kev

"I'd rather be flying"
I'd Rather be Flying!!!
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Terminating the X -query CDE session

Kev,

The desktop in CDE(which I've stopped using) are usually kept in the home directory of the user in a folder called .dtprofile
'
If for some reason that folder was wiped out or inaccessible at the end of your last CDE session this could explain the settings not being restored at next login.

Might want to check for the existance and permissions on the files in this folder.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alex Glennie
Honored Contributor
Solution

Re: Terminating the X -query CDE session

will terminate the local Xserver ie the one now running in query mode, forcing it to drop the remote dtwm session.

If you ran this from the command line X:0 -query etc it shouldn't restart,allowing normal X/CDE startup as per normal.

If you've automated this ammend changes prior to performing the above.


doubt .dtprofile will be being called at this stage since the user hasn't logged in ... I maybe wrong
fyi : /sbin/init.d/dtlogin.rc [stop/start/reset] may be needed.

?sbin/init 2 /sbin/init 3 would also bounce things.
Kevin Lamb_2
Frequent Advisor

Re: Terminating the X -query CDE session

Alex / Steve,

Thanks for the rapid response, just tried the Ctl Shift & Break and it worked a treat.

Kev

"I'd rather be flying"
I'd Rather be Flying!!!