DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Security

NetBSD Security Securing NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5 Days Ago
notooth notooth is offline
New User
 
Join Date: Jul 2015
Posts: 3
Thanked 0 Times in 0 Posts
Default Cannot start X from a non-root account

Hi everyone,

I got this error when trying to start x from a non-root account. Can anyone help me solve this issue?

Quote:
$ startx
xauth: timeout in locking authority file //.serverauth.43
xauth: timeout in locking authority file //.Xauthority
Reply With Quote
  #2   (View Single Post)  
Old 5 Days Ago
cynwulf cynwulf is offline
Shell Scout
 
Join Date: Mar 2014
Posts: 88
Thanked 0 Times in 0 Posts
Default

Check the permissions on those files (and remove if owned by root) and your user's home directory.
Reply With Quote
  #3   (View Single Post)  
Old 5 Days Ago
kamil kamil is offline
Port Guard
 
Join Date: Mar 2015
Posts: 22
Thanked 0 Times in 0 Posts
Default

How have you installed? I had something similar it was due to untarballing without all these flags to preserve permissions, including setuid.

The other thing might be that you are without your $HOME directory. It seems that you are logged into /.
Reply With Quote
  #4   (View Single Post)  
Old 4 Days Ago
fn8t's Avatar
fn8t fn8t is offline
Real Name: Ego
Shell Scout
 
Join Date: May 2014
Location: Tao
Posts: 115
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kamil View Post
How have you installed? I had something similar it was due to untarballing without all these flags to preserve permissions, including setuid.

The other thing might be that you are without your $HOME directory. It seems that you are logged into /.
That is a great point. If you didn't setup your user account during installation you need to supply the "-m" switch and probably "-G wheel" when using useradd.

Last edited by fn8t; 4 Days Ago at 06:49 PM.
Reply With Quote
  #5   (View Single Post)  
Old 4 Days Ago
notooth notooth is offline
New User
 
Join Date: Jul 2015
Posts: 3
Thanked 0 Times in 0 Posts
Default

I have just made a home directory for the non-root user, and I can start the X now. Thank you all.
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
Root Account Timeout Peter_APIIT OpenBSD Security 13 1 Week Ago 02:56 AM
Prevent Brute Force Attack on Root Account Peter_APIIT OpenBSD Security 8 2 Weeks Ago 02:22 AM
How to delete account? khdf Feedback and Suggestions 5 9th May 2008 09:05 PM


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


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