Thank you! Looks like we have a workaround that at least works for some. It would be good if others can confirm or deny that this is a viable workaround.
/ Ola Sent from a phone Den 24 apr 2017 03:07 skrev "John Tyner" <[email protected]>: > Yes and yes. > > When X is sluggish, it is sluggish from the "get-go", as soon as I see my > log in prompt. > > I've attached my working config and the log associated with it. I've also > attached the log associated with the sluggish behavior. In the latter case, > I added the file 99-vnc.conf to the /usr/share/X11/xorg.conf.d directory > with only the following lines: > > Section "Module" > Load "vnc" > EndSection > > John > > On Sun, Apr 23, 2017 at 1:07 PM, Ola Lundqvist <[email protected]> wrote: > >> Hi >> >> Do I understand correctly that you could connect without the sluggishness? >> >> Do you have a working sample config that you can share? >> >> / Ola >> >> Sent from a phone >> >> Den 23 apr 2017 04:46 skrev "John Tyner" <[email protected]>: >> >>> I thought I might be able to shed a little more light on this: >>> >>> 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. >>> >>> 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: >>> >>> [<timestamp>]: (EE) modeset(0): failed to set mode: Permission denied >>> >>> every 5 seconds. >>> >>> I hope this information is of value to someone. >>> >>> John >>> >>> On Tue, 28 Feb 2017 23:16:10 +0100 Ola Lundqvist wrote: >>> > tags 855350 + help >>> > thanks >>> > >>> > Hi Kertesz and Martin >>> > >>> > Thank you for the report and information regarding options. >>> > >>> > The performance issue is definitely a problem. I do not have a >>> solution at >>> > the moment. >>> > >>> > I have a little problem testing this myself at the moment as only have >>> sid >>> > in a chroot and X will not really start for me there. >>> > >>> > So if anyone have the possibility to look into this and provide a patch >>> > that would be excellent! >>> > >>> > Best regards >>> > >>> > // Ola >>> > >>> > >>> > >>> > On 18 February 2017 at 08:12, Martin Dorey wrote: >>> > >>> > > > i could not find a way to actually pass options >>> > > >>> > > I eventually managed to get a default configured Stretch box to >>> accept a >>> > > remote connection using: >>> > > >>> > > mad@shuttle:~$ cat /usr/share/X11/xorg.conf.d/75-vnc-mad.conf >>> > > Section "Device" >>> > > Identifier "Device" >>> > > EndSection >>> > > Section "Screen" >>> > > Identifier "Screen" >>> > > Device "Device" >>> > > Option "PasswordFile" "/u2/home/mad/.vnc/passwd" >>> > > EndSection >>> > > mad@shuttle:~$ >>> > > >>> > > It seems, from the source, that the PasswordFile Option is only >>> looked for >>> > > in the Screen section and the Screen section has to have an >>> Identifier and >>> > > a Device, which has to refer to a Device section, which needs an >>> > > Identifier. Argh, but, OK, whatever. Then I have other problems, both >>> > > keeping the connection up and with redraw, but I fear that >>> elaborating them >>> > > here would be a hijack of the OP's bug, the main symptom of which - a >>> > > horrible-sounding performance issue - I don't see with Gnome 3. >>> > > >>> > > >>> > > _______________________________________________ >>> > > Pkg-tigervnc-devel mailing list >>> > > [email protected] >>> > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg- >>> tigervnc-devel >>> > > >>> > >>> > >>> > >>> > -- >>> > --------------------- Ola Lundqvist --------------------------- >>> > / [email protected] Folkebogatan 26 \ >>> >>> >

