0% found this document useful (0 votes)
13 views

Configure VNC Server On Solaris Machine - DevOps Learning

The document describes how to configure a VNC server on a Solaris machine. It encounters errors that Xvnc and xauth are not found in the PATH. It adds their directories to the PATH in the .profile file to resolve this. It then runs vncserver successfully and connects a VNC viewer to the new desktop.

Uploaded by

Aqeel Nawaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Configure VNC Server On Solaris Machine - DevOps Learning

The document describes how to configure a VNC server on a Solaris machine. It encounters errors that Xvnc and xauth are not found in the PATH. It adds their directories to the PATH in the .profile file to resolve this. It then runs vncserver successfully and connects a VNC viewer to the new desktop.

Uploaded by

Aqeel Nawaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

2/10/24, 12:36 AM Configure VNC Server on Solaris Machine – DevOps Learning

Configure VNC Server on Solaris Machine


Gaurav Bhaskar August 27, 2013 Unix

Today I was trying to configure the VNC Server on one of my client machine and then I got
an error:

bash-3.2$ vncserver

vncserver: couldn’t find “xauth” on your PATH.

bash-3.2$

bash-3.2$ cat /etc/release

Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC

Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.

Assembled 17 January 2013

bash-3.2$

Obviously, it needs the application to be mentioned in the PATH; also you may receive the
similar error as:

vncserver: couldn’t find “Xvnc” on your PATH. (However I didn’t get this in my case)

In fact Xvnc is under the directory /usr/X11/bin while xauth is


under /usr/openwin/bin so add them to path, open .profile file in your home directory,
add them as followed:

PATH=$PATH:/usr/X11/bin:/usr/openwin/bin
export PATH

https://getsomeoracle.wordpress.com/2013/08/27/configure-vnc-server-on-solaris-machine/ 1/3
2/10/24, 12:36 AM Configure VNC Server on Solaris Machine – DevOps Learning

Save the .profile and logout.

To set it in the terminal for the current session:

bash-3.2$ PATH=$PATH:/usr/X11/bin:/usr/openwin/bin

bash-3.2$ export PATH

Now try giving the same command and it will run without any error:

bash-3.2$ vncserver

You will require a password to access your desktops.

Password:

Password must be at least 6 characters – try again

Password:

Verify:

xauth: creating new authority file /export/home/oracle/.Xauthority

New ‘mydb:1 (oracle)’ desktop is mydb:1

Creating default startup script /export/home/oracle/.vnc/xstartup

Starting applications specified in /export/home/oracle/.vnc/xstartup

Log file is /export/home/oracle/.vnc/mydb:1.log

bash-3.2$

Now change below:

https://getsomeoracle.wordpress.com/2013/08/27/configure-vnc-server-on-solaris-machine/ 2/3
2/10/24, 12:36 AM Configure VNC Server on Solaris Machine – DevOps Learning

To:

We commented twm session and add gnome session for us to use. Otherwise you will keep
on getting the twm session while using VNC Viewer.

Now simple use VNC Viewer to connect to- mydb:1 and use the password you configured
above and you are done.

Let me know if any issue.

https://getsomeoracle.wordpress.com/2013/08/27/configure-vnc-server-on-solaris-machine/ 3/3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy