Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I have a question. Our customer changed Login Background, and he wants to move Login Dialog Box to suitable position. I have found DECW$SYSTEM_DEFAULTS:JDECW$LOGIN.DAT and tried to change it, but I cannot. Please let me know how to move the position of Login dialog box, if any. Thanks in advance, Chiemi Satoh /TSC/CSC/CS/Japan
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3618.1 | Do it from program control...can you say hack ? | WIDGIT::WEST | SCARY : A programmer with a screwdriver. | Fri Nov 09 1990 02:43 | 8 |
I wrote a logo program that went searching for the prompter box and when found...just moved it to where I wanted it. You could probably do the same thing. -=> Jim <=- | |||||
3618.2 | Drag it with WINMGR | VINO::MCARLETON | Reality; what a concept! | Fri Nov 09 1990 13:51 | 9 |
You can also start a window manager from the SYSTEM account and just drag the login box where you need it. It will not come back that on the next login though. $ set display/create/node=0/trans=local $ run sys$system:decw$winmgr MJC | |||||
3618.3 | UFP::MURPHY | Rick - Washington URC | Sat Nov 10 1990 22:07 | 4 | |
ufp::sys$public:logo.c and logo.bit. You'll want to use your own bitmap, I suspect.. this program finds the login box and moves it to the bottom of the screen. Hack, as mentioned earlier - but it works. -Rick | |||||
3618.4 | Thank you !!! | EWBV12::SATOH | Tue Nov 13 1990 22:53 | 55 | |
I tried your LOGO program and now it works well. I modified the program as follows, because the XFetchName routine returns no name on VMS V5.3-1 (Japanese-version). I suspect that the name of the login dialog box changed before. Chiemi Satoh . . . static int MoveLoginWindow(display, rootWindow) Display *display; Window rootWindow; { Window root, parent, *children; int nchildren; char *name; int i; int rootX, rootY, rootWidth, rootHeight, rootBw, rootDepth; XGetGeometry(display, rootWindow, &root, &rootX, &rootY, &rootWidth, &rootHeight, &rootBw, &rootDepth); XQueryTree(display, rootWindow, &root, &parent, &children, &nchildren); if (nchildren) { register int i; register Window *child; Window root; int x, y; unsigned width, height, bw, depth; int newX, newY; XClassHint class_hint; int stat; for (i = 0, child = children; i < nchildren; ++i, ++child) { XGetGeometry (display, *child, &root, &x, &y, &width, &height, &bw, &depth); if( (stat=XGetClassHint( display, *child, &class_hint )) != 0 ){ printf( "%s\n", class_hint.res_class ); if (strcmp(class_hint.res_class,"jdecw$login") == 0) { newX = (rootWidth - (width-bw))/2; newY = rootHeight - height - bw; XMoveWindow(display, *child, newX, newY); XSync(display, 0); XFree(children); return(1); } } MoveLoginWindow(display, *child); } XFree(children); return(0); } } | |||||
3618.5 | How does this work ? | PLAYER::DEVALCK | De Valck Patrick ADG Brussels @BRO | Wed Nov 14 1990 03:02 | 6 |
If you run this program, will it display the pixmap you create and move down the login dialog box ? I had defined the symbol DECW$LOGINLOGO pointin to a command file containing as its only statement a run of the logo program. All I get is that now I no longer have the digital logo, the login box stays as it was. I also had a process called LOGO wich was running the image. What am I doing wrong ? I am running DW V3 IFT under VMS V5.4. | |||||
3618.6 | need more info... | WIDGIT::WEST | SCARY : A programmer with a screwdriver. | Wed Nov 14 1990 09:31 | 12 |
What does your com file look like ? Are you doing a SET DISPLY/CREATE inside the com file ? Are you authorized access to the server ? And as a side issue, is DECW$LOGINLOGO new for VMS 5.4 ? I've always used DECW$LOGIN_BACKGROUND. -=> Jim <=- | |||||
3618.7 | Info | PLAYER::DEVALCK | De Valck Patrick ADG Brussels @BRO | Thu Nov 15 1990 02:55 | 6 |
The com file contains one line : $ RUN LOGO.EXE with no display set. How do I find out if the logo process is authorized access to the server ? DECW$LOGINLOGO is new with DW V3 (IFT). What more should I look for ? What info would you like ? | |||||
3618.8 | More info | PLAYER::DEVALCK | De Valck Patrick ADG Brussels @BRO | Thu Nov 15 1990 05:29 | 2 |
I tried it with a SET DISPLAY/CREATE/NODE=0 command before the run. Still no luck. I also created a log file and no errors in the log file ! | |||||
3618.9 | Need to tell server who has access | WIDGIT::WEST | SCARY : A programmer with a screwdriver. | Sat Nov 17 1990 17:38 | 18 |
You probably need the file SYS$MANAGER:DECW$SERVER_ACCESS_ALLOWED.DAT to be created. I haven't yet played with V3.0...can someone tell me if this file mechanism still works to grant access to the server when no one is logged in. This file contains ASCII text designating the transport, node, and username list that will have access to the server. ...and you do need the SET DISPLAY/CREATE in your com file. -=> Jim <=- | |||||
3618.10 | DECWIN::FISHER | I like my species the way it is" "A narrow view... | Mon Nov 19 1990 12:20 | 3 | |
It's still there. Burns |