Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
X11 forwarding or DISPLAY
1) since you know about the DISPLAY variable, you can set it to point to "anything" that will X11 "serve"
2) I prefer using X11 forwarding together with ssh client.
The sshd_config needs to permit it AND you need to setup your ssh_client to request it. (I use a 10-year program as client, and I do not use putty, so maybe someone else can help you out with your client, should you need that).
* in sshd_config look for:
After login you should get something like this - different per session!
Note: as this is /dev/pts/1 the DISPLAY is pointing at localhost:11.0 (i.e. X11DisplayOffset+1)
Hope this helps!
This User Gave Thanks to MichaelFelt For This Post:
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
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:
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...).
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)
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)
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)
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)
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)
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)
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)
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)