problems with X11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

problems with X11

Fabrizio Salvatore
Hi,

I've setup cygwin on my laptop and I was trying to use 'rxvt' to define
an xterminal.

I run startxwin.bat in /usr/X11R6/bin/, where I've done the following:

SET CYGWIN_ROOT=\cygwin

SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
SET XNLSPATH=/usr/X11R6/lib/X11/locale

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix

run XWin -multiwindow -clipboard -silent-dup-error

Then, I have created the following shortcut to connect directly to one
of the computers at the university:

D:\cygwin\bin\rxvt.exe -ls -si -sk -sb -fg black -bg Wheat -fn 7x14 -g
120x20 -T "machinename.domain" -e ssh -X -l mylogin machinename.domain

Now, if I run ROOT, I have the following error message:

Error in <RootX11ErrorHandler>: BadAtom (invalid Atom parameter) (XID:
39, XREQ: 18)

and I cannot open any canvas:

Error in <RootX11ErrorHandler>: BadAccess (attempt to access private
resource denied) (XID: 58, XREQ: 102)

Any idea what is the problem ?

If, instead of ROOT, I run other programs opening graphic windows (like
PAW or emacs), I don't have such problem.

Any idea what this is related to ?

Thanks for any help/suggestion !

                                Fab
--
#############################################################
Dr P-Fabrizio Salvatore            | Department of Physics
Phone: +44 (0)1784 44 3479         | Royal Holloway College
Fax: +44 (0)1784 47 2794           | University of London
e-mail: [hidden email]     | Egham, Surrey, TW20 0EX
http://www.pp.rhul.ac.uk/~salvator | United Kingdom (UK)
#############################################################

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/