{"id":593,"date":"2014-04-11T05:51:53","date_gmt":"2014-04-11T12:51:53","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=593"},"modified":"2014-04-11T05:51:53","modified_gmt":"2014-04-11T12:51:53","slug":"vnc-server-on-a-minimal-solaris-10-server","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/vnc-server-on-a-minimal-solaris-10-server\/","title":{"rendered":"VNC Server on a minimal Solaris 10 Server"},"content":{"rendered":"

I generally prefer installing server with a very minimal footprint and just add what is necessary. Think small templates etc..<\/p>\n

Solaris 10 can be a bit difficult to add software. More modern package management systems like IPS or APT \/ YUM in the Linux world makes this much easier.<\/p>\n

Here is what I had to do to get vncserver running after a very minimal Solaris 10 install. Out of scope is getting a CD with software mounted. MY CD was mounted under \/mnt so the packages were located in \/mnt\/Solaris_10\/Product.<\/p>\n

VNC Server and dependencies<\/strong><\/p>\n

\r\n# pkgadd -d . SUNWxvnc SUNWxwfnt SUNWxorg-xkb SUNWxwplt SUNWxorg-clientlibs SUNWxorg-server\r\n<\/pre>\n

xauth required for vncserver binary<\/strong><\/p>\n

\r\n# pkgadd -d . SUNWxwplt SUNWxwice SUNWxwrtl SUNWxwplr\r\n<\/pre>\n

Will need twm for at least a minimal window manager for a xterm. Gives twm in \/usr\/openwin\/bin<\/strong><\/p>\n

\r\n# pkgadd -d . SUNWxwopt\r\n<\/pre>\n

Will need the path for xauth and twm to fire.<\/strong><\/p>\n

\r\n# grep PATH .profile\r\nexport PATH=\/usr\/bin:\/usr\/sbin\r\nPATH=$PATH:\/usr\/X11\/bin:\/usr\/openwin\/bin\r\nexport PATH\r\n<\/pre>\n

For reference here is where vnc pulls xterm.<\/strong><\/p>\n

\r\n# cat .vnc\/xstartup\r\n#!\/bin\/sh\r\n\r\n[ -r $HOME\/.Xresources ] && xrdb $HOME\/.Xresources\r\nxsetroot -solid grey\r\nvncconfig -iconic &\r\n#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &\r\nxterm -geometry 120x34+10+10 -ls -title "$VNCDESKTOP Desktop" &\r\ntwm &\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

I generally prefer installing server with a very minimal footprint and just add what is necessary. Think small templates etc..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,34],"tags":[],"class_list":["post-593","post","type-post","status-publish","format-standard","hentry","category-solaris","category-vnc"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=593"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}