Skip to content

vnc_server_start ignores VNCServer's command, looks 'Xvnc' in PATH #264

Description

@apteryks

Hi,

Using LightDM 1.32, I configured a custom command for the VNCServer:

#
# VNC Server configuration
#
[VNCServer]
enabled=true
command=/gnu/store/ccfkylswsbrmd8vjij8zwqrz4y5gchrb-tigervnc-server-1.12.0-0.b484c22bin/Xvnc  -SecurityTypes None
port=5900
listen-address=0.0.0.0

Unfortunately, upon starting, lightdm looks for a Xvnc on PATH, ignoring the above command, and fails with [+0.13s] WARNING: Can't start VNC server, Xvnc is not in the path.

I guess it's a bug that it doesn't honor VNCServer's command in start_display_manager (lightdm.c:292) ? The command seems to be refined in seat_xvnc_class_init (seat-xvnc.c:124), but probably too late, if the VNC server has already been launched?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions