Setting up VNC

Discussion and Technical Support for general software applications and utilities including OS related issues.
Wimma77
Member
Member
Posts: 5
Joined: July 1st, 2014, 4:32 am

Re: Setting up VNC

Post by Wimma77 »

Thanks Shag. I might reinstall my server and this time clone it before I start messing with desktops & VNC!
Have used xfce4 a while back, seemed ok. Not planning to do anything fancy via desktop anyway.
Cheers.
User avatar
Kryspy
Member
Member
Posts: 12
Joined: January 8th, 2012, 11:10 pm

Re: Setting up VNC

Post by Kryspy »

Found this and it worked for me. Gnome desktop working. I must add I also have my intel graphic card driver stack up to date with 3D acceleration.
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-window-manager &

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


Kryspy
Wimma77
Member
Member
Posts: 5
Joined: July 1st, 2014, 4:32 am

Re: Setting up VNC

Post by Wimma77 »

So this is quite different to the main site howto.
Anyone else tried ... before I have a crack :P
Love to see the main howto updated with something working!

Edit 20/7 - tried xfce4 and working fine, thanks.
Last edited by Wimma77 on July 20th, 2014, 10:20 am, edited 2 times in total.
hungryarchi
Member
Member
Posts: 1
Joined: July 20th, 2014, 5:36 am

Re: Setting up VNC

Post by hungryarchi »

Thanks Kryspy! That worked for me. Replace everything exactly as he has written it. You can copy the old file if you are unsure if it will work.

Edit: they keyboard doesn't work. In particular S and H. If I type in all caps it is fine.
herzog
Member
Member
Posts: 1
Joined: August 10th, 2014, 2:58 pm

Re: Setting up VNC

Post by herzog »

Hi, I am having similar issues with vncserver under 14.0.4.1 LTS.


I used Kryspy's solution to get VNC working, but i am having some strangeness going on.

First off, I am experiencing keyboard issues like the above user with the S and H keys.


Also, whenever I got to Places menu and click on Computer or Trash, I get "Could not open location 'computer://'" operation not supported.

It's like some component is missing or not installed.

Any ideas?

Thanks
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Setting up VNC

Post by Ian »

Hi guys,

I've now updated my vnc guide for 14.04 and it seems to be working as expected. Not quite as great as the good old days but better than before: VNC on Trust Tahr 14.04LTS

If anyone wants to try it out (maybe on a VM?) I'd love to hear how you get on. :thumbup:

Ian.
User avatar
Shag
Member
Member
Posts: 9
Joined: April 25th, 2014, 4:49 pm

Re: Setting up VNC

Post by Shag »

I successfully installed gnome now but cannot open synaptic, settings or download things. I did not have this issue with xfce4. has anyone else had this issue? How can I make mine work?

Thanks,
Shag

Edit:
I ended up sticking with xfce4. I have used both gnome and xfce4 and in a vnc session I couldn't seem to get gnome to run correctly with permission as if it were installed on a desktop.
DiverJoe
Member
Member
Posts: 2
Joined: September 28th, 2014, 5:39 pm

Re: Setting up VNC

Post by DiverJoe »

Hi, need some help with VNC, I keep getting a blank screen when I connect. I have followed the guide and made changes suggested by the guide.

Startup script:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

#[ -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 &

metacity &
gnome-settings-daemon &
gnome-panel &

I'm fairly new to this, so any help would be much appreciated.
Wimma77
Member
Member
Posts: 5
Joined: July 1st, 2014, 4:32 am

Re: Setting up VNC

Post by Wimma77 »

xfce4 seems to work well, so I've stuck with that on my server.
Might be worth a look to see if it will satisfy your requirements (just turn off the fiberlamp screensaver - seems to chew up a lot of cpu cycles when idle!)
Post Reply