Solved

FreeBSD X-Windows for Non-Root

Posted on 2002-07-25
2
338 Views
Last Modified: 2010-04-21
I recently installed FreeBSD and X-Windows.  After running XF86config I can startx and run KDE or Gnome as root with no problems.  

However, if I log out and try to run startx as any other user the X-Windows server shuts down.  

Any ideas?  More detail needed?  Please let me know!
0
Comment
Question by:nathan8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
bushmannt earned 100 total points
ID: 7180577
freebsd, being a good, secure os, comes with X with suid bit turned off, so you can use it as root, but not as any other user.  so if you need it for different users, find your X server (there's usually a link from X -> XFree86)
and set the suid bit on, i have these permissions:
[root@beastie /usr/X11R6/bin ]# ll XFree86
-rwsr-xr-x  1 root  wheel  1602500 Jun 10 00:08 XFree86*

you can do that by doing chmod 4755 XFree86
0
 
LVL 1

Author Comment

by:nathan8
ID: 7183775
Thank you.

Now I can use my non-root account to access KDE.  

-Nate
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question