Solved

FreeBSD X-Windows for Non-Root

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where to get php 5.6 for AIX 7.1? 5 111
aix tls version 6 419
Shell Script on AIX 7 112
Adding a continue option in a script 9 55
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

856 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