LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-16-2004, 01:27 PM   #1
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Rep: Reputation: 15
Unhappy Display + Path


Hello,

I am having problems invoking a Java Based Installation tool.
It requires me to set the DISPLAY and PATH variables on my Linux Server.

I try the command

xterm +oracle@Linux2005

command but it gives me an error.

How can I set those 2 environment variables to lauch my Installation tool.

Regard,s

PT
 
Old 08-16-2004, 01:53 PM   #2
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy Pre-Installation set-up !!! (Oracle 9i DB)

Hello,

Going through the Oracle 9i databse install manual.
It mentions to set a series of environement variables before invoking the runInstaller.
such as:

export LD_ASSUME_KERNEL=2.4.1
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/9.2.0
....

export PATH=$PATH:$ORACLE_HOME/bin
export DISPLAY=yourdesktop:0.0

Where should I set those parameters so that I don<t have to set them up-each time I login to my server.

Regards,

PT
 
Old 08-16-2004, 01:54 PM   #3
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy My_desktop

Hello,

How can I find out what my "My_Desktop" is to set the DISPLAY variable.

eg: export DISPLAY=yourdesktop:0.0

PT
 
Old 08-16-2004, 02:30 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: Display + Path

Quote:
Originally posted by ptreves
Hello,

I am having problems invoking a Java Based Installation tool.
It requires me to set the DISPLAY and PATH variables on my Linux Server.
A bit more specific about that path, please?

As for the DISPLAY ... assuming that you're trying
to do that install remotely:

ssh -X11 root@<server> "export PATH="$PATH:/new/bits" <command>"



Cheers,
Tink
 
Old 08-16-2004, 02:38 PM   #5
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
DISPLAY + PATH

Hello,

I am not remote. I am on the Linux Red Hat Enterprise 3 (WS) server.
My question is., how do I know what I should set the DISPLAY variable to in the .bash_profile file.

Says export DISPLAY=yourdesktop:0.0

How can I find out what I should set instead of 'yourdesktop' ?
That is the question.

PT
 
Old 08-16-2004, 02:40 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Put your environment variables in your shell startup script (~/.bash_profile for login shells and ~/.bashrc for others -- assuming you're using bash, which is the default Linux shell). If you're using X on your local machine or via ssh -X remotely, chances are your DISPLAY had been set already - try 'echo $DISPLAY' (no quotes) to see what it is.
 
Old 08-16-2004, 02:47 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hold a second :)

An installation procedure shouldn't require permanent
changes to the environment ...

What are you doing?


Cheers,
Tink
 
Old 08-16-2004, 02:54 PM   #8
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy .bash_profile file !!

Hello,

You mean that I don't need to make any changes to my .bash_profile file.
Is that it ?

PT

PS: How can I find out what is my Desktop / Console name to set the DISPLAY parameter,
 
Old 08-16-2004, 02:57 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'm saying that only to run an installer there should
be no need to have a permanent change to environment
variables.

But since you don't really provide enough background
info it's hard to assess :}


Cheers,
Tink
 
Old 08-16-2004, 02:58 PM   #10
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
DISPLAY

Hello,

echo $SHELL --> /bin/bash
echo $DISPLAY --> :0.0

Note, I tried changing the DISPLAY paramter.....
Does this make any sense ?

Do I realy need to edit the .bash_profile file ? This is just a 1 time installation.

PT
 
Old 08-16-2004, 02:59 PM   #11
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
DISPLAY

Hello,

How do I know the default value for $DISPLAY ?

PT
 
Old 08-16-2004, 03:01 PM   #12
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
DISPLAY

echo $SHELL --> /bin/bash
echo $DISPLAY --> :0.0

I tried resetting the $DISPLAY environment variable.
Does this make any sense ?

The installation manual state: export DISPLAY=yourdesktop:0.0

How do I know what yourdesktop should be set to ?

PT
 
Old 08-16-2004, 03:02 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I merged your two threads :P so I don't have to warn you
for double-posting.
 
Old 08-16-2004, 03:13 PM   #14
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy DISPLAY

Hello,

Usually under Linux, what is the default value for the DISPLAY parameter ?

PT
 
Old 08-16-2004, 03:23 PM   #15
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
localhost
 
  


Reply


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
Some pre-installation questions harrylmh Slackware - Installation 4 11-08-2005 02:34 AM
Pre-installation checklist - SATA RAID? lowpro2k3 Slackware - Installation 1 07-18-2005 09:44 PM
pre- installation inq Robin01 Linux - Newbie 1 10-10-2003 02:07 PM
Redhat Linux Advance Server 2.1 set up to run Oracle ashley75 Linux - General 1 08-25-2003 01:30 PM
Pre-installation Problems Config Slackware 4 07-04-2002 08:04 PM


All times are GMT -5. The time now is 02:14 AM.

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