LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-30-2003, 05:10 PM   #1
karcoms
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Unhappy set DISPLAY variable problem


Hi,

I installed VMWare on Windows 2000 and then set up the VM for Linux RH8.0. I start up linux and it works perfectly fine. I set up my DNS and Proxy settings etc., I have configured my Ethernet card to be Bridged to my network. Hence I should get all flexibilities as what I can get on my windows machine.

My windows machine has the IP like 192.168.26.224 and when I get into my linux box through VMware I get the IP 192.168.26.198

I'm able to ping my VM from windows and ping my windows machine from my VM. Now when I try an rlogin into any of the Unix networks, it gets in fine, but doesnt set the DISPLAY variable.

I set the display using the command

setenv DISPLAY 192.168.26.198:0.0 and then when I run the xhost it tells me, "Can't open display ".....""

What am I doing wrong - please someone who has expertise on VMware and Linux help me out here. Its frustating as none of the X applications can work.

Thanks,

Karthik
 
Old 07-30-2003, 05:39 PM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
xhost +
then try to connect...
 
Old 07-30-2003, 05:43 PM   #3
karcoms
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, I tried xhost + and it still says cant open display. The funny part if if rlogin through some other X client like Hummingbird Exceed and then everything works fine as the Exceed uses the same IP as my windows host OS. From VMware if I set the display to be my Windows IP then all the displays get routed to the Exceed's session. Why within vmware I'm not able to set the display. Has it something to do with VMware settings ? virtual IP sort of stuff...
I'm confused.......
Please help
 
Old 07-30-2003, 06:37 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
Guess You just need to make sure hummingbirds going
 
Old 07-31-2003, 01:30 PM   #5
karcoms
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
But all the X applications will open up in Exceed. That doesnt look good. So that means there is no other way out of this ?
 
Old 07-31-2003, 02:01 PM   #6
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Depending on your shell, setenv may not be what you want. Try

Code:
export DISPLAY=192.168.26.198:0.0
instead.
 
Old 07-31-2003, 09:07 PM   #7
karcoms
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I have tried that one too in the past. It tells me export: Command not found. Any other ideas ?
 
  


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
Problem withChanging DISPLAY environment variable to display on someone else's screen wantsri Linux - Networking 1 10-25-2005 12:14 PM
DISPLAY variable error...cannot set it rameshchandra Linux - General 2 10-09-2005 05:59 AM
Tcl Error no display name and no DISPLAY environment variable thinkgeek Programming 5 07-06-2005 11:24 PM
set DISPLAY variable W1pEout[64] Linux - Software 4 01-07-2004 10:41 AM
Display Variable Problem blas Linux - Newbie 2 11-21-2003 12:58 PM


All times are GMT -5. The time now is 03:43 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration