PDA

View Full Version : Cannot connect to X server


samnh
29-Nov-2011, 05:18 AM
Hi

I am using beyond compare 3 for linux machine and wrote the file report script to generate difference report for a jars. When I executed the script it gives "Cannot connect to X server" error and stops. I have linux machine which do not have GUI so I only want it to use command line scripts.

Please suggest the resolution for this.

Sam

Aaron
29-Nov-2011, 08:16 AM
Hello,

You mention you do not have a GUI, but running BC3 still requires X-Windows. Is X-Windows installed? From your error message, I would suspect it is, since without it BC3 would not run.
http://www.scootersoftware.com/support.php?zz=kb_linuxtips

If it is, please try running BC3 from the graphical interface and connect to your server. This may help display additional information or error messages. For example, do you have a saved password with your FTP Profile? Once you are able to connect via the graphical interface, you should be able to connect to the FTP with script as well.

UPDATE: I just talked with one of the developers, and this error message may be generated by a lack of X-Windows. X-Windows is one of our System Requirements, and BC3 cannot run as a console-only application:
http://www.scootersoftware.com/download.php?zz=kb_linux