473,672 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DISPLAY=:0.0, how to set to hostname:0.0 to work with all apps?

1 New Member
I'm running CentOS 6.4 in a virtual machine. In gnome-terminal,
$ echo DISPLAY
:0.0

With the above, all my graphical apps run with out issue. Been this way for years.

Recently I've begun working with a new technical application that sends this string to another application:

DISPLAY=myHostN ame:0.0

and the receiving application complains,

cannot connect to X server myHostName:0.0

This technical app is hardwired to send DISPLAY=myHostN ame:0.0 and this works fine on my company's corporate compute infrastructure.

Further little experiments confirm I've got some fundamental setup problem (?):
$ export DISPLAY=myHostN ame:0.0
$ xterm
xterm Xt error: Can't open display: myHostName:0.0

My /etc/hosts contains, among other strings,

127.0.0.1 myHostName.comp anyname.com myHostName

Question is how should I administer my CentOS 6.4 machine so that when DISPLAY is set to myHostName:0.0, all graphical apps will be happy?

Thanks in advance
Jun 18 '15 #1
0 4079

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1207
by: Ted Gill | last post by:
Platform: Windows ME Python version: 2.3.2-1 Problem: Running GUI apps in Idle does not work. When executing GUI (tkinter/pmw) apps from the edit windows or doing an "import <file>" in the shell window GUI apps freeze and do not respond to internal widgets or window decoration. They also do not repaint. Only way to bail out is to restart the interpreter. Same apps work fine from DOS window or double-clicked in file manager. These...
2
2675
by: Richard Choate | last post by:
I'm writing an article and I need your informed opinions, so I ask you this: 1. Doesn't the web-enabled app generally run slower for one reason or another? 2. Isn't the fact that application graphics must be limited, just proof of #1, especially with low bandwidth situations? 3. Aren't the web-enabled apps really less feature rich because the developer has to emulate the controls of a thick/fat client app, and sometimes you just can't...
9
1657
by: deko | last post by:
I'm confused about what I can use C# and VS.NET for. I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use? If I want to build a basic VB app, I assume I can use the VB 6 component in Visual Studio 6.0. But If I want to build a C# application - does that mean I have to use VS.NET? And if I do write an application in C# does that mean it can only run on a Windows box with the .Net Framework? Do all C# apps require...
8
1651
by: Bf | last post by:
I was creating test projects using c# and was surprised that there seems to be only a form based windows applications available. Is it safe to assume that classic window applications that utilize a parent window with child windows can only be done in c++ and mfc and there's nothing else in .net that is meant to be used like that? It seems to be that c# should be used for either form based windows apps, console apps, and web apps (also...
3
3441
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net session object (using state service). I'd like to start breaking out our functionality into component projects, but I'd like to get this session issue worked out first. Any ideas?? I found this article , but it sounds like kind of a pain.
4
2315
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or do we need to install multiple instances of the State database on to the SQL Server (one for each Web app)? It would seem that you could run into troubles pointing several web apps at the same DB, because you would introduce the possibility (a...
3
1085
by: Michael | last post by:
Sorry for the newbie question, but if I install the .NET 2.0 redistributables on our ASP.NET server--- - will my old apps continue to work? - will I be able to add 2.0 pages to my old apps? M
9
1503
by: Jim | last post by:
With .net having been around for a while now, does anyone know what the uptake of major software houses is in using .net for Windows Application development? e.g. have the likes of Adobe, MS, Corel, etc actually released any applications that use the framework? Jim
5
5121
by: djhexx | last post by:
Hi. We have an asp.net intranet application written in VB that uses forms authentication for all it's pages. I have a C# asp.net application that I just wrote. The company would like the C# application to authenticate using the same mechanism as the intranet app. Therefore...if I try to login to the c# app, it should redirect me to the intranet login. Once I pass authentication, I should be able to access the c# app. Now. Here is...
4
1696
by: bienwell | last post by:
Hi all, I have .NET framework 1.1 and 2.0 installed in the same server. I had some web pages developed in Visual Studio.NET 2003 and some inline code web pages before (framework 1.1) . Now I start some web pages from Visual Studio.NET 2005 (framework 2.0). Can I set some virtual directories work for 1.1 and some for 2.0 ? If so, please give me a hint. I don't want to convert the old pages from 1.1 into 2.0. Please advise. Thank...
0
8488
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8611
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7449
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6240
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2067
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1819
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.