How to force Xmanager to execute .profile?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to force Xmanager to execute .profile?
# 8  
Old 02-22-2010
not working Smilie

---------- Post updated at 05:53 AM ---------- Previous update was at 04:27 AM ----------

finally my script run after i added it to .dtprofile but i faced another problem.
in fact my script echo a msg and wait for the user to enter a specific file name as a parameter if this parameter is not entered correctly the script will kill the session.
it's working fine with telnet from .profile but xmanager don't show the echo msg and don't wait for the user to enter the right parameter and then kill the session
any help with this complicated issue ????
thank you all for ur time and help
# 9  
Old 02-23-2010
You will need to launch a terminal window to ask the question in, e.g.:
Code:
dtterm -e /patch/to/script_that_asks_question

# 10  
Old 02-24-2010
where shell i add this line , in the .profile or in the .dtprofile ???
# 11  
Old 02-24-2010
Try each in turn and see which is best?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Xmanager 4 not able to connect to Solaris11

I am trying to connect via Xmanager 4 to a T4-2 server running Solaris 11. I checked the /etc/gdm.custom.conf file. The error I get is The MAC (Message Authentication Code) of packet is incorrect When I start the Xmanager on soalris I get a message /dev/fb (file or directory) does not... (2 Replies)
Discussion started by: Maqsood Mohamme
2 Replies

2. Solaris

How to execute a ".profile" depending on the server from where the user is connected.

Hello, I have two Solaris servers on a cluster. I have created the same user "X"on the two nodes (same UID and same GID). The file ".profile" of this user "X" is located in a filesystem that is seen by the two nodes. Each server should have a ".profile" of this user different of the other... (6 Replies)
Discussion started by: adilyos
6 Replies

3. Shell Programming and Scripting

problem in creating execute profile file in unix

first i created a profile file(my_var.profile) which contains export my_var=20 after that i created shell scripts(my_var.sh) which contains #!/bin/bash . ./my_var.profile echo '$my_var='$my_var but when i am executing sh my_var.sh it is showing error that no such file/directory .profile.... (6 Replies)
Discussion started by: pratikjain998
6 Replies

4. HP-UX

[Solved] Xmanager on HP-UX

Hello all, please can you help me to configure XManager XDMCP connection so i can connect to my HP-UX OS. Regards, (6 Replies)
Discussion started by: beayni33
6 Replies

5. Linux

xmanager

For remote console logging purpose we use X-manager for Solaris environment. How X-manager config for Linux systems. I want to get Linux desktop to remote pc. that is not ssh or telnet. Please help me. (0 Replies)
Discussion started by: saga499
0 Replies

6. Linux

Xmanager

I am unable to view the GUI mode of the Fedora Linux machine through the Xmanager. I don't have issues in viewing my Solaris boxes. Please let me know if anything needs to be done about this? (3 Replies)
Discussion started by: chrisanto_2000
3 Replies

7. UNIX for Dummies Questions & Answers

not able to execute .profile /.kshrc

Hi, I m new to Solaris CDE...earlier i was using Windows. Here is my problem.. i know that whatever the initial settings we need to execute,we can place them in .profile file. in my home dir (/home/venki),i have following files for that. .profile .profile.user .kshrc .kshrc.user ... (2 Replies)
Discussion started by: Venky
2 Replies

8. UNIX for Dummies Questions & Answers

Xmanager UNIX HP_OpenView

***** I running Solaris 9 and Xmanager 2.0 ***** Hey guys, Newbie question... I'm trying to get HP OpenView's X Windows GUI to load on my WinXP machine. I know another guy at work is running Xmanager 1.3 (I have 2.0) and when he types ovw& on the server it loads the OpenView GUI on his... (4 Replies)
Discussion started by: kingdbag
4 Replies

9. Solaris

Xmanager

hi everybody want to access a SOLARIS system with an X Client ( or server ) ( Called Xmanager)...i think all xclients opearate the same way. Problem : i have the error Xdmcp connection failed when i launch it! help please! PS: all i have done is just giving Xmanager the IP of the... (4 Replies)
Discussion started by: hmaiida
4 Replies

10. UNIX for Dummies Questions & Answers

Xmanager

Hi All, I am a real newbie to this so forgive me if I ask anything which may sound silly. I have a SunFire V1120 installed with Solaris 8 on it. I have Xmanager loaded onto my pc and i want to use this to connect to this box. However Xmanager doesn't recognise the box, but I can telnet to it no... (1 Reply)
Discussion started by: joe27
1 Replies
Login or Register to Ask a Question