- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to start CDE
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 10:36 PM
05-20-2007 10:36 PM
Sorry for stupid question, but I failed to find solution myself :)
How to start CDE from command line? I logged into server via ssh, set DISPLAY and run X-emulation software on my Windows PC, what command I must issue to start CDE Environment? Or point me a link about it to read.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 11:18 PM
05-20-2007 11:18 PM
SolutionAnd by the way, if you're using SSH, you should use SSH's X11 forwarding. It sets up DISPLAY and xauth keys automatically, so you don't need (and in fact *should not*) set DISPLAY manually.
The automatic value may look a little strange: the IP is either 127.0.0.1 or the server's own IP address, and the display number is :10.0 or the first free number above that. Nevertheless, it will work: the variable actually points to X11 encryption proxy which is automatically set up by sshd whenever X11 forwarding over SSH is requested. The proxy will encrypt the X11 traffic and relay it to your workstation's SSH client, which will pass it to the X emulation software.
The end result is that X window system will simply just work without setting DISPLAY or entering any xhost or xauth commands.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 11:27 PM
05-20-2007 11:27 PM
Re: How to start CDE
I use putty and exceed.nt - how can I use ssh X forwaring with this tools?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 07:02 AM
05-21-2007 07:02 AM
Re: How to start CDE
2.) start PuTTY. Before connecting, select the "X11" branch in the configuration "tree" and select "Enable X11 forwarding". Then return to "Session" branch, type in your host name or IP address and connect.
Or if you have a saved session, load it first, then enable SSH forwarding and connect.
3.) enter your password/passphrase as normal.
4.) When you get to Unix command prompt, type "xclock". It should appear on your workstation with no further configuration needed. (You can use any X program for this; xclock is just quick to start and unambiguous.)
5.) When you've confirmed that X forwarding works, run "export PATH=/usr/dt/bin:$PATH", then "dtsession".
Note: Whenever I need X-emulation on a Windows PC, I currently tend to use Reflection-X or the free Cygwin/X, but I seem to recall that Exceed has several modes you can use. One mode allows the X windows to exist among the native windows, and in the other mode all X windows are sub-windows of one big window (X desktop). For "dtsession", this latter mode might be better.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 08:25 AM
05-21-2007 08:25 AM
Re: How to start CDE
did you export the display to your pc
export DISPLAY=your ip:0.0
check this thread for more details
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964698
To start/stop/reset CDE, you must first su to root.
To start CDE (/usr/dt/bin/dtlogin):
# /sbin/init.d/dtlogin.rc start
To stop CDE (kill the dtlogin process):
# /sbin/init.d/dtlogin.rc stop
To Reset CDE (tell the dtlogin process to reread CDE config files to
incorporate any changes):
# /sbin/init.d/dtlogin.rc reset
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 05:36 PM
05-21-2007 05:36 PM
Re: How to start CDE
Xlib: connection to "x.x.x.x:10.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: x.x.x.x:10.0
Error: Couldn't find per display information
xhost +server_name fails with them same error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 06:15 PM
05-21-2007 06:15 PM
Re: How to start CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 11:36 PM
05-21-2007 11:36 PM
Re: How to start CDE
If xclock is working,
/usr/dt/bin/Xsession &
If still you have problems:
Uncomment the below line on /usr/dt/config/Xservers and may be /etc/dt/config/Xservers files
* Local local@console /usr/bin/X11/X :0
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 12:26 AM
05-22-2007 12:26 AM
Re: How to start CDE
When I start Xsession a screen appears with startup banner "Startin CDE...Copyrights.." and a window with title X Client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 10:14 PM
05-22-2007 10:14 PM
Re: How to start CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 10:22 PM
05-22-2007 10:22 PM