Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Cygwin/XFree86 - X Server

  • 08-04-2003 4:12pm
    #1
    Registered Users, Registered Users 2 Posts: 14,153 ✭✭✭✭


    Hey guys,

    I've got cygwin/xfree86 installed on a win2k machine here, and I'm trying to get a remote X session going with a linux test machine i have.

    I'm starting Cygwin/XFree86 and at the command prompt providing the following:
    [user@cygwin]-> ssh -X -l username ip_address
    

    and then entering my password and everything works fine. But if I run the 'xterm&' command I'm met with the following:
    [1] 1042
    [user@machine user]$ xterm Xt error: Can't open display:
    
    

    Attempts to run 'startx&' also fail, albeit more verbosely. I also need to be suid as root to start X for some reason.

    Anyone got any input on this?


Comments

  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    Have you turned on fun stuff like

    X11Forwarding yes

    in your /etc/ssh/sshd_config file?


  • Moderators, Arts Moderators Posts: 35,788 Mod ✭✭✭✭pickarooney


    Is this a case for the old 'setenv DISPLAY=ip.ad.dr.ess:0.0 ' command?


  • Registered Users, Registered Users 2 Posts: 14,153 ✭✭✭✭Lemming


    Originally posted by Typedef
    Have you turned on fun stuff like

    X11Forwarding yes

    in your /etc/ssh/sshd_config file?


    umm ... yeeessssss ...........

    /me runs off quickly to said machine :D


  • Closed Accounts Posts: 102 ✭✭Something


    Ahh, the fun of x11 forwarding :)


  • Registered Users, Registered Users 2 Posts: 14,153 ✭✭✭✭Lemming


    Hmmmm ....

    X11 Forwarding was already enabled in the sshd_config file

    So it must be something else then??
    :confused:


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,676 ✭✭✭Gavin


    check the display variable is being set.
    Make sure that you are running xhost on the server to allow connections and of course the usual, check for firewalls etc which I'm sure you've probably done already.

    Your statement about needing to be suid root to run X is a bit confusing. You are already running X on the win2000 machine aren't you ? What exactly do you need to be suid root to run on the client machine ?

    Gav


Advertisement