CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - General Support
  Error - No protocol specified

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  bkamen
      bkamen
Re: Error - No protocol specified
#10
Peeking in the Member Window
Joined: 2009/12/6
From Central Illinois, USA
Posts: 15
Quote:

richardbaxter wrote:
Note this issue is likely triggered by use of Compiz/Fusion.



I'm not so sure. I'm running CentOS 6.2 and when I do this via xdmcp session (I have Cygwin installed on my Windows workstation), I get the same thing..

$DISPLAY shows my display.
Other "root applications" ask for the password (as does s-c-users) -- and then run, but s-c-users just doesn't go.

When I run from commandline, I get that same error:

No Protocol Specified
system-config-users requires a currently running X server.


feh.

-Ben

p.s. I have compiz/fusion disabled.
Posted on: 2012/5/16 4:46
Create PDF from Post Print
Top
  •  richardbaxter
      richardbaxter
Re: Error - No protocol specified
#9
Newbie
Joined: 2011/9/19
From
Posts: 3
Note this issue is likely triggered by use of Compiz/Fusion.
Posted on: 2012/1/11 12:43
Create PDF from Post Print
Top
  •  r_hartman
      r_hartman
Re: Error - No protocol specified
#8
Professional Board Member
Joined: 2009/3/23
From Netherlands
Posts: 701
Nope. Just fully updated to CentOS6.1. Still works as reported in coment #6
_________________
René

Recommended reading for new forum users: FAQ & Readme First
Posted on: 2011/12/12 10:36
Create PDF from Post Print
Top
  •  richardbaxter
      richardbaxter
Re: Error - No protocol specified
#7
Newbie
Joined: 2011/9/19
From
Posts: 3
People might want to try this again...

This issue has been occurring since Centos 6.0 with the 2.6.32-71.29.1.el6.x86_64/2.6.32-131.21.1.el6.x86_64 kernel (it is still occurring in Centos with the 6.1 2.6.32-131.21.1.el6.x86_64 kernel).

To replicate;

1. gnome-terminal
2. su root
3. open any application requiring X (eg nedit, system-config-users, etc)

Output;

No protocol specified
Posted on: 2011/12/11 22:24
Create PDF from Post Print
Top
  •  r_hartman
      r_hartman
Re: Error - No protocol specified
#6
Professional Board Member
Joined: 2009/3/23
From Netherlands
Posts: 701
Just tested. Everything in gnome-terminal.
As normal user, running 'system-config-users' prompts me (pop-up) for the root-password and then shows the configuration dialog.
As normal user, after running 'su -' to become root, running 'system-config-users' shows the configuration dialog.
No errors.

Edit:
CentOS Linux release 6.0 (Final)
Kernel 2.6.32-71.29.1.el6.x86_64
Fully updated
_________________
René

Recommended reading for new forum users: FAQ & Readme First
Posted on: 2011/9/7 8:35
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Error - No protocol specified
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Sounds like a bug. Does it work in Gnome if you start it from the GUI menu as a normal user, rather than running in a terminal?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2011/9/6 21:02
Create PDF from Post Print
Top
  •  penguin
      penguin
Re: Error - No protocol specified
#4
Newbie
Joined: 2011/6/24
From
Posts: 5
Hi,

Here is an update. I booted into Gnome and did system-config-users in Terminal to get the same error message. (Also going through menu options don't work either. Mouse pointer changes to busy and then nothing happens.) Then I logged out of Gnome and logged back into KDE and tried the same command in Konsole but this time it worked. I typed it as normal user and I was prompted for root password (I got the authentication prompt everytime) then users info window pops up. I logged back into Gnome and yeah it works in Gnome too now. But not for long, only until a reboot is done.
Posted on: 2011/8/29 2:04
Create PDF from Post Print
Top
  •  foxb
      foxb
Re: Error - No protocol specified
#3
Professional Board Member
Joined: 2006/4/20
From Montreal/QC
Posts: 1917
Quote:
system-config-users provides a graphical inderface for adding and removing users and groups to the system


This means Graphical interface so you need X. (You can use freeNX to login remotely to GUI or do it old VNC way)

From terminal you need to use another set of commands.

See here
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-users-tools.html
_________________
Hope this helps,
-----------------------------------------
FoxB -- http://hbcom.info
-------- http://blog.hbcom.info
-----------------------------------------
Posted on: 2011/8/23 20:46
Create PDF from Post Print
Top
  •  nouvo09
      nouvo09
Re: Error - No protocol specified
#2
Jr Board Member
Joined: 2009/9/19
From
Posts: 41
I think you can't do this way

Launch system-config-users as a normal user . Then the system will ask you for the authorization.
Posted on: 2011/8/23 20:41
Create PDF from Post Print
Top
  •  penguin
      penguin
Error - No protocol specified
#1
Newbie
Joined: 2011/6/24
From
Posts: 5
Hi,

I'm running CentOS 6.0 (64-bit), when I try to run system-config-users from Terminal as root, I get this:

[root@dhcppc1 ~]# system-config-users
No protocol specified
system-config-users requires a currently running X server.


I've searched on the internet and some people suggest doing "xhost +localhost" or "xhost +" but it doesn't seem like a permanent solution.

Any help will be appreciated.
Posted on: 2011/8/20 0:15
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com