Link to home
Start Free TrialLog in
Avatar of Member_2_406981
Member_2_406981

asked on

CentOS7 Xvnc gdm login

Until change to centos 7 I was able to set up a remote session logins via Xvnc.

A vncuser connected gets instantly shown the gnome logon screen same as on local x-console.

On centos7 I cant figure out why its not working anymore. I only got a black screen in VNC and then. It sates someting went wrong. please logoff.

In the /var/log/messages of the centos there is only a note that a new session is started. no error until vnc-viewer is closed or until the something went wrong message in the vnc viewer appears,

Im guessing it might have something to do with systemd. But I'm not sure.
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

If you suspect the systemd config, what does your systemd service file look like? Can you post it here?
Avatar of Member_2_406981
Member_2_406981

ASKER

No systemd service file for the Xvnc. Its running over xinetd.

Let me setup a test box again. The real server was switched back to CentOS 6.7 as it was urgent. So the machine in question is no available right now. But im already setting up a CentOS7 VM and will report back again with more details.
If it's running over xinetd it should have a file as well, maybe check that also...

Keep us posted.
service vnc1
{
        disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -noreset -inetd -once -query localhost -geometry 1024x768 -depth 16 -SecurityTypes=none
        type            = UNLISTED
        port            = 5901
}

Open in new window


is the code for the xinetd service.

It works fine on centOS 6 and 5.

Now in the VM I got a segfault for Xvnc, once connect to the port 5901 with a vncviewer or netcat. Maybe a new problem introduced by CentOS 7.1 or 7.2 or related to the VM.
Hmmm, are you using the latest package from the repositories or installing from source?

There's an interesting discussion here that might help pinpoint the issue.
using the latest package from repositories. I've installed following version:

tigervnc-server-minimal-1.3.1-3.el7.x86_64
Yes it seems this discussion  shows similar problems.

But I'm not going to manual install builds from tigervnc.org as I want automatic security fixes. So it seems I need to wait until a fixed version is available in the CentOS7 repos.

The crash was already submitted to the respective crash submit server. So lets see.
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No workable solution possible yet, due to malfunctioning binary in the repositories of CentOS7