LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install app remotely (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-app-remotely-4175475907/)

sushigaiden 09-04-2013 02:11 PM

Trying to install app remotely
 
Remote server runs RHEL 5.9
I'm on Windows xp laptop with Xming installed and using Putty to ssh to remote server. My session is setup with X11 Forwarding click and X display location "localhost:0.0" is in the box, Mit-Magic is checked. On the remote server I have setup X11 by install xorg-apps and xorg-util. I login and this is what I have:

"EXAMPLE"

[~]$ echo $DISPLAY
localhost:10.0
[~]$

I now go to root(this is how the environment is setup so don't blame me please):

"EXAMPLE"

[user@ ~]$ sudo su -
[sudo] password for user:
[root@ ~]# echo $DISPLAY
localhost:10.0
[root@ ~]#

so everything looks like everything is in order so I run xclock it does give me one error but the clock comes up.

It wouldn't run so I check my xauth keys from root and from user and they weren't a match so I copy and the user keys over to root.

Now when I sudo su and run xclock it comes up but I get an error

"Example"

Warning: Cannot convert string "" to type XftFont

But the clock came up so it SHOULD still work. So next test was xterm and the window takes a while to come up but it does with no errors. So now everything test has passed and now I'm ready to install software remotely. I run the binaries.

"EXAMPLE"
================================================================================
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...


Graphical installers are not supported by the VM. The console mode will be used instead...


=======================================================

Installer User Interface Mode Not Supported

The valid UI modes identifiers are GUI, and Silent. By default installer will run in GUI mode. If you are running the installer in GUI mode, X windows resources should be available to display the GUI installer. It is not possible to telnet or ssh and install DCNM in GUI mode.

=======================================================

So can someone tell me what else am I missing to get this GUI to show up remotely?

John VV 09-08-2013 01:13 AM

Quote:

sudo su -
this is NEVER a good idea , and should be blocked from being able to run

allowing a normal users password to be a replacement for the root password is never a good idea

"sudo" is also not setup on rhel
the default is not to use it , but use only "su" and "su -"
the two do very different things


also WHAT version of java are you trying to install ????
icedtea openJDK is in the third party repos or RHN for the aging RHEL5.9
as i recall for the old 5 series it is OpenJDK 1.6

Quote:

Graphical installers are not supported by the VM. The console mode will be used instead...
so this is a LOCAL "remote" install on a VM ( as in the same windows computer you are sitting in front of )
and not a real install on a server located across the country

Normally RHEL is installed on a server WITHOUT Xorg as a text only install


seeing as this is a Virtual install is there a MUST USE !!! reason for using the aging RHEL 5.9 ?
and not using the current RHEL 6.4

the REQUIRED support contract you bought with RHEL 5.9 can be moved to a upgrade for RHEL 6.4
contact redhat sales and tech support
You ARE paying then from $49 to $299 ( $299 is the Standard 1 year license fee ) per year for the required support contract,
you might want to use it .

openjdk can be installed using "yum" in just a few typed words

Code:

su -
-- the root password when asked for --
yum list \*java-1\* | grep open
-- then from the list ---
yum install java-1.6.0-openjdk

java 1.6 uses the built in web plugin
java 1.7 uses a sandbox and NO firefox plugin

sushigaiden 09-16-2013 02:19 PM

Server setup is not my responsibility so I have no say in why su was setup that way. I'm not trying to setup Java, its a software from cisco. I was able to install the way I did on another server. But from what I was told, the server I'm trying to install on has no GUI, everything is command line. So now I'm trying to do a silent install. I'm gonna mark this resolved.

rickrandall 03-01-2016 08:40 AM

I know this thread is old, but this might help someone who comes across it in a search. I suspect what the user needed to do in his Windoz machine was to install the Xming fonts.


All times are GMT -5. The time now is 04:15 PM.