cancel
Showing results for 
Search instead for 
Did you mean: 

can not start ./TREXAdmin.sh because of DISPLAY variable

Former Member
0 Kudos

Hi Everybody,

i am new to sap on linux and want to start my TREXAdmin.sh. if i try it with ./TREXAdmin.sh with the siduser of the trex installation i get the mesage Environmant variable DISPLAY is not set. I try to set it with: * export DISPLAY=172.xx.xx.xx:0.0 but get the message export: Command not found.

regards,

Seed

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Depending on which shell you are in you have to use the command

export DISPLAY=172.xx.xx.xx:0.0 (I think this is for the Bash shell)

or

setenv DISPLAY 172.xx.xx.xx:0.0

So probably you have to use the setenv command, or go to another shell.

Kind regards

Boudewijn

Former Member
0 Kudos

Hi Plunket,

thank you! But now i have another error message:

Starting TREXAdmin on display 172.xx.xx.xx:0.0, please wait.

Xlib: connection to "172.xx.xx.xx:0.0" refused by server

Xlib: No protocol specified

Traceback (most recent call last):

File "<string>", line 1, in ?

File "/usr/sap/TXxx/TRXxx/exe/python_support/TREXAdmin.py", line 1833, in main

root = Tk.Tk()

File "/usr/sap/TD5/TRX22/exe/Python/lib/python2.4/lib-tk/Tkinter.py", line 1569, in __init__

self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)

_tkinter.TclError: this isn't a Tk applicationcouldn't connect to display "172.xx.xx.xx:0.0"

regards,

seed

Edited by: Seed Mopo on Apr 10, 2008 10:13 AM

Former Member
0 Kudos

Hi,

i use cygwin. Therefore i have to set there also the DISPLAY variable.

regards,

Seed

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi seed

I am facing same problem but as you said you use cygwin. cygwin means what i didnu2019t get it

can you pl explain how you have solved it

Regards

Gopal

markus_doehr2
Active Contributor
0 Kudos

> I am facing same problem but as you said you use cygwin. cygwin means what i didnu2019t get it

> can you pl explain how you have solved it

Google is your friend.

Cygwin is a Unix-like environment for Windows including an X-Server.

http://www.cygwin.com/

Markus