DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th January 2011
jewsofeast jewsofeast is offline
Port Guard
 
Join Date: Nov 2010
Posts: 26
Lightbulb 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
Reply With Quote
  #2   (View Single Post)  
Old 8th January 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

Code:
$ xsetroot -solid black
will set the background to solid black. Don't ask where to put it in your case, because I don't know
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 8th January 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

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.
Reply With Quote
  #4   (View Single Post)  
Old 10th January 2011
jewsofeast jewsofeast is offline
Port Guard
 
Join Date: Nov 2010
Posts: 26
Lightbulb

Quote:
Originally Posted by J65nko View Post
Code:
$ xsetroot -solid black
will set the background to solid black. Don't ask where to put it in your case, because I don't know
I need to add

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
Reply With Quote
  #5   (View Single Post)  
Old 10th January 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

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
So it is not an configuration option in a config file. It needs to be run/executed.

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 had to add the xsetroot command to this xinitrc script.

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 could have a look there
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 10th January 2011
jewsofeast jewsofeast is offline
Port Guard
 
Join Date: Nov 2010
Posts: 26
Lightbulb

Quote:
Originally Posted by J65nko View Post
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
So it is not an configuration option in a config file. It needs to be run/executed.

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 had to add the xsetroot command to this xinitrc script.

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 could have a look there
Hi,

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
I gave examples from NetBSD, I have Net, Open & DragonFly. I have this issue with NetBSD and OpenBSD. I didnt install xdm in DragonFly and I dont get that in there.

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.
Reply With Quote
Reply

Tags
xorg

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal background goes red stobbard OpenBSD General 5 11th May 2010 09:42 AM


All times are GMT. The time now is 04:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick