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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| ||||
| "=?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 |
| Thread Tools | |
| Display Modes | |
|
|