On 06/26/17 01:19, Walter H. wrote:
Hello,
I did nearly the same as here
https://docs.fedoraproject.org/en-US/Fedora/25/html/System_Administrators...
by the way this
ExecStart=/sbin/runuser -l USER -c "/usr/bin/vncserver %i -geometry 1280x1024"
must be
ExecStart=/usr/bin/vncserver %i -geometry 1280x1024
because the 'runuser'-variant doesn't work at all, no connection possible
from
VNCviewer;
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 ...
FWIW.....
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
And when I connect via vncviewer from another system I get the following output from
xrandr
Screen 0: minimum 32 x 32, current 1920 x 1080, maximum 32768 x 32768
VNC-0 connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 60.00*+
1920x1200 60.00
1600x1200 60.00
1680x1050 60.00
1400x1050 60.00
1360x768 60.00
1280x1024 60.00
1280x960 60.00
1280x800 60.00
1280x720 60.00
1024x768 60.00
800x600 60.00
640x480 60.00
I also happen to set my ~/.vnc/config file to that geometry as a habit.
--
Fedora Users List - The place to go to speculate endlessly