On 26.06.2017 05:10, Ed Greshko wrote:
On 06/26/17 01:19, Walter H. wrote:
> I did nearly the same as here
> by the way this
> ExecStart=/sbin/runuser -l USER -c "/usr/bin/vncserver %i -geometry
> must be
> ExecStart=/usr/bin/vncserver %i -geometry 1280x1024
> because the 'runuser'-variant doesn't work at all, no connection possible
> or is there also something missing in the SELinux policies?
> the -geometry parameter is ignored, I only get a display of 1024x768 when
> connecting with VNCviewer from other machine ...
My /etc/systemd/system/vncserver@.service contains...
ExecStart=/usr/bin/vncserver %i -geometry 1920x1080
The running process shows....
egreshko 839 1 0 11:01 ? 00:00:03 /usr/bin/Xvnc :1 -geometry 1920x1080
-auth /home/egreshko/.Xauthority -desktop f25f.greshko.com:1 (egreshko) -fp
catalogue:/etc/X11/fontpath.d -httpd /usr/share/vnc/classes -pn -rfbauth
/home/egreshko/.vnc/passwd -rfbport 5901 -rfbwait 30000
how do you get this
And when I connect via vncviewer from another system I get the
following output from
Screen 0: minimum 32 x 32, current 1920 x 1080, maximum 32768 x 32768
VNC-0 connected primary 1920x1080+0+0 0mm x 0mm
I also happen to set my ~/.vnc/config file to that geometry as a habit.
Screen 0: minimum 32 x 32, current 1024 x 768, maximum 32768 x 32768
VNC-0 connected primary 1024x768+0+0 0mm x 0mm
1600x1200 60.00 +
ExecStart=/usr/bin/vncserver %i -geometry 1600x1200
and still connected with 1024x768 ... even when setting SELINUX to
the goal is either 1600x1200 or 1280x1024, the default 1024x768 is too small