headless x11vnc - higher resolution












0














I'm trying to get my Ubuntu box to run at a higher resolution than the default 1024x768. As you can see from the log, i'm using integrated Intel video drivers.



I've tried adding an xorg.conf with a dummy monitor but I still get the default resolution.



I've also tried specifying the geometry in the x11vnc.service.



Then I added a custom dummy monitor config, as below.



/usr/share/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
Option "DPMS" "false"
DisplaySize 400 300
EndSection

Section "Device"
Identifier "Device0"
Driver "intel"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1600x1200" "1280x768"
EndSubSection
EndSection


File: /var/log/Xorg.0.log



[     3.564] (II) Module glx: vendor="X.Org Foundation"
[ 3.564] compiled for 1.18.4, module version = 1.0.0
[ 3.564] ABI class: X.Org Server Extension, version 9.0
[ 3.564] (==) AIGLX enabled
[ 3.564] (II) LoadModule: "intel"
[ 3.565] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 3.567] (II) Module intel: vendor="X.Org Foundation"
[ 3.567] compiled for 1.18.4, module version = 2.99.917
[ 3.567] Module class: X.Org Video Driver
[ 3.567] ABI class: X.Org Video Driver, version 20.0
[ 3.567] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 3.567] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 3.570] (II) intel(0): Using Kernel Mode Setting driver: i915_bpo, version 1.6.0 20160425
[ 3.570] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <tjaalton@debian.org>)
[ 3.570] (II) intel(0): SNA compiled for use with valgrind
[ 3.571] (--) intel(0): gen9 engineering sample
[ 3.571] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 3.571] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[ 3.571] (==) intel(0): RGB weight 888
[ 3.571] (==) intel(0): Default visual is TrueColor
[ 3.572] (II) intel(0): Output HDMI1 using monitor section Monitor0
[ 3.572] (**) intel(0): Option "Enable" "true"
[ 3.572] (II) intel(0): Enabled output HDMI1
[ 3.572] (II) intel(0): Output HDMI2 has no monitor section
[ 3.572] (II) intel(0): Enabled output HDMI2
[ 3.572] (II) intel(0): Output DP1 has no monitor section
[ 3.572] (II) intel(0): Enabled output DP1
[ 3.572] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 3.572] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 3.572] (II) intel(0): Enabled output VIRTUAL1
[ 3.572] (==) intel(0): TearFree disabled
[ 3.572] (**) intel(0): Display dimensions: (400, 300) mm
[ 3.572] (**) intel(0): DPI set to (65, 65)
[ 3.572] (II) Loading sub module "dri2"
[ 3.572] (II) LoadModule: "dri2"
[ 3.572] (II) Module "dri2" already built-in
[ 3.572] (II) Loading sub module "present"
[ 3.572] (II) LoadModule: "present"
[ 3.572] (II) Module "present" already built-in
[ 3.572] (==) Depth 24 pixmap format is 32 bpp
[ 3.575] (II) intel(0): SNA initialized with Kabylake (gen9) backend
[ 3.575] (==) intel(0): Backing store enabled
[ 3.575] (==) intel(0): Silken mouse enabled
[ 3.575] (II) intel(0): HW Cursor enabled
[ 3.575] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 3.576] (==) intel(0): Display hotplug detection enabled
[ 3.576] (II) intel(0): [DRI2] Setup complete
[ 3.576] (II) intel(0): [DRI2] DRI driver: i965

^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M- First Line M-W WhereIs Next ^^ Mark Text M-} Indent Text M-U Undo ^B Back
^X Exit ^R Read File ^ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket M-^ Copy Text M-{ Unindent Text M-E Redo ^F Forwards


/lib/systemd/system/x11vnc.service:



[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service

[Service]
ExecStart=/usr/bin/x11vnc -xkb -norc -forever -shared -display :0 -xrandr -auth guess -rfbauth /etc/x11vnc.pass -localhost -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
Restart-sec=2

[Install]
WantedBy=multi-user.target









share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Try using a frame buffer instead of a dummy monitor. xrandr -fb 1680x1050 Must be setup before x11vnc is started.
    – jc__
    Mar 24 '17 at 18:47


















0














I'm trying to get my Ubuntu box to run at a higher resolution than the default 1024x768. As you can see from the log, i'm using integrated Intel video drivers.



I've tried adding an xorg.conf with a dummy monitor but I still get the default resolution.



I've also tried specifying the geometry in the x11vnc.service.



Then I added a custom dummy monitor config, as below.



/usr/share/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
Option "DPMS" "false"
DisplaySize 400 300
EndSection

Section "Device"
Identifier "Device0"
Driver "intel"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1600x1200" "1280x768"
EndSubSection
EndSection


File: /var/log/Xorg.0.log



[     3.564] (II) Module glx: vendor="X.Org Foundation"
[ 3.564] compiled for 1.18.4, module version = 1.0.0
[ 3.564] ABI class: X.Org Server Extension, version 9.0
[ 3.564] (==) AIGLX enabled
[ 3.564] (II) LoadModule: "intel"
[ 3.565] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 3.567] (II) Module intel: vendor="X.Org Foundation"
[ 3.567] compiled for 1.18.4, module version = 2.99.917
[ 3.567] Module class: X.Org Video Driver
[ 3.567] ABI class: X.Org Video Driver, version 20.0
[ 3.567] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 3.567] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 3.570] (II) intel(0): Using Kernel Mode Setting driver: i915_bpo, version 1.6.0 20160425
[ 3.570] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <tjaalton@debian.org>)
[ 3.570] (II) intel(0): SNA compiled for use with valgrind
[ 3.571] (--) intel(0): gen9 engineering sample
[ 3.571] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 3.571] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[ 3.571] (==) intel(0): RGB weight 888
[ 3.571] (==) intel(0): Default visual is TrueColor
[ 3.572] (II) intel(0): Output HDMI1 using monitor section Monitor0
[ 3.572] (**) intel(0): Option "Enable" "true"
[ 3.572] (II) intel(0): Enabled output HDMI1
[ 3.572] (II) intel(0): Output HDMI2 has no monitor section
[ 3.572] (II) intel(0): Enabled output HDMI2
[ 3.572] (II) intel(0): Output DP1 has no monitor section
[ 3.572] (II) intel(0): Enabled output DP1
[ 3.572] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 3.572] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 3.572] (II) intel(0): Enabled output VIRTUAL1
[ 3.572] (==) intel(0): TearFree disabled
[ 3.572] (**) intel(0): Display dimensions: (400, 300) mm
[ 3.572] (**) intel(0): DPI set to (65, 65)
[ 3.572] (II) Loading sub module "dri2"
[ 3.572] (II) LoadModule: "dri2"
[ 3.572] (II) Module "dri2" already built-in
[ 3.572] (II) Loading sub module "present"
[ 3.572] (II) LoadModule: "present"
[ 3.572] (II) Module "present" already built-in
[ 3.572] (==) Depth 24 pixmap format is 32 bpp
[ 3.575] (II) intel(0): SNA initialized with Kabylake (gen9) backend
[ 3.575] (==) intel(0): Backing store enabled
[ 3.575] (==) intel(0): Silken mouse enabled
[ 3.575] (II) intel(0): HW Cursor enabled
[ 3.575] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 3.576] (==) intel(0): Display hotplug detection enabled
[ 3.576] (II) intel(0): [DRI2] Setup complete
[ 3.576] (II) intel(0): [DRI2] DRI driver: i965

