Setting up vnc server and no physical display : Ubuntu 16.04 LTS
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am trying to setup a vnc server on Ubuntu 16.04 LTS which has unity desktop installed. I do not want to install other desktop environment.
I started with installing x11vncserver
and later realized that it does not work when the server does not have a physical monitor. It gives the error as
*** XOpenDisplay failed. No -display or DISPLAY.
(There are ways to emulate the monitor but I did not try it.)
After removing it, I tried vncserver
( xvnc )
which does work but I need to move to gnome panel and it looks really weird and low quality.
Connection details: Gigabit ethernet (all the way from client to server) but not on local network.
Can somebody help. Thanks.
ubuntu vnc x-server unity
add a comment |Â
up vote
0
down vote
favorite
I am trying to setup a vnc server on Ubuntu 16.04 LTS which has unity desktop installed. I do not want to install other desktop environment.
I started with installing x11vncserver
and later realized that it does not work when the server does not have a physical monitor. It gives the error as
*** XOpenDisplay failed. No -display or DISPLAY.
(There are ways to emulate the monitor but I did not try it.)
After removing it, I tried vncserver
( xvnc )
which does work but I need to move to gnome panel and it looks really weird and low quality.
Connection details: Gigabit ethernet (all the way from client to server) but not on local network.
Can somebody help. Thanks.
ubuntu vnc x-server unity
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to setup a vnc server on Ubuntu 16.04 LTS which has unity desktop installed. I do not want to install other desktop environment.
I started with installing x11vncserver
and later realized that it does not work when the server does not have a physical monitor. It gives the error as
*** XOpenDisplay failed. No -display or DISPLAY.
(There are ways to emulate the monitor but I did not try it.)
After removing it, I tried vncserver
( xvnc )
which does work but I need to move to gnome panel and it looks really weird and low quality.
Connection details: Gigabit ethernet (all the way from client to server) but not on local network.
Can somebody help. Thanks.
ubuntu vnc x-server unity
I am trying to setup a vnc server on Ubuntu 16.04 LTS which has unity desktop installed. I do not want to install other desktop environment.
I started with installing x11vncserver
and later realized that it does not work when the server does not have a physical monitor. It gives the error as
*** XOpenDisplay failed. No -display or DISPLAY.
(There are ways to emulate the monitor but I did not try it.)
After removing it, I tried vncserver
( xvnc )
which does work but I need to move to gnome panel and it looks really weird and low quality.
Connection details: Gigabit ethernet (all the way from client to server) but not on local network.
Can somebody help. Thanks.
ubuntu vnc x-server unity
ubuntu vnc x-server unity
asked Nov 26 '16 at 18:27
ankit7540
206210
206210
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
I use this to set up a virtual monitor for my headless server to work with VNC and Steam in-home streaming:
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0 #Virtual monitor needs this
VertRefresh 43.0 - 72.0 #this, too
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia" #change for AMD or Intel
VendorName "NVIDIA Corporation" #this, too
Option "NoLogo" "1" #also this
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Option "AllowEmptyInitialConfiguration" "True"
EndSubSection
EndSection
Adjust as needed to fit your GPU and monitor setup.
Note that this configuration only works for X. Mir and Wayland use a different configuration setup.
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
1
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
What if I do not have NVIDIA? My graphic card is on board. Can I simply removeSection "Device"
? BTW, this file/etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu18.04
. Does it work there too?
â ar2015
Apr 18 at 3:57
@ar2015 As per the comment in the file, you changeDriver
to the appropriate driver on your system. Yours would likely be"intel"
or"i915"
. If the file does not exist, you simply create it.
â Mioriin
Apr 18 at 15:56
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
 |Â
show 1 more comment
up vote
0
down vote
The tutorial linked below might help you. The tutorial assumes you are running the server version of Ubuntu. If you are running the desktop version of Ubuntu then some of the installations are not necessary so adjust accordingly.
Use dpkg -l packageName
to check if you already have a package installed. The first column would indicate ii
for items that you do not need to install because they are already installed.
Link to a tutorial for VNC on Ubuntu with no physical display.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I use this to set up a virtual monitor for my headless server to work with VNC and Steam in-home streaming:
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0 #Virtual monitor needs this
VertRefresh 43.0 - 72.0 #this, too
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia" #change for AMD or Intel
VendorName "NVIDIA Corporation" #this, too
Option "NoLogo" "1" #also this
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Option "AllowEmptyInitialConfiguration" "True"
EndSubSection
EndSection
Adjust as needed to fit your GPU and monitor setup.
Note that this configuration only works for X. Mir and Wayland use a different configuration setup.
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
1
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
What if I do not have NVIDIA? My graphic card is on board. Can I simply removeSection "Device"
? BTW, this file/etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu18.04
. Does it work there too?
â ar2015
Apr 18 at 3:57
@ar2015 As per the comment in the file, you changeDriver
to the appropriate driver on your system. Yours would likely be"intel"
or"i915"
. If the file does not exist, you simply create it.
â Mioriin
Apr 18 at 15:56
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
 |Â
show 1 more comment
up vote
2
down vote
accepted
I use this to set up a virtual monitor for my headless server to work with VNC and Steam in-home streaming:
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0 #Virtual monitor needs this
VertRefresh 43.0 - 72.0 #this, too
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia" #change for AMD or Intel
VendorName "NVIDIA Corporation" #this, too
Option "NoLogo" "1" #also this
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Option "AllowEmptyInitialConfiguration" "True"
EndSubSection
EndSection
Adjust as needed to fit your GPU and monitor setup.
Note that this configuration only works for X. Mir and Wayland use a different configuration setup.
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
1
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
What if I do not have NVIDIA? My graphic card is on board. Can I simply removeSection "Device"
? BTW, this file/etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu18.04
. Does it work there too?
â ar2015
Apr 18 at 3:57
@ar2015 As per the comment in the file, you changeDriver
to the appropriate driver on your system. Yours would likely be"intel"
or"i915"
. If the file does not exist, you simply create it.
â Mioriin
Apr 18 at 15:56
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
 |Â
show 1 more comment
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I use this to set up a virtual monitor for my headless server to work with VNC and Steam in-home streaming:
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0 #Virtual monitor needs this
VertRefresh 43.0 - 72.0 #this, too
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia" #change for AMD or Intel
VendorName "NVIDIA Corporation" #this, too
Option "NoLogo" "1" #also this
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Option "AllowEmptyInitialConfiguration" "True"
EndSubSection
EndSection
Adjust as needed to fit your GPU and monitor setup.
Note that this configuration only works for X. Mir and Wayland use a different configuration setup.
I use this to set up a virtual monitor for my headless server to work with VNC and Steam in-home streaming:
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0 #Virtual monitor needs this
VertRefresh 43.0 - 72.0 #this, too
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia" #change for AMD or Intel
VendorName "NVIDIA Corporation" #this, too
Option "NoLogo" "1" #also this
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Option "AllowEmptyInitialConfiguration" "True"
EndSubSection
EndSection
Adjust as needed to fit your GPU and monitor setup.
Note that this configuration only works for X. Mir and Wayland use a different configuration setup.
edited 18 mins ago
Feliks Montez
1032
1032
answered Nov 26 '16 at 18:43
Mioriin
1,674412
1,674412
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
1
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
What if I do not have NVIDIA? My graphic card is on board. Can I simply removeSection "Device"
? BTW, this file/etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu18.04
. Does it work there too?
â ar2015
Apr 18 at 3:57
@ar2015 As per the comment in the file, you changeDriver
to the appropriate driver on your system. Yours would likely be"intel"
or"i915"
. If the file does not exist, you simply create it.
â Mioriin
Apr 18 at 15:56
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
 |Â
