Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

Set up VNC Server (Remote Desktop) for Linux Ubuntu 12.04

  1. #1
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    261
    Thanks
    22
    Thanked 42 Times in 34 Posts

    Thumbs up Set up VNC Server (Remote Desktop) for Linux Ubuntu 12.04

    We are usually using remote desktop to manage Window Server because it 's friendly user interface so that it 's the first choice for almost people. But maybe many people don't know Linux OS also support the same functionality with VNC Server. Here is step by step how to install VNC Server for Ubuntu 12.04

    1. Update OS

    I consider you are login as root account to Ubuntu server via SSH, let 's update all of resource:

    Code:
    apt-get update
    2. Install graphic support library and tools

    Code:
    apt-get install gnome-core gnome-session-fallback
    3. Upgrade to make sure all of packages work well if you need

    Code:
    apt-get upgrade
    4. Install VNC4Server package

    Code:
    apt-get install vnc4server
    5. Make VCN4Server start with OS

    Type this:

    Code:
    vncserver
    vncserver -kill :1
    cp .vnc/xstartup .vnc/xstartup.bak
    nano .vnc/xstartup
    And then enter this to startup code

    Code:
    #!/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 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
    #x-window-manager &
    Now let 's start with configuration you want to screen resolution

    Code:
    vncserver -geometry 1680x1050
    And maybe this is a good start for mobile phone

    Code:
    vncserver -geometry 1024x768 -depth 8

    If you get a grey screen when you try and connect tunnelling over SSH, don’t panic. Try using port 5902, because you might not have killed the initial session properly, or restarted a default one by mistake. If you don’t know what I mean by tunnelling, you might find that you can’t connect to the VNC server. The problem is the built-in firewall, ufw.

    Good luck to your server!!! Welcome any comment!

    View more threads in the same category:


  2. #2
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    261
    Thanks
    22
    Thanked 42 Times in 34 Posts

    Default

    One more thing that you need to download this for window to make the connection http://www.tightvnc.com/download.html

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    228
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Sep 4, 2017 - Install a Desktop and VNC Server on Ubtunu 14.04. Stage 1 — Install Ubuntu work area. Stage 2 — Install vnc4server bundle. Stage 3 — Make arrangement changes in vncserver. Stage 4 — Start your vncserver. Stage 5 — To check VNC server has begun, pursue. Stage 6 — Configure your Firewall. Stage 7 — Connect to VNC Server.

  4. #4
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Stage 1 - Install VNC server and XFCE 4 work area. To begin, we will introduce a VNC server on Ubuntu 12.10 x64 Server bead. Stage 2 - Add a VNC client and set its secret word. Stage 3 - Install VNC As A Service. Stage 4 - Connect to your bead with TightVNC. Stage 5 - Secure your VNC server meeting with encryption.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •