Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-04-2013, 03:11 PM   #1
LQ Newbie
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
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:


[~]$ echo $DISPLAY

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


[user@ ~]$ sudo su -
[sudo] password for user:
[root@ ~]# echo $DISPLAY
[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


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.

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?
Old 09-08-2013, 02:13 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,460

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
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

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

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
Old 09-16-2013, 03:19 PM   #3
LQ Newbie
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
Old 03-01-2016, 09:40 AM   #4
LQ Newbie
Registered: Jan 2007
Posts: 14

Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I remotely login to remotely display data (remote X-window issue)? polishweasel Linux - Networking 2 06-29-2011 04:21 PM
Can we install RHEL 5.3 remotely ? agent_mach Linux - Newbie 2 12-31-2010 01:08 AM
C++ windows server but linux client app remotely invoking methods linuxmandrake Programming 2 10-12-2008 09:09 PM
install suse over rh remotely belorion Linux - General 1 10-28-2004 07:35 PM
need app to play sound remotely fatman Linux - Software 6 10-25-2004 11:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration