LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices


Reply
  Search this Thread
Old 10-16-2016, 10:54 AM   #1
reaz_mahmood
LQ Newbie
 
Registered: Sep 2016
Location: Copenhagen, Denmark
Posts: 6

Rep: Reputation: Disabled
Requires a running X server for system-config-users


I am on centos7 . It is on multi user target. When i am trying to to run system-config-users ( It is installed) i am getting " system-config-users requires a currently running X server"
How to solve these problem.
Thanks in advance.
 
Old 10-17-2016, 02:07 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
system-config-users is a graphical program so it can only run in X. You have two options:

1) If you have X on your machine, switch to the graphical target and then run the program.

2) Use command line tools like usermod and groupmod.
 
Old 10-17-2016, 03:07 PM   #3
reaz_mahmood
LQ Newbie
 
Registered: Sep 2016
Location: Copenhagen, Denmark
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
system-config-users is a graphical program so it can only run in X. You have two options:

1) If you have X on your machine, switch to the graphical target and then run the program.

2) Use command line tools like usermod and groupmod.
Thanks for the reply. Would you please elaborate the first point? I do have graphical target installed in my system. Does that means i also have X server running in my system?
I can switch into graphical mode and use the utility that i know. Actually my query was "is there a way i could use only the system-user-config utility while i am in multi-user target without booting into graphical mode?"

I am aware of the command line utilities for managing users.
Thnaks.
 
Old 10-18-2016, 01:40 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
Quote:
Originally Posted by reaz_mahmood View Post
Thanks for the reply. Would you please elaborate the first point? I do have graphical target installed in my system. Does that means i also have X server running in my system?
I can switch into graphical mode and use the utility that i know. Actually my query was "is there a way i could use only the system-user-config utility while i am in multi-user target without booting into graphical mode?"

I am aware of the command line utilities for managing users.
Thnaks.
I haven't used systemd for a while, but as far as I can remember, the multi-user target is command-line only and the graphical target starts a display manager which switches on X. You can check this by using the command ps ax|grep X after booting to each target. This will tell you if X is running or not.

You can't use any graphical program outside the X environment. But it is possible that there is a similar utility to system-user-config that uses ncurses.
 
Old 10-19-2016, 03:28 AM   #5
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
No. It is impossible to run an X11 *client* (which system-user-config is) withOUT any X11 *server*.
https://en.wikipedia.org/wiki/X_Window_System
 
Old 11-02-2016, 09:50 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
I would strongly encourage you to familiarize yourself with both methods of doing these tasks: "graphical GUIs," and "the command line."

Most of the time, you'll be working with "headless" virtual servers which do not have "X" installed because there is no perceived need for it. You will manage those servers with command-line commands.

Now, that having been said, it is also possible (just, "uncommon") to use "X" to control a headless server or a virtual machine ... even one that doesn't have a graphics-card. Unlike Microsoft Windows with its kludgy, bitmap-scraping-based solution for remote graphics, "X" is a client/server windowing system. You can connect to an "X" server located anywhere. (On your own computer, there's actually both an "X Server" and an "X Client" program running at the same time.) Some companies use this, but most do not.

While it is very convenient to initially use graphic tools to accomplish these things, during your self-education it is quite important that you understand that "there's more than one way to do it," and that you are equally comfortable using both.

Last edited by sundialsvcs; 11-02-2016 at 09:52 AM.
 
  


Reply

Tags
centos7, x server



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WordPress requires that your web server is running PHP error .. jsaravana87 Linux - Server 4 08-13-2011 07:36 PM
Use of System-config-users not capturing activity FyveSyx Linux - Security 3 12-16-2010 10:41 AM
system-config-display in RHEL5 for non root users Teeeravis Linux - Enterprise 2 11-25-2008 12:21 AM
system-config-users error in RHEL4 madhero Linux - Enterprise 2 02-12-2008 12:18 AM
hooks for system-config-users marozsas Linux - Distributions 4 07-20-2006 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration