Page 1 of 1

vncserver geometry

PostPosted: Feb 3rd, '14, 08:45
by leif
It seems like vncserver in Mageia 4 (tigervnc-server-1.3.0-2.mga4) does not respect the geometry option. I have started vncserver both as a service and from the command line. I use KDE and this could perhaps also be a KDE issue. If I change the resolution manually with xrandr, then I will get the desired resolution next time I start vncserver.

Re: vncserver geometry

PostPosted: Feb 18th, '14, 22:24
by rramsey
You aren't alone. And now that I've gotten through their stupid captcha and registered, maybe I can help you out. :)

I ended up backing up the xstartup file in ~/.vnc/xstartup and starting fresh. This is my xstartup now:
Code: Select all
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
exec startxfce4


Which I found on the Archlinux Wiki. Substituting the KDE command:
Code: Select all
exec startkde &


Worked for KDE. The server now obeys the geometry setting as it should. I don't know why the ArchWiki entry didn't have & at the end of the startxfce4 command, but everything worked so I don't care. :)