show 1 more comment
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
1
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
What if I do not have NVIDIA? My graphic card is on board. Can I simply removeSection "Device"
? BTW, this file/etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu18.04
. Does it work there too?
â ar2015
Apr 18 at 3:57
@ar2015 As per the comment in the file, you changeDriver
to the appropriate driver on your system. Yours would likely be"intel"
or"i915"
. If the file does not exist, you simply create it.
â Mioriin
Apr 18 at 15:56
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
Thanks for reply. Above looks like emulating a display. 2 questions. Is your solution applicable to x11vnc server which is of course based on x.org ? Do we need to do any more setting like making the server specifically use this 'monitor' ?
â ankit7540
Nov 27 '16 at 13:35
1
1
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
If it uses the X graphics stack, it should work without further configuration, since this is just telling X that there's a display to use "right there" and the EDID probe missed it. ;)
â Mioriin
Nov 28 '16 at 5:48
What if I do not have NVIDIA? My graphic card is on board. Can I simply remove
Section "Device"
? BTW, this file /etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu 18.04
. Does it work there too?â ar2015
Apr 18 at 3:57
What if I do not have NVIDIA? My graphic card is on board. Can I simply remove
Section "Device"
? BTW, this file /etc/X11/xorg.conf.d/10-monitor.conf
does not exist on Ubuntu 18.04
. Does it work there too?â ar2015
Apr 18 at 3:57
@ar2015 As per the comment in the file, you change
Driver
to the appropriate driver on your system. Yours would likely be "intel"
or "i915"
. If the file does not exist, you simply create it.â Mioriin
Apr 18 at 15:56
@ar2015 As per the comment in the file, you change
Driver
to the appropriate driver on your system. Yours would likely be "intel"
or "i915"
. If the file does not exist, you simply create it.â Mioriin
Apr 18 at 15:56
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
@Mioriin, thanks a lot. For VendorName can I use "intel Corporation"? Are these names arbitrary? Also if sometimes I connect a monitor, do they create any problem for a normal display?
â ar2015
Apr 18 at 22:41
 |Â
show 1 more comment
up vote
0
down vote
The tutorial linked below might help you. The tutorial assumes you are running the server version of Ubuntu. If you are running the desktop version of Ubuntu then some of the installations are not necessary so adjust accordingly.
Use dpkg -l packageName
to check if you already have a package installed. The first column would indicate ii
for items that you do not need to install because they are already installed.
Link to a tutorial for VNC on Ubuntu with no physical display.
add a comment |Â
up vote
0
down vote
The tutorial linked below might help you. The tutorial assumes you are running the server version of Ubuntu. If you are running the desktop version of Ubuntu then some of the installations are not necessary so adjust accordingly.
Use dpkg -l packageName
to check if you already have a package installed. The first column would indicate ii
for items that you do not need to install because they are already installed.
Link to a tutorial for VNC on Ubuntu with no physical display.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The tutorial linked below might help you. The tutorial assumes you are running the server version of Ubuntu. If you are running the desktop version of Ubuntu then some of the installations are not necessary so adjust accordingly.
Use dpkg -l packageName
to check if you already have a package installed. The first column would indicate ii
for items that you do not need to install because they are already installed.
Link to a tutorial for VNC on Ubuntu with no physical display.
The tutorial linked below might help you. The tutorial assumes you are running the server version of Ubuntu. If you are running the desktop version of Ubuntu then some of the installations are not necessary so adjust accordingly.
Use dpkg -l packageName
to check if you already have a package installed. The first column would indicate ii
for items that you do not need to install because they are already installed.
Link to a tutorial for VNC on Ubuntu with no physical display.
answered Mar 25 at 19:09
H2ONaCl
1346
1346
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f326234%2fsetting-up-vnc-server-and-no-physical-display-ubuntu-16-04-lts%23new-answer', 'question_page');
);
Post as a guest
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
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
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