Troubleshooting VNC

From FarmShare

(Difference between revisions)
Jump to: navigation, search
(Suggested default ~/.vnc/xstartup)
m (Reverted edits by Epoch (talk) to last revision by Chekh)
Line 1: Line 1:
== Quota conditions ==
== Quota conditions ==
-
'''farmvnc''' may not start if you are over your [[AFS|AFS]] quota.
+
'''vncserver''' may not start if you are over your [[AFS|AFS]] quota.
== Authentication ==
== Authentication ==
-
Likewise, farmvnc may not start if you do not have a valid Kerberos ticket and [[AFS]] tokens. Try re-authenticating before running the command.
+
Likewise, vncserver may not start if you do not have a valid Kerberos ticket and [[AFS]] tokens. Try re-authenticating before starting VNC.
<pre>kinit &amp;&amp; aklog</pre>
<pre>kinit &amp;&amp; aklog</pre>
== Resetting the shell configuration  ==
== Resetting the shell configuration  ==
-
Some kinds of changes to ~/.cshrc and ~/.login (or other shell configuration files) may break VNC; in particular, setting up the environment for certain applications (e.g., [[Cadence|Cadence]]) according to instructions is known to cause problems. The default configuration for various shells is documented in [[Dotfiles]].
+
Some kinds of changes to ~/.cshrc and ~/.login (or other shell configuration files) may break VNC; in particular, setting up the environment for certain applications (e.g., [[Cadence|Cadence]]) according to instructions is known to cause problems. You can restore the default shell configuration by running '''updaterc'''.  
-
 
+
<pre>/usr/pubsw/bin/updaterc</pre>
== Resetting VNC state and configuration  ==
== Resetting VNC state and configuration  ==
Line 17: Line 17:
<pre>rm -rf ~/.vnc
<pre>rm -rf ~/.vnc
mkdir ~/.vnc
mkdir ~/.vnc
-
vncpasswd</pre>
+
vncpasswd</pre>  
 +
----
 +
 
 +
Search the farmshare-discuss archives for posts about [https://mailman.stanford.edu/mailman/swish?query=VNC&submit=Search+farmshare-discuss%21&metaname=swishdefault&sort=unixdate&listname=farmshare-discuss VNC].

Revision as of 15:36, 17 September 2014

Contents

Quota conditions

vncserver may not start if you are over your AFS quota.

Authentication

Likewise, vncserver may not start if you do not have a valid Kerberos ticket and AFS tokens. Try re-authenticating before starting VNC.

kinit && aklog

Resetting the shell configuration

Some kinds of changes to ~/.cshrc and ~/.login (or other shell configuration files) may break VNC; in particular, setting up the environment for certain applications (e.g., Cadence) according to instructions is known to cause problems. You can restore the default shell configuration by running updaterc.

/usr/pubsw/bin/updaterc

Resetting VNC state and configuration

A common troubleshooting method is to reset the VNC configuration by deleting the ~/.vnc application directory.

rm -rf ~/.vnc
mkdir ~/.vnc
vncpasswd

Search the farmshare-discuss archives for posts about VNC.

Personal tools
Toolbox
LANGUAGES