Tightvnc not loading gnome-session

Asked by Hans109h

After upgrading to 13.10, TightVNC does not load gnome session - it just shows a terminal window, with no session.

This is my ~/.vnc/xstartup

#!/bin/sh

# Uncomment the following two lines for normal desktop:
 unset SESSION_MANAGER
 unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc
  gnome-session --session=gnome-fallback.desktop &
# gnome-session --session=gdm-session &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

This is the xtightvnc log:
21/10/13 11:16:26 Xvnc version TightVNC-1.3.10
21/10/13 11:16:26 Copyright (C) 2000-2009 TightVNC Group
21/10/13 11:16:26 Copyright (C) 1999 AT&T Laboratories Cambridge
21/10/13 11:16:26 All Rights Reserved.
21/10/13 11:16:26 See http://www.tightvnc.com/ for information on TightVNC
21/10/13 11:16:26 Desktop name 'X' (JWMC2:1)
21/10/13 11:16:26 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
21/10/13 11:16:26 Listening for VNC connections on TCP port 5901
21/10/13 11:16:26 Listening for HTTP connections on TCP port 5801
21/10/13 11:16:26 URL http://JWMC2:5801
No VNC extension on display :1
Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option
Xlib: extension "RANDR" missing on display ":1".
Window manager warning: Log level 32: could not find XKB extension.
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256

Use of other xstartup scripts results in either a solid grey scrren or a checkered type grey screen, but have not been successful in loading any gnome-sessions.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the purpose of the VNC connection?
What do you intend to do on the remote PC once you connect?

There may be a sleeker solution to what you plan to do.

Revision history for this message
Hans109h (hans109h) said :
#2

I use VNC as a remote virtual machine from my office, I do not want to remote into display:0.

Hans

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Yes but to do what. What do you want to do once you get the remote connection?

Revision history for this message
Hans109h (hans109h) said :
#4

Firefox, Thunderbird, terminal, manage server.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I suggest you use openbox as a standalone WM over VNC. Remember, VNC has zero security so please use an SSH tunnel.

Alternatively you can install squid, allow all hosts and use an SSH tunnel to get connected. This will give you web access from your PC to the client. You can also connect to the SFTP server to transfer and manage files as well as run updates via apt-get in terminal.

Thunderbird is a little trickier and VNC is great here. If you can get a CLI client to read and use Thunderbird's email databases then this may be easier than VNC.

Revision history for this message
Hans109h (hans109h) said :
#6

Or.....I could continue to VNC using TightVNC with an SSH tunnel and do everything I need to do and not have to reconfigure my entire server.

The real question that I have is what changed from Ubuntu 13.04 to 13.10 that does not allow the gnome-session to load on a TightVNC virtual desktop?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Maybe its a bug.

Can you help with this problem?

Provide an answer of your own, or ask Hans109h for more information if necessary.

To post a message you must log in.