The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
solaris boot problem boot error loading interpreter(misc/krtld) johncy_j SUN Solaris 0 08-17-2005 09:15 AM
Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix) fredo UNIX for Advanced & Expert Users 2 05-05-2005 09:42 PM
Automating sendmail JimJim Shell Programming and Scripting 3 11-30-2004 06:31 AM
automating CDE X applications from boot pkruse UNIX for Dummies Questions & Answers 1 06-27-2003 06:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-25-2003
pkruse pkruse is offline
Registered User
  
 

Join Date: Jun 2003
Posts: 4
automating CDE X applications from boot

Ok, ...

I tried posting this in the beginner's forum, but maybe that wasnt the right place.

Does anyone know how to automate CDE X applications from boot? If I use the rc2 folder, the programs start in the background with no X window. I am stumped. any suggestions?
  #2 (permalink)  
Old 06-26-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
What exactly are you trying to start? What is the OS and version?
When do you start them? What normally starts up (CDE login screen?)?

I can't think of any application I would start up without having someone login - the only time I've seen (on Solaris to HP) something besides the dtlogin screen was when we had some very lazy folks who wanted their HP login screen to automatically come up on their Sun workstations. The /etc/rc2.d/S99dtlogin was changed to run a command to bring up the login from the HP server. I'll have to look to see if I can find the script (all those servers were decommissioned over a year ago) if that is what you are looking for.
  #3 (permalink)  
Old 06-26-2003
pkruse pkruse is offline
Registered User
  
 

Join Date: Jun 2003
Posts: 4
I am trying to start an application, but I want it to bring a X terminal window up when it starts, rather than start in the background.

I am using a variety of different OS's, including Sun, HP, and Irix.

I already have a way to bypass the login, but I need the applications to run in an X window, its just how it needs to be.

does that answer your questions? let me know. appreciate your help.
  #4 (permalink)  
Old 06-26-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
This was the only thing I could find - again, it was starting a process from a different system. You can test to see if it would work with your application.

Quote:
The workstations are vanilla builds, with one catch.

They run their display via XDMCP from Prism.

This gives them a desktop *from* prism, and they are unable to access the local system from the console.

The only recourse for access is via the network or a boot -s on console.

The session is started in /etc/rc2.d/S99dtlogin with the following delta...

/usr/dt/bin/dtlogin -daemon &
is changed to...
/usr/openwin/bin/Xsun -query prism &
  #5 (permalink)  
Old 06-26-2003
pkruse pkruse is offline
Registered User
  
 

Join Date: Jun 2003
Posts: 4
not sure if that helps.....
  #6 (permalink)  
Old 06-27-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
To run a Xwindow application, you have to have a X window manager running - if you don't it's not going to happen. You need to start reading the man pages on X11, xdm, Xsun (don't know what HP and IRIX use in that case).

You stated you "already have a way to bypass the login". If you are simply moving dtlogin startup then you won't have a window manager running so you can't start any X applications and have them show up.

Also take a look at some of the info on the net.

X Windows (SUN)

Someone else trying the 'same' thing
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0