Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to do remote desktop VNC server on Ubuntu?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to do remote desktop VNC server on Ubuntu?

Special1Special1 Member
edited March 2015 in Help

Hello!

Yesterday I followed this tutorial:

and in 5 hours I couldn't make it work. Every time I got gray screen while connecting to my Digital Ocean VPS. It looks something like this: http://www.powerbot.org/community/topic/826738-ubuntu-vps-nano-vncxstartup-setup-gray-screen-on-startup-of-vps/

You can see from comments on that video that many others have experienced the same.

Could somebody who has DigitalOcean VPS and Linux experience follow this tutorial and see why it gives me gray screen? I tried many different solution which I found on the net, but none of them worked.

Also you will get this problem: http://askubuntu.com/questions/528401/probleme-with-gdm

So Linux guys with DigitalOcean servers could you help me out and see where is the problem?

Thanked by 1creep

Comments

  • Use " x2go "

    Thanked by 1deadbeef
  • try these steps

    apt-get install xorg lxde-core iceweasel tightvncserver autocutsel -y
    tightvncserver :1
    tightvncserver -kill :1
    
    nano ~/.vnc/xstartup
        # paste this at the end
        lxterminal &
        /usr/bin/lxsession -s LXDE &
    
    tightvncserver :1
    
    Thanked by 1Maounique
  • MaouniqueMaounique Host Rep, Veteran

    I do not recommend plain VNC over the internet. Use something else, like x2go or xrdp.

  • install xrdp and connect with rdp from Windows.

  • Teamviewer works as well.

  • nocomnocom Member

    +1 x2go

  • @Maounique said:
    I do not recommend plain VNC over the internet. Use something else, like x2go or xrdp.

    Is it because the connection is not encrypted, or is there another reason?

  • @Hybrid said:
    Is it because the connection is not encrypted, or is there another reason?

    Yes and also VNC does not support audio redirection but x2go does it

  • Special1Special1 Member
    edited March 2015

    Thx guys for helping me! Now I have 1 x Ubuntu server installed by myself on Digital Ocean following "namhuy" suggested tutorial with tightvnc and for second I ordered from FirstHeberg. They have option for Ubuntu Desktop with x2go.

    I really like x2go. Their interface is nice and pretty straightforward. Only problem I got is big lag on 1GB machine versus DigitalOcean one. It is strange because on DigitalOcean I have only 512MB and on FirstHeberg I have 1GB.

    What I did is I unticked audio and all those unimportant stuff and lag was reduced. Now it is fine.

    The problem which I am still looking to resolve is how to install Chrome on both of them? I need Chrome for my specific needs. Linux is hard to handle :) Not as easy as Windows exe files with 2 clicks.

  • But not so problematic. For 32 bit:

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
    $ sudo dpkg -i google-chrome-*.deb
    $ sudo apt-get install -f

    and 64 bit:

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    $ sudo dpkg -i google-chrome-*.deb
    $ sudo apt-get install -f

  • Special1Special1 Member
    edited March 2015

    @andrew said:
    But not so problematic. For 32 bit:

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
    $ sudo dpkg -i google-chrome-*.deb
    $ sudo apt-get install -f

    and 64 bit:

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    $ sudo dpkg -i google-chrome-*.deb
    $ sudo apt-get install -f

    http://gyazo.com/bbc140591ce14579a05075803a81551c

    Hey Andrew! I already tried that but every time I put that second line "sudo dpkg -i google-chrome-*.deb" I am asked for password. Then I enter root password which I received on the email and this is what I get - "user is not in the sudoers file. This incident will be reported." Check above for screenshot.

  • hostnoobhostnoob Member
    edited March 2015

    @Special1 said:
    Hey Andrew! I already tried that but every time I put that second line "sudo dpkg -i google-chrome-*.deb" I am asked for password. Then I enter root password which I received on the email and this is what I get - "user is not in the sudoers file. This incident will be reported." Check above for screenshot.

    Short solution: type su then enter your root password, then run the commands above

    Long solution: modify /etc/sudoers and add username ALL=(ALL) ALL

    By the way, Chrome doesn't work on OpenVZ so it should work on your DO box, but not FirstHeberg.

  • Special1Special1 Member
    edited March 2015

    @hostnoob said:
    By the way, Chrome doesn't work on OpenVZ so it should work on your DO box, but not FirstHeberg.

    I tried to install through Putty and root/pass on DigitalOcean and it worked. Now my only problem is FirstHeberg. I don't have OpenVZ, I have their other version which is Qemu (KVM). Does Chrome work on Qemu? Because I tried to do same way as I did in DO and after reboot I still don't see Chrome. I read DigitalOcean uses KVM, so why it doesn't work on FirstHeberg Qemu (KVM)?

  • MaouniqueMaounique Host Rep, Veteran

    hostnoob said: By the way, Chrome doesn't work on OpenVZ

    Uhm... Chromium does, also, I see no reason Chrome would not work on OVZ, after all, it is an entirely userspace app. I never use chrome in linux, but, out of curiosity, do you know why it does not work?

  • Special1Special1 Member
    edited March 2015

    I got FirstHeberg support answer "Hi, Your VPS is a KVM too. Normally you can install Chrome on your ubuntu. Sincerely, The FirstHeberg.com team" I tried yesterday commands from andrew:

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    
    $ sudo dpkg -i google-chrome-*.deb
    
    $ sudo apt-get install -f
    

    After reboot I don't see Chrome being installed.

  • Hi Guys, I've used one of the "Desktop distributions" from online.net which turns to be xubuntu.
    I tried the suggested x2go and this prompts out.

    Appreciate it

Sign In or Register to comment.