geoff_hazel: How do I start a remote desktop session on Solaris? I have my display exported?
I have my X display exported to my laptop and I have an xterm on the solaris server. I want to fire up a “desktop” session that displays on my laptop. What command (s) do I need to run to do that?
By “desktop” session I mean I want to see something like what I would see if I was at the actual console of the server. It doesn’t have to be the actual console, but something similar to it.
Answers and Views:
Answer by morgan
Since you know about $ DISPLAY, you obviously know
how to remotely display specific applications
like “xterm”. To get an entire “desktop” (ie. a
window manager), use “vnc”.
This software is available on the “companion CD”
The basic idea is to start “vncserver” on the
remote machine.
fee $ rlogin foo
foo $ vncserver
and then use the vnc client on your local machine:
fee $ vncviewer -shared foo:1
Because the default window manager is “twm”, I
also created the file $ HOME/.vnc/xstartup to
contain the following so that my “desktop” would
be gnome:
———————————————————————-
#!/bin/sh
xrdb $ HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80×24+10+10 -ls -title “$ VNCDESKTOP Desktop” &
/usr/bin/gnome-session &
———————————————————————-
I haven’t tried it yet, but I’ve heard the claim
that the OpenSolaris X server supports this
directly (ie. so that you don’t have to start
“vncserver” on the remote machine).
A couple of nice features to this is that it
allows you to share a desktop with someone who is
collaborating with you. Similarly, it allows you
to “join” your own existing desktop when you go
home from work at night
Definitely see the reference below.
Answer by shawnlook it up
Leave a Reply