Tumgik
#Ubuntu 16.04 vnc server xstartup gnome panel missing
airnahas · 2 years
Text
Ubuntu 16.04 vnc server xstartup gnome panel missing
Tumblr media
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING INSTALL
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING UPDATE
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING PASSWORD
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING PLUS
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING DOWNLOAD
enable firewall traffic on the vnc port (in the AWS console).
In that mindset, launching each component yourself makes it clearer what is doing what. It also matters whether you want things to run on the GPU, or the CPU. The responses here are good for getting one solution up and running, but I recommend understanding the basics of the different layers which result in a functioning GUI / OpenGL environment / remote desktop in Unix. I ran into the same problem, and ended up writing a how-to guide for myself ( ) If you want to return to a session later, specify this number in the port field of the xrdp login dialog box. Pay close attention to these status messages and make note of the VNC port number displayed. When you start a session, the port number is -1.ġ9) When the system connects, several status messages are displayed on the Connection Log screen.
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING PASSWORD
sudo service xrdp restartġ7) On Windows, open the Remote Desktop Connection client, paste the fully qualified name of your Amazon EC2 instance for the Computer, and then click Connect.ġ8) When prompted to Login to xrdp, ensure that the sesman-Xvnc module is selected, and enter the username ubuntu with the new password that you created in step 8.
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING INSTALL
First Install the xrdp with sudo apt-get install xrdp then edit the above mentioned file)ġ5) Look for the section and change the following text (then save and exit ). sudo cp /home/ubuntu/.xsession /etc/skelġ4) Open the xrdp.ini file to allow changing of the host port you will connect to. xsession to the /etc/skel folder so that xfce4 is set as the default window manager for any new user accounts that are created. echo xfce4-session > ~/.xsessionġ3) Copy. Sudo -E apt-get install -y ubuntu-desktopġ1) Install xrdp sudo apt-get install xfce4ġ2) Make xfce4 the default window manager for RDP connections. su ubuntuġ0) Install Ubuntu desktop functionality on your Linux instance, the last command can take up to 15 minutes to complete. sudo –iĩ) Switch back to the ubuntu user account and cd to the ubuntu home directory. Press the Enter key after typing the command passwd ubuntu, and you will be prompted to enter the new password twice. sudo /etc/init.d/ssh restartĨ) Temporarily gain root privileges and change the password for the ubuntu user to a complex password to enhance security. sudo vim /etc/ssh/sshd_configĦ) Change PasswordAuthentication to yes from no, then save and exit.ħ) Restart the SSH daemon to make this change take effect.
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING UPDATE
Refer this guide to create permanent sessions as serviceĤ) Execute: sudo apt-get update sudo apt-get upgradeĥ) Because you will be connecting from Windows Remote Desktop, edit the sshd_config file on your Linux instance to allow password authentication. Now you can access GUI using IP/Domain and port 1įor AWS, you have to allow port 5901 on firewall Log file is /home/lonely/.vnc/ubuntu:1.log Starting applications specified in /home/lonely/.vnc/xstartup New 'ubuntu:1 (lonely)' desktop is ubuntu:1Ĭreating default startup script /home/lonely/.vnc/xstartup Xauth: file /home/lonely/.Xauthority does not exist You will require a password to access your desktops. "gnome-session & ".ģ) Create VNC password and vnc session for the user using "vncserver" command. $ sudo apt install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal vnc4serverĢ) Edit /usr/bin/vncserver file and modify as belowįind this line "# exec /etc/X11/xinit/xinitrc ".Īnd add these lines below. So run the vnc server also on same user instead of "awsgui" user.ġ) Install packages $ sudo apt update sudo apt install -no-install-recommends ubuntu-desktop Mostly because of ".vnc/xstartup" file on different user. Sudo iptables -A INPUT -p tcp -dport 5901 -j ACCEPT Mac VNC client can be downloaded from here:
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING PLUS
In the vnc client, give public DNS plus ":1" (e.g.
UBUNTU 16.04 VNC SERVER XSTARTUP GNOME PANEL MISSING DOWNLOAD
You can download xtightvncviewer to view desktop(for Ubutnu) from here When you're done, hit Ctrl + C on the keyboard, type :wq and hit Enter. "Uncomment the following two lines for normal desktop." And on the second line add "sh" so the line reads exec sh /etc/X11/xinit/xinitrc. Then hit the Insert key, scroll around the text file with the keyboard arrows, and delete the pound (#) sign from the beginning of the two lines under the line that says Then run following commands and enter the login password for vnc connection: su - awsgui Run following commands to install ui and vnc server: sudo apt-get update Setting up ui based ubuntu machine on AWS. Sudo vim /etc/ssh/sshd_config # edit line "PasswordAuthentication" to yes Following are the steps to setup the GUI Create new user with password login sudo useradd -m awsgui
Tumblr media
0 notes
gsgst345-blog · 8 years
Text
PuTTY Ssh ile ubuntu uzak sunucuyla bağlantı kurma işlem yapmak
PuTTY Ssh ile ubuntu uzak sunucuyla bağlantı kurma işlem yapmak How to install digitalocean vnc server on Ubuntu 16.04 VPS Merhaba arkadaşlar,Bugün DigitalOcean üzerinde açmış olduğum vps sunucuma PuTTY Ssh yöntemi ile ubuntu işletim sistemine bağlantı kurup bir kaç işlem yapacağım aynı zamanda aynı anda burada neler yapacağımı ve kullanımı hakkında sizlerle paylaşımda bulunmak istedim.
     İşlem yaparken aynı anda yazmak benim içinde iyi olur diye düşündüm.Öncelikle ben DigitalOcean üzerinde bir droplet oluşturdum ve tamamladım DigitalOcean üzerinden Droplet oluşturmayı henüz bilmiyor ve başlangıç aşamasında olan bir kullanıcıysanız şu makalemden faydalanabilirsiniz hertürlü anlatım mevcut arşivimiz geniş :) DigitalOcean Ubuntu vps kurulumu vps üzerine Ubuntu kurulumunu öğrendiğinizi ve kurulum aşamasını geçtiğinizi varsayarak başlayalım. Ben Droplet oluşturduktan sonra bana DigitalOcean [email protected] adresinden bir mail geldi bu mail içeriğinde şöyle yazıyor. Yeni Damlacıkların ile her şey yoluna girecek Şu kimlik bilgilerini kullanarak ona erişebilirsiniz: falan 😏 Benim dropletin adı systemtr
Your New Droplet: systemtr Your new Droplet is all set to go! You can access it using the following credentials: Droplet Name: systemtrIP Address: 128.68.166.85Username: rootPassword: c0e8d8175f115ba3 For security reasons, you will be required to change this Droplet’s root password when you login. You should choose a strong password that will be easy for you to remember, but hard for a computer to guess. You might try creating an alpha-numerical phrase from a memorable sentence (e.g. “I won my first spelling bee at age 7,” might become “Iwm#1sbaa7”). Random strings of common words, such as “Mousetrap Sandwich Hospital Anecdote,” tend to work well, too. As an added security measure, we also strongly recommend adding an SSH key to your account. You can do that here: https://cloud.digitalocean.com/settings/security?i=3d3e71 Once added, you can select your SSH key and use it when creating future Droplets. This eliminates the need for root passwords altogether, and makes your Droplets much less vulnerable to attack. Happy Coding,Team DigitalOcean
Hemen buradan ip adresini alıp putty arayüzüne Hostname or ip adres  kısmına yapıştırıyoruz.  Eğer sürekli putty ile bağlanmak istiyor ve işlem yapmak istiyosanız putty ekranında Saved Sessions kısmına İp adresinizi ekleyin ve Save butonuna tıklayın ve ardından sol menüden herhangi bir menüye tıklayın tekrar ardından Session menüsüne tıklayın,bunu sadece 1 defa yapmanız yeterli birdahaki putty programını açtığınızda Default settings altındaki ip adresini tıklayıp load ve kopyala yapıştır ile Open butonuna tıklamanız yeterli olacaktır.
Ve open butonuna tıklıyoruz Ve karşımıza komutlarımızı yazacağımız bir siyah ekran geliyor windows cmd gibi bir şey
Ve bağlantı kurulduğunda bir uyarı penceresi belirebilir bu uyarı penceresi aynen şuna benzerdir
Bu uyarıya Putty security alert yav hehe evet deyip geçin 😆
ve artık bağlantı hazır kullanıcı adı şifremizi gireceğimiz kısımlara geçelim
Putty  ekranında Login as : Burada kullanıcı adı biraz önce yukarıda mail adresinize gelen kullanıcı adı genelde root olur yani mail adresinde aynen yazan Username: root
root yazalım
Enter tuşlayalım
Ve sizden şifre isteyecek şifrenizi girip enter tuşlayın şifrenizi aklınızda tutmanıza gerek yok kopyalayın siyah ekranda sağ tıklayın şifreniz yapışacaktır şifrenizin yapıştığını siz göremezsiniz güvenlik nedeni ile görünmüyor butty bu sorunu hala neden halletmiyor anlamış değilim yerine ***** şeklinde yıldız işareti eklese hiç fena olmazdı yeni kullanıcılar karıştırıyor neyse 
Mail adresimize gelen şifre Password: c0e8d8175f115ba3 sizde bu farklı olacaktır.
ve tekrar sizden şifrenizi yenilemek için aynı şifrenizi isteyecek aynı şifreyi tekrar sağ tık yapın yapıştırın enter tuşlayın ve yeni şifre belirlemeniz gerekecek yeni şifrenizi bir büyük harf olmak üzere harflerden ve rakamlardan oluşan   en az sekiz 8 karakterli bir şifre yazın enter tuşlayın ve tekrar yazın enter tuşlayın
Evet artık kebapçı celalin hesabına göre içerdesiniz 😆
Burada ilk komutumuz güncellemelerimizi yapmak olacaktır
Komutlarımız şu şekilde arkadaşlar
sudo apt-get update
ve sonra 
sudo apt-get upgrade
ve burada [Y/n] ibaresi görünecek burada Y Harfini tuşlayıp enter tuşlayalım.
Tekrar böyle bir ibare ile karşılaşırsanız aynı şekilde Y Tuşlayıp enter tuşlayın Buradaki Y Yes anlamına gelmektedir yani demek istediği biz birşeyler kuracaz bunun sorumlusu sensin kardeş kabul ediyorsan kısaca Yes de :) ahanda şuna benzer karışık kuruşuk yazılar gibi.
Ben masaüstü gnome kuracağım siz artık ne yaparsınız bilmiyorum 
Masaüstü paketlerini kurmak için şu komutu yazıyoruz sudo apt-get install gnome-core gnome-session-fallback
Ben bu komutu yazdığımda şöyle bir zımpırtı çıktı eskiden böyle değildi nalet olsun hemen Yesmi nomu diye bir ibare çıkardı burada Y deyip geçerdim hata şöyle
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gnome-session-fallback is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gnome-session-flashback
E: Package 'gnome-session-fallback' has no installation candidate
Yani diyorki türkçesi
Paket listelerini okuyor ... Bitti
Yapı bağımlılığı ağacı
Durum bilgisini okuyor ... Bitti
Paket gnome-session-fallback kullanılamıyor, ancak başka bir paket tarafından yönlendiriliyor.
Bu, paketin eksik olması, geçersiz kılınması veya
Yalnızca başka bir kaynaktan edinilebilir
Ancak aşağıdaki paketler bunun yerine geçer:
   Gnome-session-flashback
