On 26.06.2017 05:10, Ed Greshko wrote:
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_Guide/ch-TigerVNC.html#s3-configuring-vnc-server 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
how do you get this output?
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.
xrandr only shows 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 + 1920x1200 60.00 1920x1080 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 /etc/systemd/system/vncserver@.service has this ExecStart=/usr/bin/vncserver %i -geometry 1600x1200 and ~/.vnc/config has this geometry=1600x1200and still connected with 1024x768 ... even when setting SELINUX to permissive
why? the goal is either 1600x1200 or 1280x1024, the default 1024x768 is too small Thanks, Walter
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx