Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #364545
    kray
    Participant

    Hey all…

    I am having trouble getting X11 forwarding to work on Tiger Server. I have uncommented:

    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes

    in /etc/sshd_config on the server, and I’ve set the display on my powerbook in .bashrc with:

    DISPLAY=:0.0; export DISPLAY

    I ssh to the sever from my powerbook with either the -X or -Y option. However, when I attempt to start an X app (xclock), I get a message on my powerbook, ‘Warning cannot convert string ” ” to type XftFont’, and then xclock starts on the server, not my powerbook (although, under the same username as my powerbook).

    Any ideas what I’ve done wrong here?

    #364557
    kray
    Participant

    finally figured out what was going on…. the problem was the .bashrc file on both machines had the DISPLAY set to 0:0.

    The ‘real’ cause of the trouble was that the machine I was ssh-ing from was set up as a portable home, and the .bashrc file was getting copied to my user name on the server. Whenever I would try and run an X application from my powerbook, the application would ‘fire up’ on the server.

    I commented out the DISPLAY variable on the .bashrc in my home directory on the server, and all worked as expected. I can ssh -X to the server and run X apps on my laptop. However, for a more permanent solution, I need to come up with a way to stop dot files from syncing.

    So far I tried to set ~/. and ~/.* to not sync in the mobility prferences, but so far, .bashrc syncs.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed