Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Which X Window system is installed on my server that would work with Xming? Post 302963543 by jlliagre on Saturday 2nd of January 2016 12:16:53 AM
Old 01-02-2016
Quote:
Originally Posted by ziggy25
I have looked at both the /usr/dt/bin/ and /usr/bin folders and both program (referred to in the script) do not exist in those locations. I am guessing that i need to use a different program but how do i know which "Xwindow" program is installed on the server i want to connect to or does it matter?
Yes, it does matter a lot. Your X server might only listen to localhost so setting the DISPLAY variable on the remote host won't work.

What you might try is to locate an X terminal emulator on the server that fails (eg. xterm) and launch it instead of a full desktop in the .bat file:

Code:
run plink -ssh -X %REMOTE_HOST% /usr/bin/xterm

or even run directly the application you look for:

Code:
run plink -ssh -X %REMOTE_HOST% /usr/java/jdk1.7.0_67/bin/jvisualvm


Last edited by jlliagre; 01-03-2016 at 04:04 AM.. Reason: typo
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

window 2000 professional not pinging my window 98 system.

Hello, We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies

2. HP-UX

how to start the x window system

hi, am new to hp-ux, i just bought an hp-ux with the hp-ux 11.0 os, is very old, and i wnat to start the x window system but it send an error that said that couldn't open the x server, i try startx, xinit, and nothing, and also where i can find tutorials for hp-ux os for beginners (7 Replies)
Discussion started by: nobody
7 Replies

3. Shell Programming and Scripting

Which version of perl is installed on my system?

Hi, With the command perl -v i can see the perl version, but it's like a text file.. is there a command which could give me just the perl version number? i.e.: "5.8.1" thanks!! (6 Replies)
Discussion started by: kfad
6 Replies

4. Solaris

How to mount a Files System where RHEL is installed on a Sun server Machine..

Hi Everyone, I have a machine where RHEL(Red Hat Enterprise Linux) is installed and few of our products are saved on the same. Our products work only on sparc 6 + and i want to basically asve the products on the machine which has RHEL installed on it and mount the drive on the sun server and... (2 Replies)
Discussion started by: sankasu
2 Replies

5. UNIX for Dummies Questions & Answers

What would take the Place of X Window System if X was not installed?

If X was not installed, what would print data onto the display? Does it include applications form Gpl/Gnu or is it a daemon only? Thanks in advance!:wall: (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

6. UNIX for Dummies Questions & Answers

X Window system - concept

Hi, I am lost in between of some concepts, googling too much made me like this! honestly... please correct my statements below and if they are correct just mention "correct" or also add extra info please: 1. "X Window System" provides basic access to GUI on unix/linux systems This... (3 Replies)
Discussion started by: messi777
3 Replies

7. Red Hat

Xming Vs ssh connect to RHEL server from Windows machine

I am able to connect a RHEL server from my Windows machine using Putty (via ssh). My question is what is the advantage of using Xming instead of Putty? Is it that Xming would enable a graphical connect from the Windows machine to RHEL server? I hope my question is clear that what is the... (9 Replies)
Discussion started by: RHCE
9 Replies

8. Shell Programming and Scripting

My script doesn't work in the terminal window!

I am inexperienced with scripting and it continues to baffles me speechless I wrote a script so that it counts the number of subset of files (with different prefix) in all subdirectories under the current directory so that find ./ -type d -maxdepth 1 -mindepth 1 > list_of_dir.txtfind all... (23 Replies)
Discussion started by: piynik
23 Replies

9. AIX

How to X-window to work on AIX 5.3?

Hey all. My h50 is up, but now i need some guidance. How to i get X11 (X-Windows0 working on the system, so i can use the H50 via my main pc? is that makes sense. The X11 system is installed, but i am lost as how to get it working Can anyone please help? (2 Replies)
Discussion started by: ADS2459
2 Replies

10. Homework & Coursework Questions

Configure the AD Window server with Linux server(google Authenticator is installed)

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (2 Replies)
Discussion started by: manjusharma128
2 Replies
XInstallColormap(3)						  XLIB FUNCTIONS					       XInstallColormap(3)

NAME
XInstallColormap, XUninstallColormap, XListInstalledColormaps - control colormaps SYNTAX
int XInstallColormap(Display *display, Colormap colormap); int XUninstallColormap(Display *display, Colormap colormap); Colormap *XListInstalledColormaps(Display *display, Window w, int *num_return); ARGUMENTS
colormap Specifies the colormap. display Specifies the connection to the X server. num_return Returns the number of currently installed colormaps. w Specifies the window that determines the screen. DESCRIPTION
The XInstallColormap function installs the specified colormap for its associated screen. All windows associated with this colormap immedi- ately display with true colors. You associated the windows with this colormap when you created them by calling XCreateWindow, XCreateSim- pleWindow, XChangeWindowAttributes, or XSetWindowColormap. If the specified colormap is not already an installed colormap, the X server generates a ColormapNotify event on each window that has that colormap. In addition, for every other colormap that is installed as a result of a call to XInstallColormap, the X server generates a Col- ormapNotify event on each window that has that colormap. XInstallColormap can generate a BadColor error. The XUninstallColormap function removes the specified colormap from the required list for its screen. As a result, the specified colormap might be uninstalled, and the X server might implicitly install or uninstall additional colormaps. Which colormaps get installed or unin- stalled is server dependent except that the required list must remain installed. If the specified colormap becomes uninstalled, the X server generates a ColormapNotify event on each window that has that colormap. In addition, for every other colormap that is installed or uninstalled as a result of a call to XUninstallColormap, the X server generates a ColormapNotify event on each window that has that colormap. XUninstallColormap can generate a BadColor error. The XListInstalledColormaps function returns a list of the currently installed colormaps for the screen of the specified window. The order of the colormaps in the list is not significant and is no explicit indication of the required list. When the allocated list is no longer needed, free it by using XFree. XListInstalledColormaps can generate a BadWindow error. DIAGNOSTICS
BadColor A value for a Colormap argument does not name a defined Colormap. BadWindow A value for a Window argument does not name a defined Window. SEE ALSO
XChangeWindowAttributes(3), XCreateColormap(3), XCreateWindow(3), XFree(3) Xlib - C Language X Interface X Version 11 libX11 1.3.2 XInstallColormap(3)
All times are GMT -4. The time now is 01:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy