QtCreator over VNC problem

I'm running the latest Jessie Raspbian with the Pixel stuff in it. Raspberry Pi 3.

I've installed the latest QtCreator from the repository and run it. It works perfectly - as far I can tell.

However, when I try to run it using tightvcserver and the Vinagre Remote Desk Top Viewer I hit a problem. QtCreator starts up and runs normally but if I try to enlarge its window it terminates.

I can reduce its size and then enlarge it but not (I'm guessing) beyond its original size. Maximizing always fails.

Thinking it might be a permissions problem I tried running tightvncserver as root. It makes no difference.

Does anybody understand this behaviour? Can I start Qtreator maximized?

Another Dave

--
Change nospam to techie
Reply to
Another Dave
Loading thread data ...

I'm using QtCreator with the x11vnc server + xrdp, and run it maximised with no problems. The only issue I've had with it on the Pi and other Linux boxes is that I sometimes get a blank splash page covering the majority of the window, but this goes away when you select the edit page.

---druck

Reply to
druck

Could you tell me the command line for running x11vnc? I'm having difficulty getting it going.

Another Dave

--
Change nospam to techie
Reply to
Another Dave

I use systemd to start it on boot up, so its always available for x11rdp. Copy the files in to the location shown below and issue:-

sudo systemctl install x11vnc.service

That gets the command line options from /etc/default/x11vnc, I've got it set to use display :0 so it always uses the default session rather than creating a separate one. You'll also need to store the password which you can do with:-

sudo x11vnc -storepasswd /etc/default/x11vnc.pass

:::::::::::::: /etc/systemd/system/x11vnc.service :::::::::::::: [Unit] Description=VNC Server for X11 Requires=display-manager.service After=display-manager.service

[Service] Type=forking EnvironmentFile=-/etc/default/x11vnc ExecStart=/usr/bin/x11vnc $X11VNC_OPTS ExecStop=/usr/bin/x11vnc -R stop Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target

:::::::::::::: /etc/default/x11vnc :::::::::::::: # Default settings for x11vnc-server. This file is sourced by /bin/sh from # /etc/init.d/x11vnc.

# Options to pass to x11vnc X11VNC_OPTS=-xkb -nowireframe -forever -auth /var/run/lightdm/root/:0

-display :0 -rfbauth /etc/default/x11vnc.pass -rfbport 5900 -o /var/log/x11vnc.log -repeat -bg -localhost

Reply to
druck

Thanks! I'll try that tomorrow.

Another Dave

--
Change nospam to techie
Reply to
Another Dave

I think I've nailed the problem. I did a lot of searching before I came here and, subliminally, something told me the Welcome page was the problem. Certainly if I go to Help>About Plugins and uncheck Welcome everything seems to work normally.

Being me, I maximised the window and re-checked Welcome with the result I had to go back to my backup :(

Many thanks for your help.

Another Dave

--
Change nospam to techie
Reply to
Another Dave

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.