Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Which X Window system is installed on my server that would work with Xming? Post 302963505 by ziggy25 on Thursday 31st of December 2015 03:07:43 PM
Old 12-31-2015
Which X Window system is installed on my server that would work with Xming?

I would like to use Xming to connect a server and managed to get it to work. I am now trying to get it to connect to a different server but i am not sure which X Window system is installed. I tried it through putty and i get the following error/warning:

Code:
/usr/java/jdk1.7.0_67/bin> jvisualvm
/usr/java/jdk1.7.0_67/lib/visualvm/platform/lib/nbexec: WARNING: environment variable DISPLAY is not set

I have previously used a windows BAT script to launch XWindows - Shown below:


Code:
    @echo off
    SET LOCAL_HOST=localhost
    SET PATH=C:\wresourcex\bin\Xming
    
    SET REMOTE_HOST=%1
    SET SCREEN=%2
    
    REM Default to archie with screen 1
    if "%1"=="" SET REMOTE_HOST=MySever.com
    if "%2"=="" SET SCREEN=0
    
    SET DISPLAY=%LOCAL_HOST%:%SCREEN%.0
    
    REM For XDM logon just run this line
    REM run Xming -query %REMOTE_HOST% -lesspointer -emulate3buttons
    
    REM For SSH Tunneling use these 2 lines
    rem run Xming :%SCREEN% -lesspointer -notrayicon -emulate3buttons
    run plink -ssh -X %REMOTE_HOST% /usr/dt/bin/Xsession
    
    REM Use this if want Gnome instead
    rem run plink -ssh -X %REMOTE_HOST% /usr/bin/gnome-session

The above works in one server but not on the one i am using now. 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?

Note - I do not have admin access on the server so cannot install anything.

Thanks
 

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(3X11)						     MIT X11R4						    XInstallColormap(3X11)

Name
       XInstallColormap, XUninstallColormap, XListInstalledColormaps - control colormaps

Syntax
       XInstallColormap(display, colormap)
	  Display *display;
	  Colormap colormap;

       XUninstallColormap(display, colormap)
	  Display *display;
	  Colormap colormap;

       Colormap *XListInstalledColormaps(display, w, num_return)
	  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 function installs the specified colormap for its associated screen.	All windows associated with this colormap immediately display with
       true colors.  You associated the windows with this colormap when you created them by calling or

       If the specified colormap is not already an installed colormap, the X server generates a event on each window that has that colormap.  In
       addition, for every other colormap that is installed as a result of a call to the X server generates a event on each window that has that
       colormap.

       can generate a error.

       The function removes the specified colormap from the required list for its screen.  As a result, the specified colormap might be unin-
       stalled, and the X server might implicitly install or uninstall additional colormaps.  Which colormaps get installed or uninstalled is
       server-dependent except that the required list must remain installed.

       If the specified colormap becomes uninstalled, the X server generates a 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 the X server generates a event on each window that has that
       colormap.

       can generate a error.

       The 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

       can generate a error.

Diagnostics
       A value for a Colormap argument does not name a defined Colormap.

       A value for a Window argument does not name a defined Window.

See Also
       XChangeWindowAtrributes(3X11), XCreateColormap(3X11), XCreateWindow(3X11), XFree(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															    XInstallColormap(3X11)
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy