Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X11 4* + export DISPLAY

1 view
Skip to first unread message

Stefano

unread,
Jan 9, 2002, 2:11:26 PM1/9/02
to

Hi guys,

I have upgraded one of my alpha machines to woody+sid.
During upgrade X11R6 3whatever become X11R6 4whatever.
Unfortunately I cannot export DISPLAY TO this machine anymore.
I assume X11 has changed some flags somewhere, but unfortunately I could
not find the right place.
xhost seems to work but external linuxes give "permission denied".

I am wondering if some X11 guru has a good suggestion for me.

Thanks,

Stefano


--
To UNSUBSCRIBE, email to debian-alp...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Donald R. Spoon

unread,
Jan 9, 2002, 3:16:34 PM1/9/02
to
On Wednesday 09 January 2002 01:11 pm, you wrote:
> Resent-
> Message-ID: <rV58MC.A.MrG.OXJP8@murphy>
> To: debian...@lists.debian.org
> Resent-From: debian...@lists.debian.org
> X-Mailing-List: <debian...@lists.debian.org> archive/latest/9273
> X-Loop: debian...@lists.debian.org
> Precedence: list
> Resent-Sender: debian-alp...@lists.debian.org
> Return-Path: bounce-debian-alpha=dspoon=satx....@lists.debian.org

>
>
> Hi guys,
>
> I have upgraded one of my alpha machines to woody+sid.
> During upgrade X11R6 3whatever become X11R6 4whatever.
> Unfortunately I cannot export DISPLAY TO this machine anymore.
> I assume X11 has changed some flags somewhere, but unfortunately I could
> not find the right place.
> xhost seems to work but external linuxes give "permission denied".
>
> I am wondering if some X11 guru has a good suggestion for me.
>
> Thanks,
>
> Stefano


In /etc/X11/xinit/xserverrc, try changing the following:

"exec /usr/bin/X11/X -dpi 100 -nolisten tcp"

to read:

"exec /usr/bin/X11/X -dpi 100 "

The X server will not listen for external tcp connections (by default for
security reasons) unless the "-nolisten tcp" option is removed. You also
need to do this to get XDMCP to work. This "might "be your problem. Other
times I have seen this message is from the Xauthority file when trying to
open up a display (xterm) after su to root from a user account. There is a
solution for this too.... but I cannot recall exactly what it is. It has
something to do with modifying the xauthority file....I think.

Cheers,
-Don Spoon-

Juha J)

unread,
Jan 9, 2002, 5:07:09 PM1/9/02
to
> file when trying to open up a display (xterm) after su to root from a
> user account. There is a solution for this too.... but I cannot recall
> exactly what it is. It has something to do with modifying the
> xauthority file....I think.

If this is the problem, then using sudo instead on su is the easiest and
also propably the most secure option. If the problem was really
connecting to an existing X session from another host, using "ssh -X
<host-to-run-program-from>" should solve the problem - given both ssh and
sshd are configured to be able to forward X11 connections. If you do not
have ssh and sshd, install them at once anyway. I think there is no other
secure way of communicating between two machines - excluding IPSec of
course, but it does not help the problem at hand.

--
-----------------------------------------------
| Juha Jäykkä, juo...@utu.fi |
| home: http://www.utu.fi/~juolja/ |
-----------------------------------------------

Stefano

unread,
Jan 11, 2002, 3:43:09 PM1/11/02
to

Hi Don and others,

the suggestion works GREAT !
Thanks

Stefano

0 new messages