Unix Technical Forum

No XDMCP nor remote access possible

This is a discussion on No XDMCP nor remote access possible within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hey there! I am using xorg-x11-6.8.2.ebuild and gdm-2.8.0.7 on a freshly updated (emerge --newuse --deep --update world) Gentoo. I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:02 AM
=?iso-8859-1?B?Tm9yZGz2dw==?=
 
Posts: n/a
Default No XDMCP nor remote access possible

Hey there!

I am using xorg-x11-6.8.2.ebuild and gdm-2.8.0.7 on a freshly updated
(emerge --newuse --deep --update world) Gentoo.

I am sitting on the follow system:
- CPU Athlon-Xp
- Motherboard: A7V266-E (AGP Pro)
- Graphics: ASUS NVIDIA V9520 (AGP 8x)

But I am having two critical and one annoying problem which I have
tried to solve but haven't.

*** 1. Critcial Problem:
I cannot open remote X11-programs and display them on my Gentoo system.
The remote machine runs Solaris 9. The beginning of
/etc/ssh/sshd_config on the Solaris-machine has the following lines
uncommented:
Port 22
ListenAddress ::
AllowTcpForwarding no
GatewayPorts no
X11Forwarding no
X11DisplayOffset 10
PrintMotd no
CheckMail no
KeepAlive no
SyslogFaciltiy auth
LogLevel info
....
I have done
$ "xhost +"
on the Gentoomachine and
$ setenv DISPLAY gentoomachine:0.0
correctly on the Solaris machine and used the
$ ssh -X
on the Gentoomachine and also uncommented the following in
Gentoo:/etc/ssh/ssh_config
ForwardX11 yes

But i still (sigh) cannot get fowarding.
The Solaris machine just spits out:
Error: Can't open display: gentoomachine:0

*** 2. Critical Problem:
After a recent upgrade of gdm to the above meantioned version gdm can
no longer detect the XDMCP server running on the Solaris machine.

*** 3. Annoying Problem:
The X-server is quite sluggish. Resizing of GNOME 2.12 windows are
really slow.
I have tried both the latest stable and testing (~x86) version of
nvidia-kernel and nvidia-glx. But the problem remains. Should not this
NVIDIA-card handle 1600x1200x32 quickly?
When I do xdpyinfo both GLX and NV-GLX (times two) occurrs in the
output. Suspicious?:
$ xdpyinfo
number of extensions: 34
BIG_REQUESTS
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
NV-CONTROL
NV-GLX
NV-GLX
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
XVideo-MotionCompensation


Many Thanks in advance,

Per Nordlöw

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:02 AM
Johan Lindquist
 
Posts: n/a
Default Re: No XDMCP nor remote access possible

So anyway, it was like, 12:14 CET Feb 01 2006, you know? Oh, and, yeah,
Nordlöw was all like, "Dude,

> I cannot open remote X11-programs and display them on my Gentoo
> system.


> X11Forwarding no


Set this to yes instead and don't bother messing up the DISPLAY
variable manually. There's no need for xhost either if you tunnel X11
through ssh.

hth.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
13:40:35 up 84 days, 20:14, 2 users, load average: 0.02, 0.01, 0.00
Linux 2.6.14 x86_64 GNU/Linux Registered Linux user #261729
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 11:02 AM
Anton Ertl
 
Posts: n/a
Default Re: No XDMCP nor remote access possible

"=?iso-8859-1?B?Tm9yZGz2dw==?=" <per.nordlow@gmail.com> writes:
>*** 1. Critcial Problem:
>I cannot open remote X11-programs and display them on my Gentoo system.
>The remote machine runs Solaris 9. The beginning of
>/etc/ssh/sshd_config on the Solaris-machine has the following lines
>uncommented:
>Port 22
>ListenAddress ::
>AllowTcpForwarding no
>GatewayPorts no
>X11Forwarding no
>X11DisplayOffset 10
>PrintMotd no
>CheckMail no
>KeepAlive no
>SyslogFaciltiy auth
>LogLevel info


If you want to tunnel X11 through ssh, both the ssh client and the ssh
server should allow X11 forwarding (well, there is supposedly a way to
do tunneling even without that, but its not as convenient): On the
server the sshd_config needs "X11Forwarding yes".

>I have done
>$ "xhost +"
>on the Gentoomachine and
>$ setenv DISPLAY gentoomachine:0.0
>correctly on the Solaris machine and used the


That's for a direct connection to the X server without ssh tunneling.
This is disabled by default on many Linux distributions, by starting X
with "-nolisten tcp" (or somesuch). Start X without this option, and
the direct connection to the display will work (unless a firewall
blocks it or somesuch). You don't need ssh tunneling for that.

For security, I recommend that you do not use xhost-based
authentication (everybody could connect to your display and do
arbitrary things with it, including reading it); i.e., do "xhost -".
Instead, use xauth authentication or go through an ssh tunnel. For
xauth, do something like this on your Gentoo box:

xauth extract - $DISPLAY | ssh remotemachine /usr/bin/X11/xauth merge -

>*** 2. Critical Problem:
>After a recent upgrade of gdm to the above meantioned version gdm can
>no longer detect the XDMCP server running on the Solaris machine.


Maybe the gdm equivalent of xdm's Xaccess configuration file tells it
not to talk to strangers. You will probably have to open it up.

>*** 3. Annoying Problem:
>The X-server is quite sluggish. Resizing of GNOME 2.12 windows are
>really slow.
>I have tried both the latest stable and testing (~x86) version of
>nvidia-kernel and nvidia-glx. But the problem remains. Should not this
>NVIDIA-card handle 1600x1200x32 quickly?


You should look into the Xorg.log for messages about acceleration. My
guess is that some important hardware accelerator is disabled. You
might be able to enable it by editing the xorg.conf file.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com