^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M- First Line M-W WhereIs Next ^^ Mark Text M-} Indent Text M-U Undo ^B Back
^X Exit ^R Read File ^ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket M-^ Copy Text M-{ Unindent Text M-E Redo ^F Forwards


/lib/systemd/system/x11vnc.service:



[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service

[Service]
ExecStart=/usr/bin/x11vnc -xkb -norc -forever -shared -display :0 -xrandr -auth guess -rfbauth /etc/x11vnc.pass -localhost -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
Restart-sec=2

[Install]
WantedBy=multi-user.target









share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Try using a frame buffer instead of a dummy monitor. xrandr -fb 1680x1050 Must be setup before x11vnc is started.
    – jc__
    Mar 24 '17 at 18:47
















0












0








0


0





I'm trying to get my Ubuntu box to run at a higher resolution than the default 1024x768. As you can see from the log, i'm using integrated Intel video drivers.



I've tried adding an xorg.conf with a dummy monitor but I still get the default resolution.



I've also tried specifying the geometry in the x11vnc.service.



Then I added a custom dummy monitor config, as below.



/usr/share/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
Option "DPMS" "false"
DisplaySize 400 300
EndSection

Section "Device"
Identifier "Device0"
Driver "intel"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1600x1200" "1280x768"
EndSubSection
EndSection


File: /var/log/Xorg.0.log



[     3.564] (II) Module glx: vendor="X.Org Foundation"
[ 3.564] compiled for 1.18.4, module version = 1.0.0
[ 3.564] ABI class: X.Org Server Extension, version 9.0
[ 3.564] (==) AIGLX enabled
[ 3.564] (II) LoadModule: "intel"
[ 3.565] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 3.567] (II) Module intel: vendor="X.Org Foundation"
[ 3.567] compiled for 1.18.4, module version = 2.99.917
[ 3.567] Module class: X.Org Video Driver
[ 3.567] ABI class: X.Org Video Driver, version 20.0
[ 3.567] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 3.567] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 3.570] (II) intel(0): Using Kernel Mode Setting driver: i915_bpo, version 1.6.0 20160425
[ 3.570] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <tjaalton@debian.org>)
[ 3.570] (II) intel(0): SNA compiled for use with valgrind
[ 3.571] (--) intel(0): gen9 engineering sample
[ 3.571] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 3.571] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[ 3.571] (==) intel(0): RGB weight 888
[ 3.571] (==) intel(0): Default visual is TrueColor
[ 3.572] (II) intel(0): Output HDMI1 using monitor section Monitor0
[ 3.572] (**) intel(0): Option "Enable" "true"
[ 3.572] (II) intel(0): Enabled output HDMI1
[ 3.572] (II) intel(0): Output HDMI2 has no monitor section
[ 3.572] (II) intel(0): Enabled output HDMI2
[ 3.572] (II) intel(0): Output DP1 has no monitor section
[ 3.572] (II) intel(0): Enabled output DP1
[ 3.572] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 3.572] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 3.572] (II) intel(0): Enabled output VIRTUAL1
[ 3.572] (==) intel(0): TearFree disabled
[ 3.572] (**) intel(0): Display dimensions: (400, 300) mm
[ 3.572] (**) intel(0): DPI set to (65, 65)
[ 3.572] (II) Loading sub module "dri2"
[ 3.572] (II) LoadModule: "dri2"
[ 3.572] (II) Module "dri2" already built-in
[ 3.572] (II) Loading sub module "present"
[ 3.572] (II) LoadModule: "present"
[ 3.572] (II) Module "present" already built-in
[ 3.572] (==) Depth 24 pixmap format is 32 bpp
[ 3.575] (II) intel(0): SNA initialized with Kabylake (gen9) backend
[ 3.575] (==) intel(0): Backing store enabled
[ 3.575] (==) intel(0): Silken mouse enabled
[ 3.575] (II) intel(0): HW Cursor enabled
[ 3.575] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 3.576] (==) intel(0): Display hotplug detection enabled
[ 3.576] (II) intel(0): [DRI2] Setup complete
[ 3.576] (II) intel(0): [DRI2] DRI driver: i965

