Sponsored Content
Top Forums Shell Programming and Scripting How to force Xmanager to execute .profile? Post 302397409 by islam.said on Monday 22nd of February 2010 05:53:16 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
learn(1)						      General Commands Manual							  learn(1)

NAME
learn - Provides computer-aided instruction for the C shell SYNOPSIS
learn [-directory] [subject] [lesson] The learn command provides computer-aided instruction courses and practice in the use of Tru64 UNIX. OPTIONS
Allows you to exercise a script in a nonstandard place. DESCRIPTION
To get started, enter learn; if this is the first time that you are invoking the learn command, you are guided through a series of ques- tions to determine what type of instruction you want to receive. If you have used learn before and left your last session without completing a subject, the program uses information in $HOME/.learnrc to start you up in the same place you left off. To bypass questions, enter a subject or lesson. In order to enter a lesson, you must know the lesson number that you received in a previ- ous learn command session. If you do not know the lesson number, enter the lesson number as a subject. The learn command searches for the first lesson containing the subject you specified. If the lesson is a - (dash), learn prompts for each lesson; this is useful for debug- ging. You can specify the following subjects: files editor vi morefiles macros eqn C SUBCOMMANDS
There are a few special commands. The bye command terminates a learn session, and the where command tells you of your progress (where m tells you more.) The again command redisplays the text of the lesson and again lesson lets you review lesson. The hint command prints the last part of the lesson script used to evaluate a response, while hint m prints the entire lesson script. This is useful for debugging lessons and might possibly give you an idea about what is expected. EXAMPLES
To take the online lesson about files, enter: learn files You are then prompted for further input. FILES
Playpen directories. Start-up information. SEE ALSO
Commands: csh(1), ex(1) learn(1)
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy