The file created by Xconfigurator /etc/X11/X on my SPARC with CG6 framebuffer to the Xsun server is as follows: exec ../../usr/X11R6/bin/Xsun -fp unix/:-1 $@ It does not work with a relative path, but with: exec /usr/X11R6/bin/Xsun -fp unix/:-1 $@ it's fine. I wondered if this is a problem because of an assumption that the current working directory will be the users home directory? Also that the home directory will only be two levels deep, i.e. /home/bar rather than /home/foo/bar ? I have not looked at this on other architectures, but it could be present on all...
What version of Xconfigurator? On my ultra1 I'm seeing a symlink, not a script. The symlink will correctly find the server with a relative path while a script won't bash$ ls -al /etc/X11/X lrwxrwxrwx 1 root root 26 Mar 23 15:01 /etc/X11/X -> ../../usr/X11R6/bin/Xsun24*
I'm running Xconfigurator-4.2.3-3 from the RHL 6.0 distribution. The system was a clean install not an upgrade. I can 'rm /etc/X11/X', run Xconfigurator again and it will create a file: > ls -la /etc/X11/X -rwxr-xr-x 1 root root 58 Jun 8 16:22 /etc/X11/X* which contains: > cat /etc/X11/X #!/bin/bash exec ../../usr/X11R6/bin/Xsun -fp unix/:-1 $@
OK, got it. I'm running Xconfigurator-4.2.2. As a workaround, edit /etc/X11/X and remove the relative path. Preston, this one's yours ...
matt, do you know why this was changed?
Fixed in 6.1