How to access Ubuntu GUI through Teamviewer on headless server?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm building what will primarily be a Plex Media Server, but I also like to tinker with Linux, so I'd like to get to the GUI via Teamviewer.
I got everything up and working before I realized GUI doesn't load without a monitor attached.
How can I set up a dummy monitor, or something? I'm not very good with command line, but can do it well enough to follow instructions. This box will be running without keyboard, monitor, or mouse.
remote-desktop remote-access headless
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm building what will primarily be a Plex Media Server, but I also like to tinker with Linux, so I'd like to get to the GUI via Teamviewer.
I got everything up and working before I realized GUI doesn't load without a monitor attached.
How can I set up a dummy monitor, or something? I'm not very good with command line, but can do it well enough to follow instructions. This box will be running without keyboard, monitor, or mouse.
remote-desktop remote-access headless
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Use a VNC serer such as FreeNX or vncserver
– Panther
Oct 18 '14 at 23:33
To improve bohdi's very low quality comment, alternatives to consider Install an NX server like X2Go or How do I install a VNC server?.
– LiveWireBT
Dec 26 '15 at 18:16
You can use also a screen program to display virtual desktop.
– kukulo
Oct 26 '18 at 19:26
add a comment |
I'm building what will primarily be a Plex Media Server, but I also like to tinker with Linux, so I'd like to get to the GUI via Teamviewer.
I got everything up and working before I realized GUI doesn't load without a monitor attached.
How can I set up a dummy monitor, or something? I'm not very good with command line, but can do it well enough to follow instructions. This box will be running without keyboard, monitor, or mouse.
remote-desktop remote-access headless
I'm building what will primarily be a Plex Media Server, but I also like to tinker with Linux, so I'd like to get to the GUI via Teamviewer.
I got everything up and working before I realized GUI doesn't load without a monitor attached.
How can I set up a dummy monitor, or something? I'm not very good with command line, but can do it well enough to follow instructions. This box will be running without keyboard, monitor, or mouse.
remote-desktop remote-access headless
remote-desktop remote-access headless
edited Dec 26 '15 at 15:01
LiveWireBT
22k1972159
22k1972159
asked Oct 18 '14 at 22:51
hppyfngyhppyfngy
1112
1112
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Use a VNC serer such as FreeNX or vncserver
– Panther
Oct 18 '14 at 23:33
To improve bohdi's very low quality comment, alternatives to consider Install an NX server like X2Go or How do I install a VNC server?.
– LiveWireBT
Dec 26 '15 at 18:16
You can use also a screen program to display virtual desktop.
– kukulo
Oct 26 '18 at 19:26
add a comment |
Use a VNC serer such as FreeNX or vncserver
– Panther
Oct 18 '14 at 23:33
To improve bohdi's very low quality comment, alternatives to consider Install an NX server like X2Go or How do I install a VNC server?.
– LiveWireBT
Dec 26 '15 at 18:16
You can use also a screen program to display virtual desktop.
– kukulo
Oct 26 '18 at 19:26
Use a VNC serer such as FreeNX or vncserver
– Panther
Oct 18 '14 at 23:33
Use a VNC serer such as FreeNX or vncserver
– Panther
Oct 18 '14 at 23:33
To improve bohdi's very low quality comment, alternatives to consider Install an NX server like X2Go or How do I install a VNC server?.
– LiveWireBT
Dec 26 '15 at 18:16
To improve bohdi's very low quality comment, alternatives to consider Install an NX server like X2Go or How do I install a VNC server?.
– LiveWireBT
Dec 26 '15 at 18:16
You can use also a screen program to display virtual desktop.
– kukulo
Oct 26 '18 at 19:26
You can use also a screen program to display virtual desktop.
– kukulo
Oct 26 '18 at 19:26
add a comment |
2 Answers
2
active
oldest
votes
The package "xserver-xorg-video-dummy" appears to do what is required
Some details on setting it up in this question
Add Fake Display when No Monitor is Plugged In
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
add a comment |
I have basically installed a package xserver-xorg-video-dummy with sudo apt install xserver-xorg-video-dummy
then created a config file named xorg.conf
with following content:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
I also created two scripts monitor.sh
and nomonitor.sh
:
monitor.sh
:
sudo rm /usr/share/X11/xorg.conf.d/xorg.conf
nomonitor.sh
:
sudo cp xorg.conf /usr/share/X11/xorg.conf.d/
You can execute one of the scripts over the ssh
or when the monitor is attached.
You will need to execute sudo reboot
after executing the scripts.
You can execute then xvnc
or teamviewer
as you like.
add a comment |
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%2f538749%2fhow-to-access-ubuntu-gui-through-teamviewer-on-headless-server%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
The package "xserver-xorg-video-dummy" appears to do what is required
Some details on setting it up in this question
Add Fake Display when No Monitor is Plugged In
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
add a comment |
The package "xserver-xorg-video-dummy" appears to do what is required
Some details on setting it up in this question
Add Fake Display when No Monitor is Plugged In
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
add a comment |
The package "xserver-xorg-video-dummy" appears to do what is required
Some details on setting it up in this question
Add Fake Display when No Monitor is Plugged In
The package "xserver-xorg-video-dummy" appears to do what is required
Some details on setting it up in this question
Add Fake Display when No Monitor is Plugged In
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Oct 18 '14 at 22:58
mattmatt
131116
131116
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
add a comment |
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Nothing I've tried causes X to load the desktop unless there is a monitor plugged in, and I've seen this as an issue everywhere I've searched. Are you sure about this? With a monitor attached, I can get to the GUI with Teamviewer. Without the monitor, nothing shows up on my remote admin computer. It just won't connect. I can still use Plex, so the computer is running properly and is available on my network.
– hppyfngy
Oct 19 '14 at 23:26
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Sorry, I found another post that could be worth checking, i've edited
– matt
Oct 20 '14 at 2:55
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
Thanks for the link. I'm headed out of town for several days but will try that series of things. Before I do that though, I think I'll make a dummy monitor plug. I don't know what resolutions I'll be able to use, but it should do the job, even if it is a crude solution. I'll report back.
– hppyfngy
Oct 21 '14 at 12:48
add a comment |
I have basically installed a package xserver-xorg-video-dummy with sudo apt install xserver-xorg-video-dummy
then created a config file named xorg.conf
with following content:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
I also created two scripts monitor.sh
and nomonitor.sh
:
monitor.sh
:
sudo rm /usr/share/X11/xorg.conf.d/xorg.conf
nomonitor.sh
:
sudo cp xorg.conf /usr/share/X11/xorg.conf.d/
You can execute one of the scripts over the ssh
or when the monitor is attached.
You will need to execute sudo reboot
after executing the scripts.
You can execute then xvnc
or teamviewer
as you like.
add a comment |
I have basically installed a package xserver-xorg-video-dummy with sudo apt install xserver-xorg-video-dummy
then created a config file named xorg.conf
with following content:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
I also created two scripts monitor.sh
and nomonitor.sh
:
monitor.sh
:
sudo rm /usr/share/X11/xorg.conf.d/xorg.conf
nomonitor.sh
:
sudo cp xorg.conf /usr/share/X11/xorg.conf.d/
You can execute one of the scripts over the ssh
or when the monitor is attached.
You will need to execute sudo reboot
after executing the scripts.
You can execute then xvnc
or teamviewer
as you like.
add a comment |
I have basically installed a package xserver-xorg-video-dummy with sudo apt install xserver-xorg-video-dummy
then created a config file named xorg.conf
with following content:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
I also created two scripts monitor.sh
and nomonitor.sh
:
monitor.sh
:
sudo rm /usr/share/X11/xorg.conf.d/xorg.conf
nomonitor.sh
:
sudo cp xorg.conf /usr/share/X11/xorg.conf.d/
You can execute one of the scripts over the ssh
or when the monitor is attached.
You will need to execute sudo reboot
after executing the scripts.
You can execute then xvnc
or teamviewer
as you like.
I have basically installed a package xserver-xorg-video-dummy with sudo apt install xserver-xorg-video-dummy
then created a config file named xorg.conf
with following content:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
I also created two scripts monitor.sh
and nomonitor.sh
:
monitor.sh
:
sudo rm /usr/share/X11/xorg.conf.d/xorg.conf
nomonitor.sh
:
sudo cp xorg.conf /usr/share/X11/xorg.conf.d/
You can execute one of the scripts over the ssh
or when the monitor is attached.
You will need to execute sudo reboot
after executing the scripts.
You can execute then xvnc
or teamviewer
as you like.
answered Oct 26 '18 at 19:37
kukulokukulo
1,435518
1,435518
add a comment |
add a comment |
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%2f538749%2fhow-to-access-ubuntu-gui-through-teamviewer-on-headless-server%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
Use a VNC serer such as FreeNX or vncserver
– Panther
Oct 18 '14 at 23:33
To improve bohdi's very low quality comment, alternatives to consider Install an NX server like X2Go or How do I install a VNC server?.
– LiveWireBT
Dec 26 '15 at 18:16
You can use also a screen program to display virtual desktop.
– kukulo
Oct 26 '18 at 19:26