automating CDE X applications from boot


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users automating CDE X applications from boot
# 1  
Old 06-25-2003
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  
Old 06-26-2003
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  
Old 06-26-2003
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  
Old 06-26-2003
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  
Old 06-26-2003
not sure if that helps.....
# 6  
Old 06-27-2003
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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Automating old Boot Environment Cleanup Solaris 11

I'm trying to automate the patching process using scripts and cronjobs in Solaris 11. one of the things I'd like to do is cleanup the old boot environments. unfortunately beadm destroy requires a response :~$ pfexec beadm destroy -f solaris-13 Are you sure you want to destroy... (3 Replies)
Discussion started by: os2mac
3 Replies

2. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

3. Solaris

Connect to SunOS CDE from another CDE

I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network. However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix. My plan is to connect to CD#1 and then somehow connect to CDE#2. How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies

4. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

5. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

6. SCO

stage 1 boot failure: error loading hd (40)/boot

hi SCO Unix 5.0.6 doesn't boot due to this problem: not a directory boot not found cannot open stage 1 boot failure: error loading hd (40)/boot Knows someone howto solve it? (16 Replies)
Discussion started by: ccc
16 Replies

7. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

8. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

9. UNIX for Dummies Questions & Answers

automating CDE X applications from boot

How do I do it? I am trying to automate an application that requires an X window from boot. help!!! (1 Reply)
Discussion started by: pkruse
1 Replies
Login or Register to Ask a Question