Ubuntu 18.04 Server - GUI remote access
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?
server gnome cron 18.04 remote-desktop
|
show 1 more comment
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?
server gnome cron 18.04 remote-desktop
2
Possible duplicate of How do I start applications automatically on login?
– vidarlo
May 9 '18 at 14:38
Nope, I wrote that I need set autostart remmina before fist log in. Your suggestion is after log in. This is server. I need set this service the same like ssh, whose start automatically after boot.
– Axel Gocan
May 10 '18 at 9:36
Remmina is a Rdp client? It doesn't make sense in my opinion to start this before login.
– vidarlo
May 10 '18 at 9:39
Tell this microsoft where remote desktop works after boot system and before first log in from many years. Serwer is in another location so when I restart it, how I can remote to this? I must go there, login first time and after then can remote from my office. Where is sense to go to another location after every restart? I can't start remmina even I connect via ssh on user, this will be another way to resolve my issue, but can't. So I start thinking about autostart remmina.
– Axel Gocan
May 10 '18 at 9:45
I rewrote your question based on your comment. Also note that the traditional management way is ssh.
– vidarlo
May 10 '18 at 9:57
|
show 1 more comment
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?
server gnome cron 18.04 remote-desktop
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?
server gnome cron 18.04 remote-desktop
server gnome cron 18.04 remote-desktop
edited May 10 '18 at 9:56
vidarlo
10.9k52749
10.9k52749
asked May 9 '18 at 9:23
Axel GocanAxel Gocan
161210
161210
2
Possible duplicate of How do I start applications automatically on login?
– vidarlo
May 9 '18 at 14:38
Nope, I wrote that I need set autostart remmina before fist log in. Your suggestion is after log in. This is server. I need set this service the same like ssh, whose start automatically after boot.
– Axel Gocan
May 10 '18 at 9:36
Remmina is a Rdp client? It doesn't make sense in my opinion to start this before login.
– vidarlo
May 10 '18 at 9:39
Tell this microsoft where remote desktop works after boot system and before first log in from many years. Serwer is in another location so when I restart it, how I can remote to this? I must go there, login first time and after then can remote from my office. Where is sense to go to another location after every restart? I can't start remmina even I connect via ssh on user, this will be another way to resolve my issue, but can't. So I start thinking about autostart remmina.
– Axel Gocan
May 10 '18 at 9:45
I rewrote your question based on your comment. Also note that the traditional management way is ssh.
– vidarlo
May 10 '18 at 9:57
|
show 1 more comment
2
Possible duplicate of How do I start applications automatically on login?
– vidarlo
May 9 '18 at 14:38
Nope, I wrote that I need set autostart remmina before fist log in. Your suggestion is after log in. This is server. I need set this service the same like ssh, whose start automatically after boot.
– Axel Gocan
May 10 '18 at 9:36
Remmina is a Rdp client? It doesn't make sense in my opinion to start this before login.
– vidarlo
May 10 '18 at 9:39
Tell this microsoft where remote desktop works after boot system and before first log in from many years. Serwer is in another location so when I restart it, how I can remote to this? I must go there, login first time and after then can remote from my office. Where is sense to go to another location after every restart? I can't start remmina even I connect via ssh on user, this will be another way to resolve my issue, but can't. So I start thinking about autostart remmina.
– Axel Gocan
May 10 '18 at 9:45
I rewrote your question based on your comment. Also note that the traditional management way is ssh.
– vidarlo
May 10 '18 at 9:57
2
2
Possible duplicate of How do I start applications automatically on login?
– vidarlo
May 9 '18 at 14:38
Possible duplicate of How do I start applications automatically on login?
– vidarlo
May 9 '18 at 14:38
Nope, I wrote that I need set autostart remmina before fist log in. Your suggestion is after log in. This is server. I need set this service the same like ssh, whose start automatically after boot.
– Axel Gocan
May 10 '18 at 9:36
Nope, I wrote that I need set autostart remmina before fist log in. Your suggestion is after log in. This is server. I need set this service the same like ssh, whose start automatically after boot.
– Axel Gocan
May 10 '18 at 9:36
Remmina is a Rdp client? It doesn't make sense in my opinion to start this before login.
– vidarlo
May 10 '18 at 9:39
Remmina is a Rdp client? It doesn't make sense in my opinion to start this before login.
– vidarlo
May 10 '18 at 9:39
Tell this microsoft where remote desktop works after boot system and before first log in from many years. Serwer is in another location so when I restart it, how I can remote to this? I must go there, login first time and after then can remote from my office. Where is sense to go to another location after every restart? I can't start remmina even I connect via ssh on user, this will be another way to resolve my issue, but can't. So I start thinking about autostart remmina.
– Axel Gocan
May 10 '18 at 9:45
Tell this microsoft where remote desktop works after boot system and before first log in from many years. Serwer is in another location so when I restart it, how I can remote to this? I must go there, login first time and after then can remote from my office. Where is sense to go to another location after every restart? I can't start remmina even I connect via ssh on user, this will be another way to resolve my issue, but can't. So I start thinking about autostart remmina.
– Axel Gocan
May 10 '18 at 9:45
I rewrote your question based on your comment. Also note that the traditional management way is ssh.
– vidarlo
May 10 '18 at 9:57
I rewrote your question based on your comment. Also note that the traditional management way is ssh.
– vidarlo
May 10 '18 at 9:57
|
show 1 more comment
2 Answers
2
active
oldest
votes
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
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
add a comment |
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.
1
I haven'trc.localin /etc on any my desktop or server. Only I have:rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/
– Axel Gocan
May 9 '18 at 9:42
1
@AxelGocan what about/etc/init? do you have that?
– delfiler
May 9 '18 at 9:48
1
Yep, and in this:anacron.conf gpu-manager.conf mysql.conf whoopsie.conf
– Axel Gocan
May 9 '18 at 9:51
1
okay then in/etc/initsave in a.conffile with the followingstart on startupnext linetasknext lineexec /path/to/command
– delfiler
May 9 '18 at 9:53
3
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
|
show 4 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033951%2fubuntu-18-04-server-gui-remote-access%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
add a comment |
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
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
add a comment |
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
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
edited May 11 '18 at 3:05
user336085
2343613
2343613
answered May 10 '18 at 21:36
James WhiteJames White
111
111
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
add a comment |
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
Have you all instruction to configure x11vnc? Remmina is only option for me, I need remote desktop, it might be anything.
– Axel Gocan
May 14 '18 at 7:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
I was try to do this for remmina, but i don't know nothing about some switches for guest account on remmina.
– Axel Gocan
Jul 2 '18 at 10:11
add a comment |
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.
1
I haven'trc.localin /etc on any my desktop or server. Only I have:rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/
– Axel Gocan
May 9 '18 at 9:42
1
@AxelGocan what about/etc/init? do you have that?
– delfiler
May 9 '18 at 9:48
1
Yep, and in this:anacron.conf gpu-manager.conf mysql.conf whoopsie.conf
– Axel Gocan
May 9 '18 at 9:51
1
okay then in/etc/initsave in a.conffile with the followingstart on startupnext linetasknext lineexec /path/to/command
– delfiler
May 9 '18 at 9:53
3
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
|
show 4 more comments
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.
1
I haven'trc.localin /etc on any my desktop or server. Only I have:rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/
– Axel Gocan
May 9 '18 at 9:42
1
@AxelGocan what about/etc/init? do you have that?
– delfiler
May 9 '18 at 9:48
1
Yep, and in this:anacron.conf gpu-manager.conf mysql.conf whoopsie.conf
– Axel Gocan
May 9 '18 at 9:51
1
okay then in/etc/initsave in a.conffile with the followingstart on startupnext linetasknext lineexec /path/to/command
– delfiler
May 9 '18 at 9:53
3
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
|
show 4 more comments
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.
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.
edited May 9 '18 at 10:38
answered May 9 '18 at 9:33
delfilerdelfiler
82112
82112
1
I haven'trc.localin /etc on any my desktop or server. Only I have:rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/
– Axel Gocan
May 9 '18 at 9:42
1
@AxelGocan what about/etc/init? do you have that?
– delfiler
May 9 '18 at 9:48
1
Yep, and in this:anacron.conf gpu-manager.conf mysql.conf whoopsie.conf
– Axel Gocan
May 9 '18 at 9:51
1
okay then in/etc/initsave in a.conffile with the followingstart on startupnext linetasknext lineexec /path/to/command
– delfiler
May 9 '18 at 9:53
3
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
|
show 4 more comments
1
I haven'trc.localin /etc on any my desktop or server. Only I have:rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/
– Axel Gocan
May 9 '18 at 9:42
1
@AxelGocan what about/etc/init? do you have that?
– delfiler
May 9 '18 at 9:48
1
Yep, and in this:anacron.conf gpu-manager.conf mysql.conf whoopsie.conf
– Axel Gocan
May 9 '18 at 9:51
1
okay then in/etc/initsave in a.conffile with the followingstart on startupnext linetasknext lineexec /path/to/command
– delfiler
May 9 '18 at 9:53
3
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
1
1
I haven't
rc.local in /etc on any my desktop or server. Only I have: rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/ – Axel Gocan
May 9 '18 at 9:42
I haven't
rc.local in /etc on any my desktop or server. Only I have: rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/ rcS.d/ – Axel Gocan
May 9 '18 at 9:42
1
1
@AxelGocan what about
/etc/init? do you have that?– delfiler
May 9 '18 at 9:48
@AxelGocan what about
/etc/init? do you have that?– delfiler
May 9 '18 at 9:48
1
1
Yep, and in this:
anacron.conf gpu-manager.conf mysql.conf whoopsie.conf– Axel Gocan
May 9 '18 at 9:51
Yep, and in this:
anacron.conf gpu-manager.conf mysql.conf whoopsie.conf– Axel Gocan
May 9 '18 at 9:51
1
1
okay then in
/etc/init save in a .conf file with the following start on startup next line task next line exec /path/to/command– delfiler
May 9 '18 at 9:53
okay then in
/etc/init save in a .conf file with the following start on startup next line task next line exec /path/to/command– delfiler
May 9 '18 at 9:53
3
3
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
You can't start a gui app using init files. You have to configure your DE to autostart that app.
– vidarlo
May 9 '18 at 14:37
|
show 4 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033951%2fubuntu-18-04-server-gui-remote-access%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Possible duplicate of How do I start applications automatically on login?
– vidarlo
May 9 '18 at 14:38
Nope, I wrote that I need set autostart remmina before fist log in. Your suggestion is after log in. This is server. I need set this service the same like ssh, whose start automatically after boot.
– Axel Gocan
May 10 '18 at 9:36
Remmina is a Rdp client? It doesn't make sense in my opinion to start this before login.
– vidarlo
May 10 '18 at 9:39
Tell this microsoft where remote desktop works after boot system and before first log in from many years. Serwer is in another location so when I restart it, how I can remote to this? I must go there, login first time and after then can remote from my office. Where is sense to go to another location after every restart? I can't start remmina even I connect via ssh on user, this will be another way to resolve my issue, but can't. So I start thinking about autostart remmina.
– Axel Gocan
May 10 '18 at 9:45
I rewrote your question based on your comment. Also note that the traditional management way is ssh.
– vidarlo
May 10 '18 at 9:57