Hello,
I've tried running several commands but am not getting the results I expect. Just to give you some background:
1) I'm running windows vista
2) I'm using Putty and have enabled X11 forwarding
3) I have also installed xming
4) I am using a free unix shell acount from devio.us
5) The steps that I follow are as follows:
Step 1: Run Putty with enabled X11 forwarding
Step 2: Run xming server (I see the X icon in the system tray)
Step 3: Run a particular command like the ones shown below
For example, I tried the following commands:
Also, I tried this command:
As you can see, in both situations a new window does not pop up with the result I expect to see. Does anybody know why this is happening?
Last edited by pludi; 07-16-2010 at 02:10 AM..
Reason: code tags, please...
radoulov,
I have already tried the command "echo "$DISPLAY"" and I get the following result:
typhoon1@wolfman $ echo "$DISPLAY"
typhoon1@wolfman $
It seems that the DISPLAY variable has not been set. Is there a way to set it to a particular value so that X11 forwarding does work or it much more complicated than this?
jonjgc,
I'ved tried reversing the steps like you said and it still doesn't work.
set the DISPLAY variable to the IP-address of your windows-box.
In ksh:
Btw, unless you got a premium account wolfman will kill your background-processes (those started with & in the end), as their usage policy tells you.
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Basically I want to shorten URLs on my html pasting site (pasteht.ml), by using "/~a1Pha" instead of "/paste/a1Pha". The ID is 5 numbers and letters, both cases.
For example:
/~idnum serves /paste/idnum.htm
/=idnum serves /paste/idnum.htm
/paste/idnum redirects to /~idnum (to update any old... (0 Replies)
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank).
In a first approach I coded:
find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt
But this doesn't work. I got an error (under Ubuntu):
grep:... (5 Replies)
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
hello everybode.Got some sort of "problems" with this stuff;
well this is a program
int main()
{
int Pipe;
int origStdin, origStdout;
int childPID;
origStdin = dup(0);
origStdout = dup(1);
pipe(Pipe);
if( (childPID = fork()) < 0 )
{
perror(... (2 Replies)
Hi All,
I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)