E: 'gnome-session-fallback' paketinin kurulum adayı yok
Daha önce kullandığım ubuntu sürümü Ubuntu 14 x64 bit çok oldu kurmayalı
Bu uyarıdan sonra araştırdım benim şu anki ubuntu sürümüm Ubuntu 16.04.1 x64 şöyle bir komut varmış denedim sonucu yazacağım arkadaşlar 
sudo apt-get install gnome
Bu komutu yazınca baya bir uzunca kodlar yazıp akıyor putty baba :D 
Ben hala bekliyorum
Ne varsa kuruyor nalet olsun fontlar driverlar vs.
Hala bekliyorum...
Sonunda bitti ne genomeymiş be vay arkadaş :) bu işlem yaklaşık yarım saat sürebilir arkadaşlar sabırlı olun.
ve şu komutla Vnc sunucusu kurmamız gerekir vnc ile masaüstüne bağlanacağız 
sudo apt-get install vnc4server
Vnc server kurulduktan sonra vncserver komutu ile vnc server'ı başlatmamız gerekir başladığında bizden şifre isteyecektir şifre belirleyelim
Password:şifreniz Verify:Şifrenizi tekrar yazın
Ve şöyle bir yazı belirecek xauth:  file /root/.Xauthority does not exist New 'systemtr:1 (root)' desktop is systemtr:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/systemtr:1.log
Linux Nano editör ile vnc ayarlarını yapacağız vnc sunucusunu sonlandırmamız gerekir.
Komutumuz
vncserver -kill :1
Nano editör ile açmak için komut
nano .vnc/xstartup
Ve orada gördüğünüz tüm yazıları delete tuşu ile silin 
içerisine şu kodları yapıştırın
#!/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 &
Şu kısma dikkat edin dikkatli okuyun!
Ctrl+x ile Editörümüzü kapatıyoruz sizden kaydetmenizi isteyecek bunun için Y Tuşuna basıp hemen ardından Enter Tuşuna basıp Editörden çıkıyoruz.
Tekrar vnc sunucusunu başlatalım
Kod:
vncserver
https://www.realvnc.com/download/vnc/
veya
https://www.realvnc.com/download/viewer/ Veya http://www.tightvnc.com/download.php
Daha sonra Buradan VNC Viewer indirin 
Bağlanmak için vnc programını açın 
Mail yolu ile size gelen ip adresini vnc viewer arayüzündeki şu kısma yazın ip adresin sonuna :1 ekleyin
Benim ip değişti sistemi yeniden kurdum 
Don't warn me about yanındaki checkbox kutucuğuna bir tık koyun Continue butonuna tıklayın ve vnc kurarken girdiğiniz şifreyi yazın enter tuşlayın bağlantı tamam.
Digitalocean Hesabınız yok ise benim Referans linkime tıklayarak üye olabilirsiniz benim referansım ile üye olduğunuzda ödeme yapacağınız zaman size 10 dolar hediye verecektir. 
Referans Linkim
https://m.do.co/c/cee1d4d13abc
Hepinize iyi çalışmalar dilerim arkadaşlar hoşçakalın :)
ubuntu uzak masaüstü açma
linuxtan windowsa uzak masaüstü
ubuntu uzak masaüstü kurulumu
ubuntu vps uzak masaüstü kurulumu
ubuntu 16.04 uzak masaüstü
ubuntu vnc server kurulumu
windowstan linux uzak masaüstü
ubuntu masaüstü kurulumu
0 notes