Problem to start X-Applications

McDougall, Marshall (FSH) MarMcDouga at gov.mb.ca
Mon Jun 6 15:32:09 UTC 2005


The X11Forwarding should work, but use the "export
DISPLAY=actual_ip_address:0" just to make sure it's not something else.

Regards, Marshall

-----Original Message-----
From: Padiyath Sreekumaran [mailto:Kumar.Padiyath at psi.ch] 
Sent: Monday, June 06, 2005 8:55 AM
To: redhat-list at redhat.com
Subject: Problem to start X-Applications



    Hello,
    I have problems to start X-applications on a linux machine.
    Iam logging from my Linux pc via ssh on a remote Linux
    machine with my username/password.
    In this session I can start X-Application on remote PC(xclock for
example)
    I have in sshd_config(remote linux machine) file following 2 parameters 
    are defined as given below:

    X11Forwarding yes
    PermitRootLogin  no

    When I execute su command(su -) and start xclock on the remote linux,
    then I get the following error:

    Error:Cannot open Display

    I also tried after executing  "setenv DISPLAY pcxxxx:0" without success.


    I must say that when I login with "su -m" and then start xclock then it
    works. But then I donot have the correct path definition for root. 

    Ex: PC1-------->PC2------->PC2
             ssh         su -

    with regards,
      Kumar

    
     
------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath at psi.ch
AIT                      |   Office: WHGA/U132 
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     | 
Switzerland              |
-----------------------------------------------------------------

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list