vncserver gray screen

Asked by Patrick Carra

I am using Ubuntu Server and have installed tightvncserver and lightdm but when I log in remotely all I get is a gray screen. I am not using an SSH tunnel with my vncviewer.

Linux serverubuntu 4.13.0-16-generic #19-Ubuntu

pcarra@serverubuntu:~/.vnc$ cat xstartup
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession

any ideas? Thanks in advance for the help!

Question information

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

What do you do on the system that needs VNC? There is more than likely a sleeker solution

Revision history for this message
Patrick Carra (pcarra.pc) said :
#2

I am trying to remotely access my desktop.

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

Yes but what do you do on the remote system once you connect?

Revision history for this message
Patrick Carra (pcarra.pc) said :
#4

Mostly right now I use Eric to do some coding in Python but I also use it for other purposes as I am trying to become more proficient in Linux in general. It is probably worth noting that I am accessing this from a work computer and am limited in the applications I can install on my work laptop. I know I can continue doing the coding in an ssh shell and still do most things however I just installed Ubuntu and have previously used Raspian or CentOS and used a VNC server with success.

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

Shame they won't let you install Eric locally and you could access the files via SFTP. Much sleeker by far.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6
Revision history for this message
Patrick Carra (pcarra.pc) said :
#7

I tried all of the methods suggested in that thread it did not have any
noticeable effect.

On Oct 23, 2017 6:27 AM, "actionparsnip" <
<email address hidden>> wrote:

> Your question #659766 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/659766
>
> actionparsnip proposed the following answer:
> Does this help
> https://askubuntu.com/questions/800302/vncserver-
> grey-screen-ubuntu-16-04-lts
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/659766/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/659766
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

If you are connecting from work to home without an SSH tunnel then your connection is unencrypted and not secure

Revision history for this message
Patrick Carra (pcarra.pc) said :
#11

https://poweruphosting.com/blog/setup-vnc-server-on-ubuntu/

This walkthrough worked (after nearly locking up my system and a reboot) however I'm getting errors within xfce when I log in but at least I have a functional vnc connection at this point. Thank you for your help.

Revision history for this message
Patrick Carra (pcarra.pc) said :
#12

Thanks actionparsnip, that solved my question.