Here is what I see in /var/log/messages:
Dec 21 07:19:07 pattest xinetd[4822]: START: vnc pid=4823 from=::ffff:134.89.12.58
Dec 21 07:19:07 pattest kernel: Xvnc[4823]: segfault at 0 ip 00000000005286d7 sp 00007ffe8475e6a0 error 4 in Xvnc[400000+239000]
Dec 21 07:19:07 pattest xinetd[4822]: EXIT: vnc signal=11 pid=4823 duration=0(sec)
Here is the /etc/gdm/custom.conf file:
# GDM configuration storage
[daemon]
RemoteGreeter=/usr/libexec/gdm-simple-chooser
[security]
AllowRemoteRoot=true
DisallowTCP=false
[xdmcp]
Enable=true
DisplaysPerHost=4
[greeter]
[chooser]
[debug]
Here is the /etc/xinetd.d/vnc file:
service vnc
{
type = unlisted
disable = no
flags = REUSE
socket_type = stream
port = 5901
wait = no
user = root
protocol = tcp
server = /usr/bin/Xvnc
server_args = -extension RANDR -desktop VNC-Remote-Access -inetd -query localhost -once -terminate -depth 1
6 -geometry 1280x1024 -securitytypes none
log_on_failure += USERID
}
Finally, this is the core backtrace from the rather long email sent to root:
core_backtrace:
:{ "signal": 11
:, "executable": "/usr/bin/Xvnc"
:, "stacktrace":
: [ { "crash_thread": true
: , "frames":
: [ { "address": 5408471
: , "build_id": "af3d73b00e0da5336aab9f1edd5944d8a4db2a3f"
: , "build_id_offset": 1214167
: , "function_name": "network::TcpListener::TcpListener(sockaddr const*, unsigned int)"
: , "file_name": "/usr/bin/Xvnc"
: }
: , { "address": 4488254
: , "build_id": "af3d73b00e0da5336aab9f1edd5944d8a4db2a3f"
: , "build_id_offset": 293950
: , "function_name": "displayNumFree(int)"
: , "file_name": "/usr/bin/Xvnc"
: }
: , { "address": 4511291
: , "build_id": "af3d73b00e0da5336aab9f1edd5944d8a4db2a3f"
: , "build_id_offset": 316987
: , "function_name": "ddxProcessArgument"
: , "file_name": "/usr/bin/Xvnc"
: }
: , { "address": 6031279
: , "build_id": "af3d73b00e0da5336aab9f1edd5944d8a4db2a3f"
: , "build_id_offset": 1836975
: , "function_name": "ProcessCommandLine"
: , "file_name": "/usr/bin/Xvnc"
: }
: , { "address": 5696025
: , "build_id": "af3d73b00e0da5336aab9f1edd5944d8a4db2a3f"
: , "build_id_offset": 1501721
: , "function_name": "dix_main"
: , "file_name": "/usr/bin/Xvnc"
: } ]
: } ]
:}
Can somebody give me some advice on what might be happening here? I've started looking at building from the latest source but this is a path that I'd rather not take.
THANKS!
Pat
Dec 23 06:48:14 pattest xinetd[1432]: START: vnc pid=12526 from=::1
Dec 23 06:48:15 pattest xinetd[1432]: EXIT: vnc status=1 pid=12526 duration=1(sec)
I'm obviously running this from the console to avoid any firewall issues although the same thing happens if I try to access it remotely.
Any other help in trying to figure this out would be GREATLY appreciated. I can't patch any of my systems until this is fixed since this breaks a key component.
THANKS!
I noticed in the messages file that there was also a message: "gdm: Xlib: extension "RANDR" missing on display "127.0.0.1:1". This may me experiment with the arguments to Xvnc in xinetd. I took out the "-extension RANDR" and it works "OK".
I say "OK" because there are a couple of weird things.
1. When I connect, I first get a black screen with "Authentication is required to create a color managed device". It asks for the administrator's password. Whether I cancel or enter the password, I get the login screen.
2. The applets appear to be functional but things aren't working right. If I lock the screen, I can't unlock it. And logging off closes the session but it doesn't disconnect VNC.
I can't run beta software on production systems so does this perhaps help somebody think of something that I can try to get the 1.5 software working?
THANKS again!
Pat
1. When I connect, I first get a black screen with "Authentication is required to create a color managed device". It asks for the administrator's password. Whether I cancel or enter the password, I get the login screen.
I can't run beta software on production systems so does this perhaps help somebody think of something that I can try to get the 1.5 software working?
Changing the depth from 16 to 24 didn't help. I still get the "Authentication is required to create a color managed device". I've looked around and found bug reports for things similar to this (http://red.ht/1QXqY62) and I've tried their workarounds but no-go so far.
As an aside, here is the current server_args line in my /etc/xinetd.d/vnc file:
-desktop VNC-Remote-Access -inetd -query localhost -once -terminate -depth 24 -geometry 1024x768 -securitytypes none
Thanks, Brian! That's great news and I'll look forward to the el7 packages.
I installed the el7 packages on a clean CentOS 7.2 VM this morning. The same thing happens when I try to connect using either tigervnc from my Windows 7 PC or using "vncviewer localhost:2" from the console:
I still get the black screen before the login screen with the "Authentication is required to create a color managed device."
After logging out, the VNC window is not dismissed. I have to manually close it.
As a FYI, the contents of /etc/redhat-release is:
CentOS Linux release 7.2.1511 (Core)
What version did you build the el7 packages on? They made BIG changes between 7.1 and 7.2. For example, GNOME went from 3.8.4 to 3.14.4.
And I'm running kernel 3.10.0-327.3.1.el7.x86_64 in case that matters.
THANKS for the continuing help with this!
Happy New Year to you all!!!
Pat
As a FYI, the contents of /etc/redhat-release is:
CentOS Linux release 7.2.1511 (Core)
What version did you build the el7 packages on? They made BIG changes between 7.1 and 7.2. For example, GNOME went from 3.8.4 to 3.14.4.
Here is the content of the xinetd file. I use 3 different ports to allow my users to connect at different resolutions depending on their equipment and bandwidth.
Pat
service vnc
{
type = unlisted
disable = no
flags = REUSE
socket_type = stream
port = 5901
wait = no
user = root
protocol = tcp
server = /usr/bin/Xvnc
server_args = -desktop VNC-Remote-Access -inetd -query localhost -once -terminate -depth 16 -geometry 1280x1024 -securitytypes none
log_on_failure += USERID
}
service vnc
{
type = unlisted
disable = no
flags = REUSE
socket_type = stream
port = 5902
wait = no
user = root
protocol = tcp
server = /usr/bin/Xvnc
server_args = -desktop VNC-Remote-Access -inetd -query localhost -once -terminate -depth 16 -geometry 1024x768 -securitytypes none
log_on_failure += USERID
}
service vnc
{
type = unlisted
disable = no
flags = REUSE
socket_type = stream
port = 5903
wait = no
user = root
protocol = tcp
server = /usr/bin/Xvnc
server_args = -desktop VNC-Remote-Access -inetd -query localhost -once -terminate -depth 16 -geometry 1920x1200 -securitytypes none
log_on_failure += USERID
}