3

I have a Debian Lenny box with Gnome desktop. I've installed Tightvnc server on it and would like to see a Gnome session when connecting from another computer using VNC viewer. But for some reason it opens the "X Desktop" with only a terminal window visible. What could be wrong?

I used these instructions for editing the configuration (~/.vnc/xstartup). So looks like it's not recognizing gnome-session & and is falling back to generic session instead. Why?

closed as off-topic by Gilles, thrig, Jeff Schaller, Satō Katsura, GAD3R Feb 21 '17 at 20:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Gilles, thrig, Jeff Schaller, Satō Katsura, GAD3R
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Add set -x to get a trace of the script's execution. You may also need exec >~/.vnc-startup-$DISPLAY.log 2>&1 to get the log to a known place, although it should appear in ~/.vnc/darkstar:9 without the exec line (where darkstar is your hostname and 9 is the display number). Post the trace in your question. – Gilles Nov 5 '10 at 19:03
1

Since it wasn't a production box I just removed and then re-installed Gnome desktop environment. After that RealVNC works without problems with Gnome. @Gilles - I came back here after the reinstall was already done so problem was solved. But thanks for the advice.

Not the answer you're looking for? Browse other questions tagged or ask your own question.