RE: Problem with X server



Try tunneling everything through ssh. It gets around a whole host of
problems.

ssh -X user@xxxxxxxxxx
%xclock &


Make sure x11 forwarding is enabled in sshd_config.
This gets around the need to use the xhost and export display settings.
Additionally it encrypts everything.




-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Troy Amburg
Sent: Monday, May 05, 2008 2:30 PM
To: General Red Hat Linux discussion list
Subject: Re: Problem with X server

Try this:

On the local host, type:

xhost +


On May 5, 2008, at 11:24 AM, Wiedemann, Shane CIV NAVAIR wrote:

I am at runlevel 5. I'll answer any stupid question in the hopes it
leads me to an answer and/or better understanding!

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of mark
Sent: Thursday, May 01, 2008 19:31
To: General Red Hat Linux discussion list
Subject: Re: Problem with X server

Wiedemann, Shane CIV NAVAIR wrote:
So this problem is most likely user error; none the less...

Ok, stupid question #1: what runlevel are you at, 3 or 5?

mark
I have some software (only one other place has this software) that to
view video windows that the software tries to pop up, you need to use
the following command to get it to display:
"software_name -display hostname", or at least that is what I am
told.
I have inserted my hostname where it says "hostname" and verified
with

"uname" that my hostname is correct. I am not connecting to a remote
machine, am not on a network and am running the software on a
stand-alone machine. The vendors of the software do connect
remotely,

I believe, and they can pop video display windows just fine.
Whenever

I run the software, I get a message that says "Unable to connect to x
server".
I currently have the DISPLAY variable set to ":0.0" and this seems to
be fine for opening programs, such as NEdit. Any other setting (even
"hostname:0.0") and I cannot start programs such as editors and other
programs that open in a separate window. I get errors that say
"can't

open display" and the like.

When I run the software, if I leave out the command "-display
hostname"
all video rendering is done behind the scenes, i.e., I can't view it.

I have tried replacing "hostname" with all of the following:
hostname:0.0
:0.0
hostname:0
localhost
localhost:0.0
localhost:0

Any clues?

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Why multi-seat Debian Sid cannot use the stock kernel.
    ... SubSection "Display" ... # Greeter for local logins. ... # The X server to use if we can't figure out what else to run. ... # How many times can a person log in from a single host. ...
    (Debian-User)
  • Re: probleme mit ssh
    ... waehrend das entfernte System der Server ist. ... Bei X11 ist alles andersherum, da ist das entfernte System der Client ... und dein lokales Display der Server. ... DArum brauchsts bei SSH ...
    (de.comp.os.unix.networking.misc)
  • Re: probleme mit ssh
    ... waehrend das entfernte System der Server ist. ... und dein lokales Display der Server. ... DArum brauchsts bei SSH ... SSH hat das fuer X11 aber bereits ...
    (de.comp.os.unix.networking.misc)
  • Re: Suggestions for a square font?
    ... > ssh -X creates a tunnel from distant_computer to your real X server at ... > the tunneled X display, connecting directly to the X ... Let's say that the first line was for ssh users and the second ... connect through ssh and play a curses game. ...
    (rec.games.roguelike.development)
  • X11 session over ssh, problem
    ... The problem is that I ssh to a server, and then try to run a program that requires an X display. ... But if I do the same to B (i.e. xterm -e ssh B &), then try to run a program like xpdf which uses X, it doesn't work. ...
    (Debian-User)