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 31st March 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default fluxbox crash? HELP

something wrong with my fluxbox or xserver ? I can't fix it...



Reply With Quote
  #2   (View Single Post)  
Old 31st March 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Congratulations. You have just discovered the existence of X11R6 security.

http://lmgtfy.com/?q=x11+magic+cookie
Reply With Quote
  #3   (View Single Post)  
Old 1st April 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,074
Thanked 198 Times in 156 Posts
Default

Haha, great site jggimi.

Personally, I use xinit(1) rather than startx(1) for local machines, it doesn't do most of the xauth security stuff that startx does, which can sometimes leave your system in an unusable state.

startx is just a quick&dirty hack wrapper around xinit.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 1st April 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

I cann't find a solution. How do i fix it?
Reply With Quote
  #5   (View Single Post)  
Old 1st April 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I cann't find a solution. How do i fix it?
The very first link has a discussion of the Magic Cookie, the .Xauthority file, and even the xauth(1) tool.
Reply With Quote
  #6   (View Single Post)  
Old 1st April 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Some people are just incorrigible..

Remove the .Xauthority file from your home directory, also, find and delete all serverauth.???? files.

I also use xinit(4) instead of the startx(1) script, it's just far too crusty.. my preferred method being..
$ /usr/X11R6/bin/xinit -- -nolisten tcp -br

But that's just me, I dislike having X listen on TCP.. and.. a black root is a pretty root.
Reply With Quote
  #7   (View Single Post)  
Old 1st April 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

What if i use xinit instead of startx without removing .Xauthority file?
I been google it for hours and i may guess the problem cause by SSH?(if i'm not wrong). If i run using ssh in xinit will the problem still appear?
Reply With Quote
  #8   (View Single Post)  
Old 1st April 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

I always have this message at halt but I'm not sure is it related to the MIT-MAGIC-COOKIE.


Last edited by bsdnewbie999; 1st April 2009 at 08:34 AM. Reason: Add-on
Reply With Quote
  #9   (View Single Post)  
Old 1st April 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I always have this message at halt but I'm not sure is it related to the MIT-MAGIC-COOKIE.
~SNIP~
You're shutting down the system using halt(8) without first exiting Xorg, not advisable.. and.. a major culprit for lingering temporary files.

And please, read what people are telling you.. it is getting quite repetitive.
Reply With Quote
Old 2nd April 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
You're shutting down the system using halt(8) without first exiting Xorg, not advisable.. and.. a major culprit for lingering temporary files.

And please, read what people are telling you.. it is getting quite repetitive.
Now I noticed that.
Reply With Quote
Reply

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
Rebuilding RAIDframe mirror after crash/power failure sherekhan OpenBSD Installation and Upgrading 7 25th September 2009 10:06 PM
Firefox 2.0 Crash Problem disappearedng FreeBSD General 13 8th November 2008 05:54 AM
How to Crash my FreeBSD server - run portsdb Bruco FreeBSD Ports and Packages 15 1st September 2008 06:28 PM
Java + FF3 = crash graudeejs FreeBSD Ports and Packages 12 3rd August 2008 08:26 AM
Kde crash refuse to load due to splash change whispersGhost Solaris 8 12th June 2008 11:40 AM


All times are GMT. The time now is 06:09 AM.


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