Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with export DISPLAY

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to export DISPLAY to my workstation, but i cant. i keep getting DISPLAY=hostname is not an identifier any suggestions would be greatly appreciated
 
Nah, the "old-fashioned" (bourne shell, I believe)
DISPLAY=xxx:0.0; export DISPLAY

is the same as the csh's
setenv DISPLAY hostname:0.0

But I tried it anyway, just for giggles. Same result when trying to open anything like dtpad:
error: Xlib: connection to "hostname:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: hostname:0.0
 
SirLancelot:

If you have another host that does have a graphics card, type "xhost hostname-of-serial-display-server" on it.

On the server with the serial display type DISPLAY=graphics-hostname";export DISPLAY. Then you will be able to type "xhost new-hostname" on the server with out the graphics card.

Try it.
Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top