Solved

FreeBSD X-Windows for Non-Root

Posted on 2002-07-25
2
326 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using Grep to Find a file 8 93
Linux :how to provide sudo access to the user 13 97
UNiX Script filesystem space usage Part2 54 87
Linux: disable vim auto-comment 7 120
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

810 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