<div dir="ltr"><div>I thought I might be able to shed a little more light on this:</div><div><br></div><div>I didn't realize that one could create xorg.conf fragments in the xorg.conf.d directory, so I started by running 'Xorg -configure' to generate a configuration file. I then modified that to load the vnc module. This ran fine--without the X server sluggishness--and I was eventually able to get the server to accept connections using Martin's advice in Message #10.</div><div><br></div><div>Then I discovered the xorg.conf.d fragment directory. I removed my xorg.conf and loaded the vnc module from a configuration fragment in /usr/share/X11/xorg.conf.d. I immediately began experiencing the server sluggishness, and my Xorg.0.log is spitting out a slew of messages:</div><div><br></div><div>[<timestamp>]: (EE) modeset(0): failed to set mode: Permission denied</div><div><br></div><div>every 5 seconds.</div><div><br></div><div>I hope this information is of value to someone.</div><div><br></div><div>John</div><div><br></div>On Tue, 28 Feb 2017 23:16:10 +0100 Ola Lundqvist <span> wrote:<br>> tags 855350 + help<br>> thanks<br>> <br>> Hi Kertesz and Martin<br>> <br>> Thank you for the report and information regarding options.<br>> <br>> The performance issue is definitely a problem. I do not have a solution at<br>> the moment.<br>> <br>> I have a little problem testing this myself at the moment as only have sid<br>> in a chroot and X will not really start for me there.<br>> <br>> So if anyone have the possibility to look into this and provide a patch<br>> that would be excellent!<br>> <br>> Best regards<br>> <br>> // Ola<br>> <br>> <br>> <br>> On 18 February 2017 at 08:12, Martin Dorey <span> wrote:<br>> <br>> > > i could not find a way to actually pass options<br>> ><br>> > I eventually managed to get a default configured Stretch box to accept a<br>> > remote connection using:<br>> ><br>> > mad@shuttle:~$ cat /usr/share/X11/xorg.conf.d/75-vnc-mad.conf<br>> > Section "Device"<br>> > Identifier "Device"<br>> > EndSection<br>> > Section "Screen"<br>> > Identifier "Screen"<br>> > Device "Device"<br>> > Option "PasswordFile" "/u2/home/mad/.vnc/passwd"<br>> > EndSection<br>> > mad@shuttle:~$<br>> ><br>> > It seems, from the source, that the PasswordFile Option is only looked for<br>> > in the Screen section and the Screen section has to have an Identifier and<br>> > a Device, which has to refer to a Device section, which needs an<br>> > Identifier.  Argh, but, OK, whatever.  Then I have other problems, both<br>> > keeping the connection up and with redraw, but I fear that elaborating them<br>> > here would be a hijack of the OP's bug, the main symptom of which - a<br>> > horrible-sounding performance issue - I don't see with Gnome 3.<br>> ><br>> ><br>> > _______________________________________________<br>> > Pkg-tigervnc-devel mailing list<br>> > <a href="mailto:Pkg-tigervnc-devel@lists.alioth.debian.org">Pkg-tigervnc-devel@lists.alioth.debian.org</a><br>> > <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tigervnc-devel">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tigervnc-devel</a><br>> ><br>> <br>> <br>> <br>> -- <br>>  --------------------- Ola Lundqvist ---------------------------<br>> /  <a href="mailto:opal@debian.org">opal@debian.org</a>                     Folkebogatan 26          \<br></span></span><br></div>