Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-08-2016, 03:28 AM
|
#1
|
LQ Newbie
Registered: Dec 2016
Posts: 1
Rep: 
|
XCLOCK Display error
Hi experts,
when we tried to run xclock from home directory we are getting an error as
./x
xauth: (argv):1: bad display name ":" in "nextract" command
No matches found, authority file "-" not written
xauth nmerge /home/x.v-navija
setenv DISPLAY localhost:
export DISPLAY=localhost:
How to resolve this error. we want to get the xdisplay run
|
|
|
12-08-2016, 09:53 AM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,348
|
What is in your "x" script?
|
|
|
12-08-2016, 07:50 PM
|
#3
|
Senior Member
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 1,101
|
You need an X Server running before you can display xclock on it. Try 'startx' from the command line. It starts the server itself and uses ~/.xinit, usually to run a window manager or whatever you choose in there. Once that's up, you can display X programs there.
|
|
|
12-11-2016, 12:26 PM
|
#4
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
Don't do that.
If you are logging with ssh and X forwarding is enabled, so is the necessary display environment variable set.
Doing that in the script or in the profile is wrong. The environment will almost ALWAYS be wrong and you will get this error.
What are you actually trying to do?
|
|
|
12-11-2016, 12:59 PM
|
#5
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Code:
userx@voided1.what~>> sudo xbps-install -Suy xclock
[*] Updating `https://lug.utdallas.edu/mirror/void/current//x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
Name Action Version New version Download size
libXaw install - 1.0.13_1 212KB
xclock install - 1.0.7_3 24KB
Code:
userx@voided1.what~>> xclock
Warning: Missing charsets in String to FontSet conversion
^C
did you try just typing xclock in the cli?
my xclock worked.
as @jpollard asked, what exactly are you doing, and what environment are you in while trying to do it?
Last edited by BW-userx; 12-11-2016 at 01:02 PM.
|
|
|
All times are GMT -5. The time now is 11:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|