0
I'm using fedora 21 remotely from Win7 remote desktop client. But the tigervnc screen resolution size is not properly set automatically. So I have to enter the following command every time after the gnome3 session begins.
xrandr --output VNC-0 --mode 1280x1024
I want to run this command automatically every time when gnome session begins. How can I do this? By the way my current ".vnc/xstartup" is like following.
$ cat $HOME/.vnc/xstartup
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -iconic &
dbus-launch --exit-with-session gnome-session &
Any idea?