1

I have installed new Ubuntu Server with GNOME GUI. I configured Remmina to remote desktop. It works fine. However, I need remote access enabled, without first having to log in locally on the box.

How can I enable graphical remote control, without first having to log in locally on the machine?

vidarlo
  • 23,497

2 Answers2

1

This is what I used for x11vnc, this may help you with your problem with just switching out the program and names.

# Step 8 - Create the Service Unit File
# ################################################################# 

#cat > /lib/systemd/system/x11vnc.service << EOF
#[Unit]
#Description=Start x11vnc at startup.
#After=multi-user.target

#[Service]
#Type=simple
#ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared

#[Install]
#WantedBy=multi-user.target
#EOF

# Step 9 -Configure the Service 
# ################################################################ 

#echo "Configure Services"
#sudo systemctl enable x11vnc.service
#sudo systemctl daemon-reload
0

You can add the a line in /etc/rc.local which is the path to the program you want to run. So if the program/file/script is in /etc the line you will add would be like as following:
/etc/file name
This worked for me with out a hitch so far.

delfiler
  • 237