Problem with X11 Root Window


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Problem with X11 Root Window
# 1  
Old 03-29-2004
Problem with X11 Root Window

At school, on an HP-UX or B.11.11 U 9000/785 system, my X11 root window is always set to 8-bit color, but all the child windows are 24-bit. The problem with this, is any background/wallpaper looks extremely ugly with the 8-bit color. Is there any way to make X starts with 24-bit color root window? I hope it doesn't require any kind of root access, since I don't have any on the school machines.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Restacking x11/Xlib Window

I have a full screen top level window (application) on Solaris 10. We have a minimal window manager (DTWM), because of the critical nature of the app. On top of the first application, we have another application with a top level window, that covers the upper left area of the first application. Now,... (0 Replies)
Discussion started by: JenniferKuiper
0 Replies

2. AIX

X11 Font problem

Currently ,we use Exceed,X-Win32,winaxe 7.7,Reflection X software for doing evaluation. 1.Chinese word problem When we use "more filename" to check the file in xterm command console mode from our client Window XP to IBM AIX server.it can show the chinese word,but when we change to grahpic mode... (1 Reply)
Discussion started by: whbun123
1 Replies

3. UNIX for Dummies Questions & Answers

X window/X11 basics

Hi all, Can anybody suggest a good resource to know about X/X-window/X11 etc in linux/unix. Introduction and useful commands. Its little confusing to me. thanks in advance! (0 Replies)
Discussion started by: lramsb4u
0 Replies

4. Solaris

Pop-up window using X11

Anyone know of a way to create a pop-up window using X11? I'm not to sure where to start. I just think it would be neat to do. So I was hoping someone out there had documentation on how to go about this, or if I was going to have to write/compile a program to do so. Thank you! Adelsin (8 Replies)
Discussion started by: adelsin
8 Replies

5. UNIX for Dummies Questions & Answers

X11 problem

Hey guys, I'm on a Solaris 9 boxes and I setup Putty to do X11 forwarding I can get my Xmanager to connect and load Xwindows screens fine. But, sometimes if I lose my putty connection or the app im running crashes X freaks out and deletes my display, setting it to nothing. When I add my display... (2 Replies)
Discussion started by: kingdbag
2 Replies

6. Solaris

How to set DISPLAY to support X11 window server

I can run xclock from root but not able to run in a user (oracle) I am getting this error during installation of ORACLE-10g (10.2) in Solaris-10 (X86).............when I do ./runInstaller when ever try, getting this error....... DISPLAY not set. Please set the DISPLAY and try again. or... (2 Replies)
Discussion started by: gohappy
2 Replies

7. UNIX Desktop Questions & Answers

only root can login through X window

Dear Friends I'm using Hp-unix release b.11.11 and i'm facing a problem to login through telnet session. i can login only by user root but other users can not login. but if i use x window application like (reflection X) all users can login with no problem. please kindly advice me on how to... (0 Replies)
Discussion started by: hai_jab
0 Replies

8. UNIX for Advanced & Expert Users

Root window banner, Please help

Does anyone know how I could display a banner at the root window level and posibly allow users to log in from the root window. I need to display a Warning Banner at the root window level so the users can read the warning then login. Solaris 7 is the OS I am running Thanks in advance (9 Replies)
Discussion started by: rtoba
9 Replies

9. UNIX for Dummies Questions & Answers

Root window banner

Does anyone know how I could display a banner at the root window level and posibly allow users to log in from the root window. I need to display a Warning Banner at the root window level so the users can read the warning then login. Solaris 7 is the OS I am running Thanks in advance (0 Replies)
Discussion started by: rtoba
0 Replies

10. Debian

X11 Forwarding Problem

I have 2 Debian boxes. In my ssh.com client and my putty client, I have X11 fowarding turned on for both boxes. When I connect one, I can xterm with no problem back to my pc. On the other, I keep getting: xterm Xt error: Can't open display: xterm: DISPLAY is not set On both... (3 Replies)
Discussion started by: natter
3 Replies
Login or Register to Ask a Question
XReparentWindow(3X11)						     MIT X11R4						     XReparentWindow(3X11)

Name
       XReparentWindow - reparent windows

Syntax
       XReparentWindow(display, w, parent, x, y)
	  Display *display;
	  Window w;
	  Window parent;
	  int x, y;

Arguments
       display	 Specifies the connection to the X server.

       parent	 Specifies the parent window.

       w	 Specifies the window.

       x
       y	 Specify the x and y coordinatesof the position in the new parent window.

Description
       If the specified window is mapped, automatically performs an request on it, removes it from its current position in the hierarchy, and
       inserts it as the child of the specified parent.  The window is placed in the stacking order on top with respect to sibling windows.

       After reparenting the specified window, causes the X server to generate a event.  The override_redirect member returned in this event is
       set to the window's corresponding attribute.  Window manager clients usually should ignore this window if this member is set to Finally, if
       the specified window was originally mapped, the X server automatically performs a request on it.

       The X server performs normal exposure processing on formerly obscured windows.  The X server might not generate events for regions from the
       initial request that are immediately obscured by the final request.  A error results if:

       o    The new parent window is not on the same screen as the old parent window.

       o    The new parent window is the specified window or an inferior of the specified window.

       o    The specified window has a background, and the new parent window is not the same depth as the specified window.

       can generate and errors.

Diagnostics
       A value for a Window argument does not name a defined Window.

See Also
       XChangeSaveSet(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XReparentWindow(3X11)