View Single Post
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#131
Originally Posted by AndrewX192 View Post
I was able to work around this issue by running these commands after connecting:

WID=$(wmctrl -l|awk '(NF == 4)&&($4 == "NX") {print $1}')
wmctrl -i -r $WID -b toggle,fullscreen&&/usr/share/snx/set-focus $WID
snx has a timeout of 10 s to wait for the NX window to appear to apply those settings, but it seems it is not enough. I have uploaded a new release with the timeout increased to 30 s, please try it.
 

The Following User Says Thank You to maacruz For This Useful Post: