Page 1 of 3

Setting up VNC

Posted: April 20th, 2014, 8:41 am
by iain1234
Hello, I am following your guide but am stuck in a dead end.

I worked right through from start to setting up VNC - which doesn't apear to be working for me.

I installed 14.04LTS, got putty fine, and even installed gnome. Started the vnc service , then closed it. Then went to vim to edit the file how I should have (see below) However - when I restart VNC and then use the Tight VNC client on Windows 8.1 (update 1) - I get a grey screen that has 3 check boxes in the top left corner (Accept Clipboard from viewers... etc)

There is nothing I can interact with, no desktop. Just a grey screen. :S

What should I do now?

#!/bin/sh

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

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

Re: Setting up VNC

Posted: April 20th, 2014, 6:35 pm
by Ian
Hi there and welcome to the forums :thumbup:

I'm afraid you've not done anything wrong, VNC seems to be broken currently. :-( I'm hitting the same issue now on 14.04LTS too. As and when I get it working (or give up trying) I'll update the site.

Sorry :oops:

Ian.

Re: Setting up VNC

Posted: April 21st, 2014, 6:46 pm
by iain1234
ah thanks for the reply - I thought I was going crazy! Going round in circles over and over.

Re: Setting up VNC

Posted: April 23rd, 2014, 2:24 pm
by mnrbig
I added

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus -n &
gnome-terminal &


as per ttps://medium.com/linux-operation-system/5e6fac849ea3

to the file and mine works now.

Re: Setting up VNC

Posted: April 30th, 2014, 11:28 am
by wsimm
Also, when I reboot the system, it now comes in graphical mode instead of the command line. Is this normal. Did not do this in 10.04, which is the release I am on at the moment.

Re: Setting up VNC

Posted: April 30th, 2014, 11:37 am
by wsimm
Never mind - I did not read far enough down the page to see how to stop the graphical interface startup.

Re: Setting up VNC

Posted: May 5th, 2014, 2:49 pm
by Shag
Morning,
I was really happy to find your guide for the current version of linux but I also have the same issue as iain1234. From what I have read gnome-fallback.desktop now requires accelerated graphics, or is broken, and defaults to gnome3 somehow. So if there no fix in the near future, I have seen some installing xfce4 with no issues.

I am very much a newbie to linux, thats why I was happy to find your complete guide. My question is, if I want a graphical interface with VNC now, how do I uninstall gnome? Then install xfce4. It seemed to have installed many dependencies. Or if you have it working what other tips may I try to get mine working. I've tried mnrbig solution but didn't work for me.

Thanks for all your work on this site.

Shag

Re: Setting up VNC

Posted: May 5th, 2014, 3:51 pm
by Ian
Hi there and welcome to the forums :thumbup:

I agree with you about gnome having many dependencies. I think if you purge gnome you'd end up breaking something else. So, unless you want to wipe the OS and start over the easiest thing to do is just leave it asis. You can disable it from actually starting by editing the gdm.conf file as shown at the bottom of this page.

Ian.

Re: Setting up VNC

Posted: May 6th, 2014, 5:49 pm
by zulu
I was following the VNC install guide and got stuck like you guys with the grey screen. The above solution only showed to me a grey screen with black terminal window in the middle. I'm running ubuntu server 14.04!!!

Re: Setting up VNC

Posted: May 12th, 2014, 6:48 pm
by maddyn99
I am stuck on this part

Next, download and install TightVNC onto your desktop computer. When you launch it type the "X Desktop name" in the VNCServer box. See the DOS-type screenshot above for the name of your "X Desktop name". So, in my case I'd type MyMediaServer:1 in the VNC Server Listbox. See below.

There is no DOS screen shot there ...that I can see. So where do I get the X Desktop name?