This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
RE: insight GUI not working![Problem Solved]
- From: "Bhagat, Vivek" <vivek dot bhagat at scr dot siemens dot com>
- To: "'Keith Seitz'" <keiths at redhat dot com>
- Cc: "'insight at sources dot redhat dot com'" <insight at sources dot redhat dot com>
- Date: Fri, 16 Jul 2004 12:05:14 -0400
- Subject: RE: insight GUI not working![Problem Solved]
Mr Seitz:
Thanks for helping me out, I really appreciate it. I was able to solve my problem. Even though the solution was simple I was not aware of how exactly this XFree stuff works.
Actually, I was logging under my user name and all the X applications were working fine for me. But when I did su and changed users the X applications for this new user were not working.
The problem was that the X Server was some how started for the user who logged in the system (i.e. myself) so it won't allow any X application to run for users other than the one logged in. That's the reason insight was failing for other users on my Linux box. I logged myself out from the system and
logged in as other user for which insight was failing and its working fine, just the way I intended and even other X applications are working perfectly. So I guess my X Server is installed correctly it's just that I was not aware of this issue since I am a newbie when it comes to Linux and specially
XFree.
Once again thanks for your help.
Regards,
Vivek
-----Original Message-----
From: Keith Seitz [mailto:keiths@redhat.com]
Sent: Friday, July 16, 2004 10:42 AM
To: Bhagat, Vivek
Cc: 'insight@sources.redhat.com'
Subject: RE: insight GUI not working!
On Fri, 2004-07-16 at 07:07, Bhagat, Vivek wrote:
> X applications (xterm say) only works within the account where insight works but for all the other account it displays "xterm Xt error: Can't open display:", so it is certain that my X Server is not configured properly.
> That's the reason insight GUI is not opening up and only command line gdb opens up.
> But the funny thing is when I try to open up the X man from my working account it says "No Manual entry for X". I am not sure if this will be the forum to ask question regarding X Windows/Server. But if you can provide assistance in setting this DISPLAY environmental variable, it will great.
> ;-)
Two things to try:
1) Set DISPLAY to "localhost:0". Outdated syntax, but should still work.
2) If that fails, "echo $DISPLAY" on the working account and use the
same value for the others.
Keith