|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Grey checkered background before kdm
Hi,
I need to add -noretro to xorg invocation, a grey checkerboard appears before kdm start, i understand that that is the default background of xdm. i want to make it black, can someone help. Best, Dave |
|
|||
Code:
$ xsetroot -solid black
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
This "grey checkered background" is called the root weave, it is configured by the X server.. not the window manager.
Upstream Xorg developers have mostly decided to transition to a "black root window" instead of the classic weave, but OpenBSD's xenocara retains this. For gradient images, they are plenty of ports capable of setting a image.. xsetroot can be used from your .xinitrc/.xsession files to configure a solid colour, read the man page. |
|
|||
Quote:
xsetroot -solid black to a config file that invokes X. I've several of those in /etc/X11/xdm/Xsession and ~/.xinitrc, ~/.xsession. I tried in every config file but it didn't work. Best, Dave |
|
|||
xsetroot -solid black is a program/executable
Code:
$ ls -l $(which xsetroot) -rwxr-xr-x 1 root wheel 15656 Mar 26 2010 /usr/X11R6/bin/xsetroot I use startx, a shell script, which invokes /etc/X11/xinit/xinitrc Code:
$ ls -l $(which startx) -rwxr-xr-x 1 root wheel 4517 Mar 26 2010 /usr/X11R6/bin/startx $ ls -l /etc/X11/xinit/xinitrc -rw-r--r-- 1 root wheel 1057 Jan 10 10:01 /etc/X11/xinit/xinitrc I never used xdm, but the X11 directory in /etc has an xdm directory Code:
$ ls -l /etc/X11/ total 40 drwxr-xr-x 2 root wheel 1024 Apr 5 2010 app-defaults drwxr-xr-x 2 root wheel 512 Apr 5 2010 fs drwxr-xr-x 2 root wheel 512 Apr 5 2010 twm drwxr-xr-x 3 root wheel 512 Apr 5 2010 xdm drwxr-xr-x 2 root wheel 512 Apr 5 2010 xinit drwxr-xr-x 11 root wheel 512 Mar 26 2010 xkb -rw-r--r-- 1 root wheel 4477 Apr 9 2010 xorg.conf drwxr-xr-x 2 root wheel 512 Apr 5 2010 xsm
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
This is what I got - Code:
NBSD# ls -l $(which xsetroot) -r-xr-xr-x 1 root wheel 19589 Nov 6 21:14 /usr/X11R7/bin/xsetroot Code:
ls -l $(which startx) -r-xr-xr-x 1 root wheel 4566 Nov 6 21:14 /usr/X11R7/bin/startx Code:
NBSD# ls -l /etc/X11/xinit/xinitrc -r--r--r-- 1 root wheel 715 Nov 6 21:14 /etc/X11/xinit/xinitrc Code:
NBSD# ls -l /etc/X11/xdm total 60 -r-xr-xr-x 1 root wheel 385 Nov 6 21:14 GiveConsole -r-xr-xr-x 1 root wheel 244 Nov 6 21:14 TakeConsole -r--r--r-- 1 root wheel 3597 Nov 6 21:14 Xaccess -r-xr-xr-x 1 root wheel 187 Nov 6 21:14 Xreset -r--r--r-- 1 root wheel 2401 Nov 6 21:14 Xresources lrwxr-xr-x 1 root wheel 11 Nov 6 21:14 Xservers -> Xservers.ws -r--r--r-- 1 root wheel 377 Nov 6 21:14 Xservers.fs -r--r--r-- 1 root wheel 494 Nov 6 21:14 Xservers.ws -r-xr-xr-x 1 root wheel 1031 Nov 6 21:14 Xsession -r-xr-xr-x 1 root wheel 171 Jan 7 01:26 Xsetup_0 -r-xr-xr-x 1 root wheel 165 Jan 6 18:07 Xsetup_0~ -r-xr-xr-x 1 root wheel 185 Nov 6 21:14 Xstartup -r-xr-xr-x 1 root wheel 303 Nov 6 21:14 Xwilling -r--r--r-- 1 root wheel 1350 Nov 6 21:14 xdm-config Now I need to append '/usr/X11R7/bin/startx', let me know if thats the one. If you can could you please confirm - Xorg -configure -noretro I guess this wont load the ckerboard. Best, Dave Last edited by jewsofeast; 10th January 2011 at 02:59 PM. |
Tags |
xorg |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Terminal background goes red | stobbard | OpenBSD General | 5 | 11th May 2010 09:42 AM |