Re: Problem with X (disappears) and Sun Directory Server Console

2008-01-29 Thread jose isaias cabrera


Thanks, Jim.

Maybe that was the reason why after creating the new user it worked also. 
Too bad I did not look into the environment variables.  I had used that user 
for a long time and I am sure it was infested with many non-compliant junk.


Thanks.

josé

- Original Message - 
From: "ohaya" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, January 29, 2008 12:59 AM
Subject: Re: Problem with X (disappears) and Sun Directory Server Console



Jose,

For the record, one of my colleagues got it working today, and I think 
that you were "close to the mark" :).  Let me explain...


I had neglected (sorry) to mention that we're in an environment where we 
can't run directly as root (this is on RHEL 4), but instead have to use 
sudo.


What I was doing earlier was ssh'ing to the Linux server, then doing a 
"sudo bash", doing the "export DISPLAY=...", then running the startconsole 
to startup the Sun DS console.


So, today, I was fooling around with this with one of the other guys, and 
instead of doing the "sudo bash", he just did the "export DISPLAY=...", 
and then just "sudo ./startconsole", and, voila, we got the console GUI 
and were able to login without it disappearing.


I had not tried that previously, because I had thought that the "export 
DISPLAY=..." wouldn't have survived the sudo, but I guess it does.


I'm not 100% sure what the problem was with doing the "sudo bash", but I 
believe it had something to do with "who we were logged-in as", so I think 
that you were pretty close.  Maybe someone here who's more familiar with 
sudo, etc. and Cygwin X might be able to provide an explanation.


Anyway, thanks for continuing to followup with this, and hope that this 
helps someone someday :)...


Later,
Jim



jose isaias cabrera wrote:


Didn't think so either, but it was a thought... I spent many hours trying 
to figure it out, and that was what fixed it.  Sorry.



- Original Message - From: "ohaya" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 28, 2008 1:51 AM
Subject: Re: Problem with X (disappears) and Sun Directory Server Console



Jose,

It doesn't seem that that would be the problem in our case, since, as I 
mentioned in original message, if I use Hummingbird Exceed as my X 
server (with logging into the server with Sun DS as the same Linux 
account), it works perfectly.


That Xwin.log that I included in my msg seems to indicate that it's 
having a problem with starting the Clipboard.  Would that cause this 
problem, and if so, how to fix it?


Jim



jose isaias cabrera wrote:



Sorry about that.  I created the account at linux server which I wanted 
to connect to.



- Original Message - From: "ohaya" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, January 27, 2008 7:29 PM
Subject: Re: Problem with X (disappears) and Sun Directory Server 
Console




Jose,

When you say "create a new account", which account did you mean?

FYI, both myself and two other colleagues tried this, each with our 
own Windows accounts and accounts on the Linux machine where Sun DS is 
on, and all 3 of us (so far) have had this problem.


Jim


jose isaias cabrera wrote:



I don't know if it is the same or not, but I had a similar problem 
with a Gentoo server.  I tried everything, but once I recreated the 
account, I was able to connect.  Try creating a new account and give 
it a try. Just a thought...


thanks,

jic

"ohaya" wrote,


Hi,

I'm new here, but I'm trying to use Cygwin X to access the 
administration console for Sun Directory Server 6.1.  I run 
startxwin.bat, get the xterm window, run "xhost +" and then SSH to 
the server, export DISPLAY, and start the console using a command 
called "startconsole".  This causes the console GUI to appear but 
when I type in my username/password, everything, including the 
original xterm window disappears.


I've tried access the admin console using Hummingbird Exceed, and 
that seems to work fine.  This problem only occurs when I use Cygwin 
X.


The XWin.log file has the following in it after this happens:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 
_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II) 
XF86Config is not supported (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits 
per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 
height: 768 depth: 16 winInitVisualsShadowGDI - Masks f800 
07e0 001f BPRGB 6 d 16 bpp 16 null screen fn ReparentWindow 
null screen fn RestackWindow InitQueue - Calling pthread_mutex_init 
InitQueue - pthread_mutex_init returned InitQueue - Calling 
pthread_cond_init InitQueue - pthread_cond_init returned 
winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello 
winInitMultiWindowWM - Calling pthread_mutex_lock () 
winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM 
extension disabled due to lack of kernel support XFree86-Bigfont 
extension local-client 

Re: Help with Font settings

2008-01-29 Thread Holger Krull
Vanderhaden, Peter schrieb:
> I'm running Cygwin/X and have figured out how to run terminals for SSH
> access.  The problem is that the font is extremely small, and the colors
> are terrible.  I've figured out how to chang ethe background color, but
> haven't been able to change the size or color of the fonts.  I'd also
> like to be able to use underlined and bold fonts.  Can anyone help me

I'm not quite sure which fontsize you mean, because you don't need X11 to run 
ssh. But xterms font size and type can be set in .Xdefaults (you have to create 
it) with

XTerm*faceName: bitstream vera sans mono
XTerm*faceSize: 14


--
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/



Help with Font settings

2008-01-29 Thread Vanderhaden, Peter
I'm running Cygwin/X and have figured out how to run terminals for SSH
access.  The problem is that the font is extremely small, and the colors
are terrible.  I've figured out how to chang ethe background color, but
haven't been able to change the size or color of the fonts.  I'd also
like to be able to use underlined and bold fonts.  Can anyone help me
out?
Thanks,
Peter V.

--
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/