mirror of https://github.com/siomiz/chrome
(try to) switch to Xorg + dummy
parent
91c92227b1
commit
4e725e9bc6
@ -0,0 +1,23 @@
|
||||
--- chrome-remote-desktop.dist 2015-10-07 20:47:34.445286514 +0000
|
||||
+++ chrome-remote-desktop 2015-10-07 20:48:03.121919734 +0000
|
||||
@@ -385,7 +385,6 @@
|
||||
"-auth", x_auth_file,
|
||||
"-nolisten", "tcp",
|
||||
"-noreset",
|
||||
- "-screen", "0", screen_option
|
||||
] + extra_x_args)
|
||||
if not self.x_proc.pid:
|
||||
raise Exception("Could not start Xvfb.")
|
||||
@@ -433,10 +432,7 @@
|
||||
# dimensions from the "-screen" option.
|
||||
for width, height in self.sizes:
|
||||
label = "%dx%d" % (width, height)
|
||||
- args = ["xrandr", "--newmode", label, "0", str(width), "0", "0", "0",
|
||||
- str(height), "0", "0", "0"]
|
||||
- subprocess.call(args, env=self.child_env, stdout=devnull, stderr=devnull)
|
||||
- args = ["xrandr", "--addmode", "screen", label]
|
||||
+ args = ["xrandr", "--fb", label]
|
||||
subprocess.call(args, env=self.child_env, stdout=devnull, stderr=devnull)
|
||||
|
||||
# Set the initial mode to the first size specified, otherwise the X server
|
||||
|
@ -0,0 +1,29 @@
|
||||
Section "Files"
|
||||
ModulePath "/usr/lib/xorg/modules,/usr/local/lib/xorg/modules"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Configured Video Device"
|
||||
Driver "dummy"
|
||||
VideoRam 16384
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "Configured Monitor"
|
||||
HorizSync 5.0 - 1000.0
|
||||
VertRefresh 5.0 - 200.0
|
||||
Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Default Screen"
|
||||
Monitor "Configured Monitor"
|
||||
Device "Configured Video Device"
|
||||
DefaultDepth 24
|
||||
SubSectionSub "Display"
|
||||
Viewport 0 0
|
||||
Depth 24
|
||||
Virtual 1600 900
|
||||
EndSubSection
|
||||
EndSection
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue