Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vnc dies after log on
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mtombs
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2003
Posts: 101
Location: Stockholm Sweden

PostPosted: Sat Nov 13, 2004 7:05 pm    Post subject: vnc dies after log on Reply with quote

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
View user's profile Send private message
mtombs
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2003
Posts: 101
Location: Stockholm Sweden

PostPosted: Sat Nov 13, 2004 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
evermind
Guru
Guru


Joined: 10 Jan 2004
Posts: 322

PostPosted: Sun Nov 14, 2004 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
mtombs
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2003
Posts: 101
Location: Stockholm Sweden

PostPosted: Sun Nov 14, 2004 12:37 pm    Post subject: Reply with quote

that did it. Thanks!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Wed Dec 08, 2004 6:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
rafelbev
n00b
n00b


Joined: 15 Jul 2003
Posts: 53

PostPosted: Thu Dec 09, 2004 9:33 am    Post subject: Reply with quote

That did it here too... thanks
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Sun Dec 12, 2004 2:17 am    Post subject: Reply with quote

Sweet. That's exactly what I was looking for! Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum