LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-23-2014, 05:46 AM   #1
velociraptor
LQ Newbie
 
Registered: Apr 2014
Distribution: RHEL
Posts: 5

Rep: Reputation: Disabled
Could not parse arguments: Cannot open display:


I am a user of Red Hat Enterprise Linux Server release 6.4 (Santiago).

My problem is: every time I would like to open the display, for example: nautilus, I always get message:
(nautilus:15097): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
X11 connection rejected because of wrong authentication.
Could not parse arguments: Cannot open display:

Even, if I have added '-Y' when I am executing ssh command (before starting the remote access), I will still get the same message.

I wonder what is the problem. Thank you.
 
Old 05-23-2014, 06:53 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Do you have an unusual locale? I couldn't see it in your question.
 
Old 05-26-2014, 01:08 AM   #3
velociraptor
LQ Newbie
 
Registered: Apr 2014
Distribution: RHEL
Posts: 5

Original Poster
Rep: Reputation: Disabled
I'm sorry, I don't really understand what unusual locale means since I haven't got much experience with this.

However, maybe this piece of code will give more details to the problem? The xauth list is empty. Thank you.

[root@server1 ~]# xauth list
[root@server1 ~]# echo $DISPLAY
server1:11.0
[root@server1 ~]# nautilus

(nautilus:8434): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
X11 connection rejected because of wrong authentication.
Could not parse arguments: Cannot open display:
 
  


Reply

Tags
authentication, redhat, server, ssh access, x11



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[C] Preferred way to parse command line arguments/parameters? displace Programming 2 12-26-2013 02:38 PM
How to parse commandline arguments in C micflunu Linux - Newbie 12 11-01-2012 09:40 AM
BASH script using getopt to parse optional arguments nano2 General 6 04-28-2011 08:09 AM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 02:51 AM
Parse PHP, not open!! mattp Programming 2 10-10-2005 12:09 AM

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

All times are GMT -5. The time now is 11:06 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