On 12/15/09 11:26 PM, Lou Picciano wrote:
> Thought this was a no-brainer:
>
>We have two OpenSolaris boxes, a server - Machine 'A' and a client - Machine 
>'B'. Both have installations of OpenSolaris 2009.06. I'd like to turn A into a 
>headless server, and access it solely from Machine B. I'd like to login, 
>remotely, to its desktop. Is this possible? I assumed this was a trivial thing 
>for Solaris; am I mistaken? Having no problem with an ssh connection, btw.
>
> Can someone set me on the right track, perhaps to an on-line recipe?
> Many thnanks in advance.  Lou

Would xdmcp work for you?

You should be able to select remote login from the gdm login screen
on hostb, or alternately, from the console command line on hostb,
where you'd have to disable graphical-login first, by something like:

# svcs disableapplication/graphical-login/gdm:default

then

# X :n -query hosta

where n is some suitable number like 0 (I use the last digits of the ip
address of hostb). n will become the display number as in hosta:8.0.

On hosta you might first have to run

# svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen=true

This will only work if there isn't a firewall between the two hosts since
xdmcp is considered to be a very insecure protocol. It is also more
tricky to set up if the hosts are not on the same segment,

You could also look at VNC, or its more current variant, if you want to
be able to see the desktops of both machines at the same time on the
same display (IIRC VNC is deprecated, but I forget what its  OSol
replacement is called).

HTH -- Frank



Reply via email to