7

I'm running Eclipse on a Linux server and I'm displaying it locally through xwindow forwarding using xming. Whenever I create something like a subwindow (like opening project properties or the Project Explorer when when pulled out of the main window), these windows are not resizable. When running natively on Linux, the resize is possible without a problem. As some of the subwindows are too small to be viewed properly, this can be quite problematic.

Any idea what might help?

Journeyman Geek
  • 133,878
private_meta
  • 2,474

5 Answers5

16

I have just same problem using Xming & Eclipse. To solve this problem, you can manually edit Workspace/.metadata/.plugins/*/dialog_settings.xml.

You can find problematic value doing like :

$ cd workspace/.metadata/.plugins
$ grep WIDTH */*.xml

   or

$ grep HEIGHT */*.xml

Doing this, you can easily find too small/big values.

I think Xming is great work, but I have some personal reason to not to donate this.

5

I seem to have found a better solution for it, there's an open alternative to Xming called VcXsrv, which seems to be active at the moment. And yes, its latest version allows resizing child windows without issue.

yktoo
  • 163
1

In case edition of org.eclipse.ui.workbench.texteditor/dialog_settings.xml fil eis overriden by Eclipse again and again, the solution is to first close Eclipse, then edit the file and finally eliminate write permissions (as root) prior to restart Eclipse:

chmod -v a-w org.eclipse.ui.workbench.texteditor/dialog_settings.xml

nibrot
  • 11
0

I had a similar problem with Xming and Eclipse, but it turned out to be the -nodecoration parameter which I had used to solve a clipboard problem, as detailed here Xming clipboard only works one way

Removing -nodecoration from the call to Xming means the window is now displaying correctly, but the clipboard doesn't work anymore

I might now try VcXsrv https://sourceforge.net/projects/vcxsrv/

DAB
  • 131
-2
# cd
# vi .bashrc
alias ec='/home/swp/jp/ec.sh; eclipse &'
# su -

# vi /home/swp/jp/ec.sh
cp -f /root/workspace3/.metadata/.plugins/org.eclipse.search/dialog_settings.xml.org /root/workspace3/.metadata/.plugins/org.eclipse.search/dialog_settings.xml

cp -f /root/workspace3/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml.org /root/workspace3/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml

# chmod 755 ec.sh
# ec
nKn
  • 5,832