Sponsored Content
Operating Systems AIX Console redirect to xmanager in AIX ? Post 302744895 by MichaelFelt on Saturday 15th of December 2012 03:25:47 PM
Old 12-15-2012
It has been a LONG time since I used X11 for anything other than the occasional program that must install.

If I recall, xhost is for when your session is the server (not the client!) and you want/need something to connect to your screen. So, generally, you will need xhost on your PC/linux system, not on the AIX machine that is acting as an X11 client.

So, if you do mean you want the window to open on a local AIX X11 server session - if it is your login session, running xhost + in your .profile should be enough.

From man xhost:
Code:
Syntax

       xhost [ + | - ] [ Name ]

Description

       The xhost command adds or deletes host names on the list of machines
       from which the X Server accepts connections.

re: rootvg.net etc, yes, the same. But that does not mean much here. Here is I just a person answering questions.
"unix.com" is probably a better forum these days - more people answering questions - and more questions per day. So, I'll try to give love to both.

I'd say more, but someone might think I am trying to steer traffic elsewhere (and not even to rootvg...).
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AIX Console screens

How do you switch screens in AIX? I know you can use ALT-F1, ALT-F3, etc. in SCO Unix. Help!!! (2 Replies)
Discussion started by: falstaff100
2 Replies

2. AIX

Unable to connect to AIX server through xmanager

Hi, I have xmanager installed on my windows PC. But I am not able to connect to AIX server. It's giving the error as follows: The X11 forwarding request was rejected. Graphics mode is not coming up in AIX server. Please help as I have to install oracle patchset urgently. (1 Reply)
Discussion started by: dwiravi
1 Replies

3. Shell Programming and Scripting

console redirect of progress bar

I'm trying to write a python wrapper around wget to show the progress bar on a gui application. Wget gives you a progress bar on command line, but how would I pipe that to some "tty" that's really just a variable I read, or am I going about it all wrong? When I try to just redirect the output to a... (1 Reply)
Discussion started by: unclecameron
1 Replies

4. Solaris

console redirect on dl365

anyone have any success with redirecting the console running sol10 x86 on a hp dl365? (0 Replies)
Discussion started by: pupp
0 Replies

5. AIX

177 port is up but xmanager is not working in AIX 6.1

Dear Friends, Recently we have to use AIX 6.1 IBM unix server . Here the 177 port is up and also inetd service is up . But we cannot access to the server using X-manager software . server's output : bash-3.00# netstat -nat | grep 177 udp4 0 0 *.177 *.* We have another server AIX-5.3 .... (0 Replies)
Discussion started by: shipon_97
0 Replies

6. Shell Programming and Scripting

How to redirect the output to multiple files without putting on console

How to redirect the output to multiple files without putting on console I tried tee but it writes to STDOUT , which I do not want. Test.sh ------------------ #!/bin/ksh echo "Hello " tee -a file1 file2 ---------------------------- $>./Test.sh $> Expected output: -------------------... (2 Replies)
Discussion started by: prashant43
2 Replies

7. Solaris

Command to redirect console to my tty?

Is there a utility built into Solaris that will allow me to see console messages from a tty? I've done a search and see that this is possible through software like ILOM, but I'm looking for a method to do this with built in utilities. For example, on AIX, I can use swcons `tty` (6 Replies)
Discussion started by: makodarear
6 Replies

8. Shell Programming and Scripting

How to redirect the output of a cvs command to a file as well as the console.

Hi can anyone tell me how to redirect the ouput of a cvs command to a file as well as the console? i tried using cvs add <filename> | tee logFile cvs add <filename> 2>logFile 2>&1 All i could get is only on console or on file. Please help Thanks (2 Replies)
Discussion started by: ankitag2010
2 Replies

9. Shell Programming and Scripting

Redirect an output from a script to a file and display it at a console simultaneously

Hi, I'd like to redirect the STDOUT output from my script to a file and simultaneously display it at a console. I've tried this command: myscript.sh | tail -f However, it doesn't end after the script finishes running I've also tried this: myscript.sh | tee ~/results.txt But it writes... (3 Replies)
Discussion started by: wenclu
3 Replies

10. Shell Programming and Scripting

How to redirect the messages from the script to console in Linux?

msg.sh #!/bin/bash if then echo "starting service" else echo " service not started" echo " Please check the start.sh file or manuly start the service" fi if i login with root credentials @12.36.34.123 with passwd username:root passwd:abc once i login into linux pc... (6 Replies)
Discussion started by: saku
6 Replies
smcwebserver(1M)                                          System Administration Commands                                          smcwebserver(1M)

NAME
smcwebserver - manage the server for the Sun Web Console SYNOPSIS
/usr/sbin/smcwebserver subcommand options DESCRIPTION
The smcwebserver utility manages the Sun Web Console server. Sun Web Console is a browser-based interface that performs systems management. System administrators can manage systems, devices and services from the console. When the console webserver is running, you can view the console by opening a browser and pointing to: https://host:6789 host is the machine where the console has been installed and the console server is running. SUBCOMMANDS
The following subcommands are supported: disable Disable automatic start or stop during system boot or shutdown. Until the administrator reruns the script with the smcweb- server enable subcommand the webserver can be started/stopped only when the administrator executes the script manually using the following command: # /usr/sbin/smcwebserver [start | stop] enable Enable the webserver to startup automatically during subsequent system boot and gracefully stop during system shutdown. restart Stop and subsequently start the console webserver. The format of the restart subcommand is: restart [-U username] start Start the console webserver. The format of the start subcommand is: start [-U username] stop Stop the console webserver. status Display status of the console webserver. The format of the status subcommand is: status [-p] OPTIONS
The following options are supported: -U username | --username usernamThe user identity to run the server as. Once the server has successfuly started under the specified iden- tity, all subsequent starts will automatically be done under that identity until you change it via this option, or by changing the com.sun.web.console.user configuration property via the smreg(1M) command. The default is to run the server under the "noaccess" identity. -p | --parseable Display non-localized output suitable for programmatic parsing. If the server is running, the output will be: running=yes If the server is not running, the output will be: running=no -h | --help | -? Display the usage statement. -V | --version Display console version information. EXAMPLES
Example 1: Displaying the Usage Statement The following command displays the smcwebserver usage statement: % smcwebserver --help Example 2: Determining if the Server is Running The following shell command will start the server if it is not already running. ans=`smcwebserver -p | grep running | cut -d"=" -f2` if [ "$ans" = "no" ]; then smcwebserver start fi ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of smcwebserver: JAVA_HOME If you do not specify this environment variable, your PATH is searched for a suitable java. Otherwise, depending on the OS, the follow- ing default locations are used: Solaris: /usr/j2se Linux: /usr/java/j2sdk1.4* EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmcon | +-----------------------------+-----------------------------+ SEE ALSO
smreg(1M), attributes(5), environ(5) SunOS 5.10 27 May 2004 smcwebserver(1M)
All times are GMT -4. The time now is 12:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy