Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Setting up an xhost session from a Solaris machine to a Linux machine

  • 08-09-2005 05:43PM
    #1
    Registered Users, Registered Users 2 Posts: 1,202 ✭✭✭


    Hi folks just wondering about the steps to take in setting up an xhost session between a Soalris machine and a Linux machine.

    basicaly i need to view the linux desktop on the solaris machine and i cant use VNC.


Comments

  • Closed Accounts Posts: 95 ✭✭krinDar


    woodyg wrote:
    basicaly i need to view the linux desktop on the solaris machine and i cant use VNC.

    Do you need to view the whole desktop ? Including the root window, the window manager etc, or do you just want to run an app on the linux box that you can use on the Solaris machine ?

    I will assume the latter for the moment.

    Now, also assume that the Linux box is linux1 and the Solaris box is solaris1.
    On solaris1 type the command:
    xhost +linux1
    

    This will all an X application on linux1 to display on solaris1.

    Then, log into linux1, and set the following variable:
    DISPLAY=solaris:0
    export DISPLAY
    
    (This is assuming bash).

    This will tell any X application that starts in linux1 to display on solaris1.

    Then start your application.


  • Registered Users, Registered Users 2 Posts: 2,780 ✭✭✭niallb


    What display manager are you using?
    look in gdm.conf or kdmrc for the word xdmcp .
    Enable this ,restart the display manager,
    and your linux box should show up in the Solaris
    box's chooser.
    This would give you effectively a login screen for the linux box.
    If that's what you're looking for, I can go into more detail if you describe your linux setup more.

    NiallB


Advertisement