Ubuntu desktop 2 logins needed

I am using Mate but do have a VNC server
Here is the /home/rock/.vnc/xstartup

#Uncomment the following two lines for normal desktop:
# 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 &

I login as ‘rock’ and no autologin

Thanks unluckily, I cannot test it right now coz it is not nearby, what I can check/do is via VPN/SSH. :frowning:

rock@linux:~$ <= this?

I kill vnc using 1) i.e vncserver -kill :1. Double login mean locally, when power on, directly using keyboard and mouse

Here is the capture from the terminal, opened locally, I saved steps during installation
rock@linux:~$ python -V
Python 2.7.15+
rock@linux:~$ python3 -V
Python 3.6.8

It is really a good suggestion. I will test it tomorrow and inform you at once. :slight_smile:

Thank you very much!!!

1 Like

:joy::joy: but I don’t want to face it again. Here are my installation steps, don’t know useful or not

  1. sudo apt install ubuntu-mate-core && sudo apt install ubuntu-mate-desktop (Fails on something)
  2. sudo apt-get update && upgrade
  3. repeat 1) success
  4. Install Nano
  5. Install SSH server
  6. Install VNC
  7. Install FTP Server
  8. Install Pip
  9. Install pandas
  10. Install schedule
  11. Install Urllib
  12. Install Chromium , selenium
  13. Install Nodejs, express, joi
  14. Install MQTT

Using the Ubuntu 64 image https://dl.radxa.com/rockpi/images/ubuntu/rockpi4b-ubuntu-bionic-minimal-20190104_2101-gpt.img.gz

You should be able to sudo -i

apt-get -y update
apt-get -y upgrade
apt -y dist-upgrade
apt-get install ubuntu-minimal tasksel nano

Use tasksel to install your your mate version or desktop of choice and any other options from tasksel you wish.
tasksel is a really good common simple console graphical interface that suits all levels of competence and its extremely easy to add new tasks to the list and also means you don’t have to remember package or script names.
Its basically the RockPi4’s Raspi-Config already exists and just needs a few Radxa definitions to make it so.

With the Ubuntu desktop 2 logins needed title header the only thing needed after desktop install was.

touch /etc/lightdm/lightdm.conf.d/12-autologin.conf
echo "[SeatDefaults]" > /etc/lightdm/lightdm.conf.d/12-autologin.conf
echo "autologin-user=rock" >> /etc/lightdm/lightdm.conf.d/12-autologin.conf

Maybe install things incrementally desktop first reboot and see how it goes sudo tasksel to add others later.


wget  http://ftp.de.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_arm64.deb
sudo dpkg -i libjpeg62-turbo_1.5.1-2_arm64.deb

then install chromium I never did really check as it was just a quick fix but prob apt-get install libjpeg-turbo does the same.

Also cevaps update collection can be found @ https://raw.githubusercontent.com/StuartIanNaylor/Rockpi4B-Scripts/master/rockpi4-packages.sh

@anon77784915 nope the pcie bridge is as dead as a norwegian blue

Already have and got another RockPi4b

1 Like

Thanks, just tested, even I reinstall again, but just desktop, still occur. One thing alert me is that the first login screen, a “localhost.localdomain” is shown at top-left hand corner, second login screen, change to “linux”.

~$ free -m
total used free shared buff/cache available
Mem: 3811 385 2861 14 564 3380
Swap: 0 0 0

Package configuration

lqqqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring lxdm tqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x A display manager is a program that provides graphical login x
x capabilities for the X Window System. x
x x
x Only one display manager can manage a given X server, but multiple x
x display manager packages are installed. Please select which display x
x manager should run by default. x
x x
x Multiple display managers can run simultaneously if they are configured x
x to manage different servers; to achieve this, configure the display x
x managers accordingly, edit each of their init scripts in /etc/init.d, x
x and disable the check for a default display manager. x
x x
x x
x x

I don’t know why too, even I reinstall it again. What I did today are

  1. sudo apt install ubuntu-mate-core && sudo apt install ubuntu-mate-desktop
  2. sudo apt-get update && upgrade (coz something goes wrong in step1)
  3. sudo apt install ubuntu-mate-core && sudo apt install ubuntu-mate-desktop
  4. reboot
  5. need to login twice

@Sramctc just burn your image again start fresh, try again.

Worked for me and think I tried it multiple times and so has cevap his way also.

Thanks, I do flash the image to SD card again, even try another SD :frowning:

Do you mean install lxdm instead of mate? then no, but I will try. Thanks

  1. sudo apt-get install -y lxde-core lxde
  2. sudo apt-get update $$ upgrade (coz something went wrong)
  3. sudo apt-get install -y lxde-core lxde
  4. reboot
    entering password, enter, “Fail to start session”

Dear cevap, when I installed the mate desktop (or lxde), it raised errors. What I could do is to update and upgrade and installed desktop again.

Dear cevap,

Here is one of the errors
“No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/per15/Debconf/FrontEnd/Dialog.pm debconf: falling back to frontend: Readline”.

Not sure spelling is 100% correct or not because I cannot copy those errors but recorded it down by hand.