^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M- First Line M-W WhereIs Next ^^ Mark Text M-} Indent Text M-U Undo ^B Back
^X Exit ^R Read File ^ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket M-^ Copy Text M-{ Unindent Text M-E Redo ^F Forwards


/lib/systemd/system/x11vnc.service:



[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service

[Service]
ExecStart=/usr/bin/x11vnc -xkb -norc -forever -shared -display :0 -xrandr -auth guess -rfbauth /etc/x11vnc.pass -localhost -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
Restart-sec=2

[Install]
WantedBy=multi-user.target









share|improve this question















I'm trying to get my Ubuntu box to run at a higher resolution than the default 1024x768. As you can see from the log, i'm using integrated Intel video drivers.



I've tried adding an xorg.conf with a dummy monitor but I still get the default resolution.



I've also tried specifying the geometry in the x11vnc.service.



Then I added a custom dummy monitor config, as below.



/usr/share/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
Option "DPMS" "false"
DisplaySize 400 300
EndSection

Section "Device"
Identifier "Device0"
Driver "intel"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1600x1200" "1280x768"
EndSubSection
EndSection


File: /var/log/Xorg.0.log



[     3.564] (II) Module glx: vendor="X.Org Foundation"
[ 3.564] compiled for 1.18.4, module version = 1.0.0
[ 3.564] ABI class: X.Org Server Extension, version 9.0
[ 3.564] (==) AIGLX enabled
[ 3.564] (II) LoadModule: "intel"
[ 3.565] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 3.567] (II) Module intel: vendor="X.Org Foundation"
[ 3.567] compiled for 1.18.4, module version = 2.99.917
[ 3.567] Module class: X.Org Video Driver
[ 3.567] ABI class: X.Org Video Driver, version 20.0
[ 3.567] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 3.567] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 3.567] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 3.570] (II) intel(0): Using Kernel Mode Setting driver: i915_bpo, version 1.6.0 20160425
[ 3.570] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <tjaalton@debian.org>)
[ 3.570] (II) intel(0): SNA compiled for use with valgrind
[ 3.571] (--) intel(0): gen9 engineering sample
[ 3.571] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 3.571] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[ 3.571] (==) intel(0): RGB weight 888
[ 3.571] (==) intel(0): Default visual is TrueColor
[ 3.572] (II) intel(0): Output HDMI1 using monitor section Monitor0
[ 3.572] (**) intel(0): Option "Enable" "true"
[ 3.572] (II) intel(0): Enabled output HDMI1
[ 3.572] (II) intel(0): Output HDMI2 has no monitor section
[ 3.572] (II) intel(0): Enabled output HDMI2
[ 3.572] (II) intel(0): Output DP1 has no monitor section
[ 3.572] (II) intel(0): Enabled output DP1
[ 3.572] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 3.572] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 3.572] (II) intel(0): Enabled output VIRTUAL1
[ 3.572] (==) intel(0): TearFree disabled
[ 3.572] (**) intel(0): Display dimensions: (400, 300) mm
[ 3.572] (**) intel(0): DPI set to (65, 65)
[ 3.572] (II) Loading sub module "dri2"
[ 3.572] (II) LoadModule: "dri2"
[ 3.572] (II) Module "dri2" already built-in
[ 3.572] (II) Loading sub module "present"
[ 3.572] (II) LoadModule: "present"
[ 3.572] (II) Module "present" already built-in
[ 3.572] (==) Depth 24 pixmap format is 32 bpp
[ 3.575] (II) intel(0): SNA initialized with Kabylake (gen9) backend
[ 3.575] (==) intel(0): Backing store enabled
[ 3.575] (==) intel(0): Silken mouse enabled
[ 3.575] (II) intel(0): HW Cursor enabled
[ 3.575] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 3.576] (==) intel(0): Display hotplug detection enabled
[ 3.576] (II) intel(0): [DRI2] Setup complete
[ 3.576] (II) intel(0): [DRI2] DRI driver: i965

