View previous topic :: View next topic |
Author |
Message |
cbolin Tux's lil' helper
Joined: 08 Feb 2003 Posts: 147 Location: Portland, Oregon
|
Posted: Thu Nov 25, 2004 9:42 pm Post subject: gdm, vnc and XDMCP stopped working |
|
|
I've used VNC to access my local LAN machines from one PC. It has worked exactly like Gentoo Wiki HOWTO Xvnc terminal server forever, but an emerge ago or so it stopped working and I can't figure out why.
So what happens: on a machine (not the one with with the problem) I invoke vncviewer <URL_remote_machine_with_problem> I get the remote gdm login in the correct color depth and geometry for the machine with the problem, I can type in credentials in gdm or kdm but then afterwards only a blank window and the mouse cursor. KDE never loads as it used to...
I have gone back through and verified every step in every config file as in the howto, but it still doesn't work. I've checked permissions on all the files I know about...
Starting GDM/KDM and KDE on the machine with the problem works exactly like it always has locally...
Thanks.
Last edited by cbolin on Sat Nov 27, 2004 11:04 pm; edited 4 times in total |
|
Back to top |
|
|
cbolin Tux's lil' helper
Joined: 08 Feb 2003 Posts: 147 Location: Portland, Oregon
|
Posted: Sat Nov 27, 2004 11:06 pm Post subject: |
|
|
anyone? Even ideas of something to try? I've spent more time on this problem than my initial install and configure of Gentoo itself. argh.... |
|
Back to top |
|
|
cbolin Tux's lil' helper
Joined: 08 Feb 2003 Posts: 147 Location: Portland, Oregon
|
Posted: Mon Nov 29, 2004 1:35 am Post subject: |
|
|
I've now tried removing kdm and gdm and reinstalling. Removed TightVNC and replaced with RealVNC. Changed wm to twm. looked through all the logs... reinstalled Xorg...
for whatever reason after you login with g/k/xdm nothing will load. .Xsessions looks correct, permissions look correct.
WTF am I missing? |
|
Back to top |
|
|
quill18 n00b
Joined: 20 Jan 2004 Posts: 50
|
Posted: Fri Dec 03, 2004 6:48 pm Post subject: |
|
|
I'm in the same boat. Used to work fine, mysteriously broke during some update. I still get the login screen, then nothing.
I don't know if it's relevant, but there's the following in my home directory:
Code: | .xsession-errors:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xset: unable to open display ":0.0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xset: unable to open display ":0.0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xsetroot: unable to open display ':0.0'
startkde: Starting up...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified |
I've tried with xdm and kdm for the same result. |
|
Back to top |
|
|
quill18 n00b
Joined: 20 Jan 2004 Posts: 50
|
Posted: Fri Dec 03, 2004 6:59 pm Post subject: |
|
|
Oh, found the answer here.
edit /etc/security/pam_env.conf and comment out the following lines:
Code: |
REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY} |
|
|
Back to top |
|
|
cbolin Tux's lil' helper
Joined: 08 Feb 2003 Posts: 147 Location: Portland, Oregon
|
Posted: Fri Dec 03, 2004 10:54 pm Post subject: |
|
|
quill - thanks so much for this! Iwas about to reinstall all of Gentoo. I've done so much work on this one problem... I'm exausted.
Thanks again. |
|
Back to top |
|
|
rsala Apprentice
Joined: 27 Jul 2003 Posts: 160 Location: Pittsfield, MA
|
Posted: Sat Dec 11, 2004 8:00 pm Post subject: |
|
|
This the second time in a week that I've had to comment out those lines on different machines. First for rexec (I know, I know) and now xdmcp.
Can anyone shed any light on why they are there and what they are supposed to do? |
|
Back to top |
|
|
nepto n00b
Joined: 04 Sep 2003 Posts: 16 Location: Slovakia
|
Posted: Thu Dec 16, 2004 9:33 am Post subject: |
|
|
I was unable to log into my Gentoo X session. After commenting such lines in /etc/security/pam_env.conf I was immediatelly able to log in. Thanks!
I would also like to know what these lines are supposed to do and why they are there. I'm looking forward for the clearification. _________________ Ondrej Jombik
Visit my homepage, review my recent CV or projects and give me some feedback. |
|
Back to top |
|
|
quill18 n00b
Joined: 20 Jan 2004 Posts: 50
|
Posted: Thu Dec 16, 2004 2:57 pm Post subject: |
|
|
nepto wrote: | I was unable to log into my Gentoo X session. After commenting such lines in /etc/security/pam_env.conf I was immediatelly able to log in. Thanks!
I would also like to know what these lines are supposed to do and why they are there. I'm looking forward for the clearification. |
Frankly, it seems like a big #$%@-up to me that's just causing grief. I don't really see the security benefits.
And hell, anything that interfers with:
Code: | $ ssh myhost
$ someXprogram |
(which this does) is a Bad Thing in my book. |
|
Back to top |
|
|
|