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 30th June 2013
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, etc-Texas
Posts: 47
Thanked 0 Times in 0 Posts
Default .Xauthority .Xlock ??????

Hi folks
Running ver 5.0 (5.3 on order from Calgary)

I am getting the following message when attempting to run X
Code:
    $ startx
       xauth:  file /home/jsg/.serverauth.19781 does not exist
       xauth:  error in locking authority file /home/jsg/.Xauthority
       xauth:  error in locking authority file /home/jsg/.Xauthority
 
      Fatal server error:
      xf86OpenConsole: VT_SETMODE VT_PROCESS failed

      Please consult the The X.Org Foundation support 
      at http://wiki.x.org
      for help. 
      Please also check the log file at "/var/log/Xorg.0.log" for additional information.

      No protocol specified
      No protocol specified
      No protocol specified
      No protocol specified
      xinit: giving up
      xinit: unable to connect to X server: Permission denied
      xinit: server error
      xauth:  error in locking authority file /home/jsg/.Xauthority
LOGFILE
Code:
      [2539040.634] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
        (Operation not permitted)
        Check that you have set 'machdep.allowaperture=1'
        in /etc/sysctl.conf and reboot your machine
        refer to xf86(4) for details
       [2539040.634]   linear framebuffer access unavailable
       [2539040.653] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode$
       [2539041.671] 
       Fatal server error:
       [2539041.876] xf86OpenConsole: VT_SETMODE VT_PROCESS failed
       [2539041.876]
       Please consult the The X.Org Foundation support
       at http://wiki.x.org for help.
       [2539041.876] Please also check the log file at "/var/log/Xorg.0.log" for addit$
       [2539041.876]
I'm over my head here Folks!

Help Appreciated.

Last edited by ocicat; 1st July 2013 at 08:15 AM. Reason: Please use [code] & [/code] tags when posting command output.
Reply With Quote
  #2   (View Single Post)  
Old 30th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,674
Thanked 214 Times in 189 Posts
Default

It's my guess that you started X previously while the superuser, and your $HOME/.Xauthority file is owned by root.

Check the file with ls(1). If it is owned by root, the easiest fix is to delete the file, and restart X. (You may also want to check on the inter-process communications file .ICEauthority also.)

For more information about $HOME/.Xauthority, see the xauth(1) man page. For .ICEauthority, see the iceauth(1) man page.

Last edited by jggimi; 30th June 2013 at 11:34 PM. Reason: iceauth(1) added
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
How to run Xlock over SSH mfaridi FreeBSD General 5 28th May 2008 01:32 PM


All times are GMT. The time now is 02:40 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