^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M- First Line M-W WhereIs Next ^^ Mark Text M-} Indent Text M-U Undo ^B Back
^X Exit ^R Read File ^ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket M-^ Copy Text M-{ Unindent Text M-E Redo ^F Forwards


/lib/systemd/system/x11vnc.service:



[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service

[Service]
ExecStart=/usr/bin/x11vnc -xkb -norc -forever -shared -display :0 -xrandr -auth guess -rfbauth /etc/x11vnc.pass -localhost -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
Restart-sec=2

[Install]
WantedBy=multi-user.target






vnc resolution headless x11vnc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 '17 at 22:24







dan m

















asked Mar 8 '17 at 21:00









dan mdan m

1013




1013





bumped to the homepage by Community 13 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 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Try using a frame buffer instead of a dummy monitor. xrandr -fb 1680x1050 Must be setup before x11vnc is started.
    – jc__
    Mar 24 '17 at 18:47




















  • Try using a frame buffer instead of a dummy monitor. xrandr -fb 1680x1050 Must be setup before x11vnc is started.
    – jc__
    Mar 24 '17 at 18:47


















Try using a frame buffer instead of a dummy monitor. xrandr -fb 1680x1050 Must be setup before x11vnc is started.
– jc__
Mar 24 '17 at 18:47






Try using a frame buffer instead of a dummy monitor. xrandr -fb 1680x1050 Must be setup before x11vnc is started.
– jc__
Mar 24 '17 at 18:47












1 Answer
1






active

oldest

votes


















0














Using an Ubuntu 14 (64bit) machine with LXDE and LXDM, I was able to start x11vnc before user log in with no keyboard or monitor connected.



By setting a frame buffer with xrandr the vnc had the screen resolution of the frame buffer.



In /etc/lxdm/LoginReady I added the 2 lines:



xrandr --fb 1580x950
/usr/bin/x11vnc -nevershared -noxdamage -forever -localhost -nopw -threads -bg -auth /var/run/lightdm/root/:0 -display :0 -rfbport 5900 -o /var/log/x11vnc.log &


This may give you a starting point.






share|improve this answer





















  • How are you connecting to this machine?
    – jc__
    Mar 24 '17 at 19:10











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f350084%2fheadless-x11vnc-higher-resolution%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Using an Ubuntu 14 (64bit) machine with LXDE and LXDM, I was able to start x11vnc before user log in with no keyboard or monitor connected.



By setting a frame buffer with xrandr the vnc had the screen resolution of the frame buffer.



In /etc/lxdm/LoginReady I added the 2 lines:



xrandr --fb 1580x950
/usr/bin/x11vnc -nevershared -noxdamage -forever -localhost -nopw -threads -bg -auth /var/run/lightdm/root/:0 -display :0 -rfbport 5900 -o /var/log/x11vnc.log &


This may give you a starting point.






share|improve this answer





















  • How are you connecting to this machine?
    – jc__
    Mar 24 '17 at 19:10
















0














Using an Ubuntu 14 (64bit) machine with LXDE and LXDM, I was able to start x11vnc before user log in with no keyboard or monitor connected.



By setting a frame buffer with xrandr the vnc had the screen resolution of the frame buffer.



In /etc/lxdm/LoginReady I added the 2 lines:



xrandr --fb 1580x950
/usr/bin/x11vnc -nevershared -noxdamage -forever -localhost -nopw -threads -bg -auth /var/run/lightdm/root/:0 -display :0 -rfbport 5900 -o /var/log/x11vnc.log &


This may give you a starting point.






share|improve this answer





















  • How are you connecting to this machine?
    – jc__
    Mar 24 '17 at 19:10














0












0








0






Using an Ubuntu 14 (64bit) machine with LXDE and LXDM, I was able to start x11vnc before user log in with no keyboard or monitor connected.



By setting a frame buffer with xrandr the vnc had the screen resolution of the frame buffer.



In /etc/lxdm/LoginReady I added the 2 lines:



xrandr --fb 1580x950
/usr/bin/x11vnc -nevershared -noxdamage -forever -localhost -nopw -threads -bg -auth /var/run/lightdm/root/:0 -display :0 -rfbport 5900 -o /var/log/x11vnc.log &


This may give you a starting point.






share|improve this answer












Using an Ubuntu 14 (64bit) machine with LXDE and LXDM, I was able to start x11vnc before user log in with no keyboard or monitor connected.



By setting a frame buffer with xrandr the vnc had the screen resolution of the frame buffer.



In /etc/lxdm/LoginReady I added the 2 lines:



xrandr --fb 1580x950
/usr/bin/x11vnc -nevershared -noxdamage -forever -localhost -nopw -threads -bg -auth /var/run/lightdm/root/:0 -display :0 -rfbport 5900 -o /var/log/x11vnc.log &


This may give you a starting point.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 24 '17 at 19:08









jc__jc__

1,408517




1,408517












  • How are you connecting to this machine?
    – jc__
    Mar 24 '17 at 19:10


















  • How are you connecting to this machine?
    – jc__
    Mar 24 '17 at 19:10
















How are you connecting to this machine?
– jc__
Mar 24 '17 at 19:10




How are you connecting to this machine?
– jc__
Mar 24 '17 at 19:10


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • 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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f350084%2fheadless-x11vnc-higher-resolution%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

CARDNET

Boot-repair Failure: Unable to locate package grub-common:i386

濃尾地震