Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question X-client can not get access to the display

    I'm trying to run the X-client xclock from a terminal. I'm typing
    Code:
    CTRL+ALT+F1
    then

    Code:
    Mandriva Linux release 2011.0 (Official) for x86_64
    Kernel 2.6.38.7-desktop-1mnb2 on a Dual-processor x86_64
    localhost.localdomain login: ...
    Password: ...
    
    [root:localhost ~]# xclock -digital
    Error: Can't open display:
    [root:localhost ~]# DISPLAY=:0.0;export DISPLAY
    [root:localhost ~]# xclock -digital
    No protocol specified
    Error: Can't open display: :0.0
    [root:localhost ~]# export DISPLAY=localhost:11.0
    [root:localhost ~]# xclock -digital
    Error: Can't open display: localhost:11.0
    [root:localhost ~]# startx --:11
    xauth: file /root/.serverauth.10515 does not exist
    
    Fatal server error:
    Server already active for display 0
       If this server is no longer running, remove /tmp/.X0-lock
       and start again.
    
    ...
    
    Invalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    [root:localhost ~]#
    In /etc/ssh/sshd_config i uncommented the following:

    Code:
    ...
    ListenAddress localhost
    ...
    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes
    PermitTunnel yes
    ...
    In reality, i want to run a Java-application written using Swing library, but when i enter

    Code:
    java -jar SpeedTest.jar
    Get the same message, that X-client can not get access to the display.

    What could be causing this?

    I would be most grateful for the information!
    Thank you!




 

 

Similar Threads

  1. Display Problems
    By Storm in forum Linux Hardware
    Replies: 1
    Last Post: 11-08-2012, 10:45 AM
  2. PPTP VPN Linux client Cant connect with WINDOWS Client
    By humayunshafiq in forum Linux Networking
    Replies: 0
    Last Post: 10-18-2012, 01:43 PM
  3. Don't need movie display on laptop
    By PBroaderly in forum Laptops / Netbooks
    Replies: 3
    Last Post: 04-10-2012, 01:44 PM
  4. How to display .doc file without X Window?
    By carbon333 in forum General Linux
    Replies: 0
    Last Post: 02-16-2012, 03:31 PM
  5. HOWTO: Get right to X with No Display Manager
    By Fred in forum Linux News
    Replies: 0
    Last Post: 12-23-2011, 01:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,540
Threads: 3,912
Posts: 9,423
Top Poster: Fred (1,486)
Welcome to our newest member, Kiuze

» Links



Powered by vBadvanced CMPS