Cannot start system-config-users

Run system-config-users but it returns the error

system-config-users requires a currently running X server.

What should I do ?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
And are you running an X-server? Are you trying to start it through a Terminal in Gnome/KDE?

Did you try with "xhost +" and then starting system-config-users?
AXISHKAuthor Commented:
type xhost on command prompt but it returns command not found...

How to configure the LInux to run x-server ? Tks
Zephyr ICTCloud ArchitectCommented:
You should check if X11 is installed on your system.

To find out what you need to install to get xhost use something like this:

yum whatprovides "*/xhost

Open in new window

It's probably something like xorg-x11-server-utils

Also check with "yum grouplist" to see if you can install the X11 environment as a whole.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

joolsSenior Systems AdministratorCommented:
what do you want to do to users?
You can add/delete/modify on the command line easy enough.

Is there a system-config-users-tui?
AXISHKAuthor Commented:
yum whatprovides "xhosts*" will display :

xorg-x11-server-utils-7.7-2.el6.x86_64  : X.Org X11 X server utilities

How to install it further ? Tks
Zephyr ICTCloud ArchitectCommented:
You can install it with "yum install xorg-x11-server-utils"

If you want to install it via groupinstall (this will install much more though, so I don't know what you want to achieve, is it a server or desktop?) you can do something like this:

"yum groupinstall "X Window System" "Desktop" "Desktop Platform" "General Purpose Desktop""

WARNING this installs a complete desktop environment

You can slim it down with only doing something like this:

"yum groupinstall "X Window System""
AXISHKAuthor Commented:
after installing the package, run

xhost   or
xhost +

xhost: unable to open display ""

Any idea ? Tks
Zephyr ICTCloud ArchitectCommented:
Type in "DISPLAY" in the terminal followed by enter, does it give anything?
AXISHKAuthor Commented:
-bash: DISPLAY: command not found
Zephyr ICTCloud ArchitectCommented:
hmmm, ok ... Probably not installed then.

Try this:

export DISPLAY=your_hostname:0.0

Open in new window

Where "your_hostname" is the name of your system, for example "box.domain.dns"

After that try your command again
AXISHKAuthor Commented:

#export DISPLAY=sleung.local:0.0
xhost unable to open display "sleung.local:0.0"

Any  idea ?

Zephyr ICTCloud ArchitectCommented:
Do the export again, like this:

export DISPLAY=":0.0"

Open in new window

export DISPLAY="your_ip:0.0"

Open in new window

try "xhost +"

If this still doesn't work what's the result of this: "echo $hostname"
AXISHKAuthor Commented:
Zephyr ICTCloud ArchitectCommented:
Can you check the logs to see if we get a hint of what it is that is missing or wrong?

might be in /var/log/Xorg.0.log

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joolsSenior Systems AdministratorCommented:
it doesnt appear to be running in an xwindow environment still.

do you really need the graphical tool to manage users? It seems a bit overkill and if its a server I wouldnt put and graphical environment on it.
AXISHKAuthor Commented:
Tks. Will give another try later, Tks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.