Problem to start X-Applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    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@xxxxxx
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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux