View previous topic :: View next topic |
Author |
Message |
mtombs Tux's lil' helper
Joined: 15 Sep 2003 Posts: 101 Location: Stockholm Sweden
|
Posted: Sat Nov 13, 2004 7:05 pm Post subject: vnc dies after log on |
|
|
Hi
I am trying to use VNC via inetd so that other people can run sessions on my machine. I can start vncserver manually ( i.e. by typing vncserver, not via inetd) and connect to that with no problem. I've set all the permissions, etc, that I should do, and I get my kdm login on the remote terminal. However, when I log in to kdm on the remote terminal, vnc just dies, saying:
Code: |
VNC viewer for X version 4.0 - built Sep 30 2004 10:04:12
Copyright (C) 2002-2004 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Sat Nov 13 12:03:52 2004
CConn: connected to host localhost port 5952
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
TXImage: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 8 (8bpp) colour-map
CConn: Using ZRLE encoding
CConn: Throughput 20909 kbit/s - changing to hextile encoding
CConn: Using hextile encoding
Sat Nov 13 12:04:08 2004
main: End of stream
|
I'm using vnc 4, xorg-x11 6.8.0 r1. What could this be? How can I get the vncserver to output more information? |
|
Back to top |
|
|
mtombs Tux's lil' helper
Joined: 15 Sep 2003 Posts: 101 Location: Stockholm Sweden
|
Posted: Sat Nov 13, 2004 7:28 pm Post subject: |
|
|
Just noticed the following in /var/log/everything/current:
Code: |
Nov 13 20:17:44 [xinetd] START: vnc-800x600x24 pid=10828 from=192.168.0.101
Nov 13 20:17:45 [kdm_greet] Can't open default user face
Nov 13 20:17:54 [kde(pam_unix)] session opened for user mark by (uid=0)
Nov 13 20:17:54 [PAM-env] Unknown PAM_ITEM: <XAUTHORITY>
|
No idea what this means, but it seems to be relevant. |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Sun Nov 14, 2004 11:37 am Post subject: |
|
|
I had a similar problem
I solved it with putting a # in /etc/security/pam_env.conf before DISPLAY and XAUTHORITY
The problem occur with the latest pam.
I found the solution here german forum |
|
Back to top |
|
|
mtombs Tux's lil' helper
Joined: 15 Sep 2003 Posts: 101 Location: Stockholm Sweden
|
Posted: Sun Nov 14, 2004 12:37 pm Post subject: |
|
|
that did it. Thanks! |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Wed Dec 08, 2004 6:22 pm Post subject: |
|
|
If you comment out DISPLAY, REMOTEHOST and XAUTHORITY, there's nothing left... What's the use? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
rafelbev n00b
Joined: 15 Jul 2003 Posts: 53
|
Posted: Thu Dec 09, 2004 9:33 am Post subject: |
|
|
That did it here too... thanks |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Sun Dec 12, 2004 2:17 am Post subject: |
|
|
Sweet. That's exactly what I was looking for! Thanks! |
|
Back to top |
|
|
|