You are not logged in.
Trying to set up Xdmx to use a laptop like a second monitor. However, I always come across this message
What I have tired:
1. ```xhost +```
2. Setting X Forwarding on
The command:
startx -- /usr/bin/Xdmx :1 +xinerama -display localhost:10.0 -display :0.0 -norender -noglxproxy -fontpath /usr/share/fonts -ignorebadfontpaths
The output:
(II) dmx: Using 3286x1080 as global bounding box
(II) dmx: XSync batching with 100 ms interval
(!!) dmx: The DMX server failed to set the following font paths on screen #0:
(!!) dmx: built-ins
(!!) dmx: These font paths will not be used because the "-ignorebadfontpaths"
(!!) dmx: option is set.
(!!) dmx: After removing the font paths above, no valid font paths were
(!!) dmx: available. Please check that the font paths set on the command
(!!) dmx: line or in the configuration file via the "-fontpath" option
(!!) dmx: are valid on all back-end servers. See the Xdmx man page for
(!!) dmx: more information on font paths.
(EE)
Fatal server error:
(EE) could not open default font 'fixed'(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console.
Please help!
Last edited by Wispy (2021-06-08 23:12:43)
Offline
bbcode, not markdown.
https://bbs.archlinux.org/help.php#bbcode
Did you read the error?
(!!) dmx: The DMX server failed to set the following font paths on screen #0:
(!!) dmx: built-ins
(!!) dmx: These font paths will not be used because the "-ignorebadfontpaths" option is set.
(!!) dmx: After removing the font paths above, no valid font paths were available. Please check that the font paths set on the command line or in the configuration file via the "-fontpath" option are valid on all back-end servers. See the Xdmx man page for more information on font paths.
What do you think that means?
Offline
Thanks, I'll edit it when I get time to.
Yes, obviously I've read the error, but I don't know to list "built-ins" directory or how to provide a font for "fixed" family.
Offline
xset q | grep -iC3 font
Everywhere.
See https://www.x.org/releases/X11R7.6/doc/ … mx.1.xhtml on fontpath.
Offline
All machines provide the same fontpaths. I've read the documentation already. The problem is that it cannot set "built-ins". I tried just adding it to the fontpath option but that didn't do anything.
Last edited by Wispy (2021-06-08 23:13:41)
Offline
And what are those paths?
Is "/usr/share/fonts" among them?
Offline
Yes! Yes it is, I posted the command I use in my initial post.
Offline
I don't mean what you issue to xdmx, post the output(s) of the command in #4
/usr/share/fonts is typically *not* a font path in X11 and you cannot pass a parent directory to hold stuff recursively here.
Offline
ls -l /usr/share/fonts
Offline
ls -l /usr/share/fonts
total 272
drwxr-xr-x 2 root root 90112 Jun 8 14:41 100dpi
drwxr-xr-x 2 root root 90112 Jun 8 15:08 75dpi
drwxr-xr-x 2 root root 4096 Jun 8 14:41 adobe-source-code-pro
drwxr-xr-x 2 root root 4096 Jun 8 14:41 cantarell
drwxr-xr-x 3 root root 4096 Jun 8 14:52 encodings
drwxr-xr-x 2 root root 4096 Jun 8 14:41 gsfonts
drwxr-xr-x 2 root root 20480 Jun 8 14:51 misc
drwxr-xr-x 2 root root 36864 Jun 8 14:41 noto
drwxr-xr-x 2 root root 4096 Jun 8 14:51 OTF
drwxr-xr-x 2 root root 4096 Jun 8 14:51 TTF
drwxr-xr-x 2 root root 4096 Jun 8 14:52 util
d-wx--xrwx 2 root root 12288 Jun 8 14:41 WindowsFonts
Offline
I don't mean what you issue to xdmx, post the output(s) of the command in #4
/usr/share/fonts is typically *not* a font path in X11 and you cannot pass a parent directory to hold stuff recursively here.
Oh, sorry. Here's the output:
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc,/usr/share/fonts/TTF,/usr/share/fonts/OTF,/usr/share/fonts/100dpi,/usr/share/fonts/75dpi,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Disabled
It seems fine?
Offline
Is /usr/share/fonts part of that font path?
(Revisit #8 for a spoiler)
Offline
Is /usr/share/fonts part of that font path?
(Revisit #8 for a spoiler)
No, it's not? I provided "-fontpath /usr/share/fonts" because without it, it couldn't find any font directories from /usr/share/fonts. The only directory it can't find now is "built-ins". What do I do here?
Offline
(!!) dmx: The DMX server failed to set the following font paths on screen #0:
(!!) dmx: built-ins
(!!) dmx: These font paths will not be used because the "-ignorebadfontpaths" option is set.
(!!) dmx: After removing the font paths above, no valid font paths were available. Please check that the font paths set on the command line or in the configuration file via the "-fontpath" option are valid on all back-end servers. See the Xdmx man page for more information on font paths.
Tried passing some valid paths to -fontpath?
… -fontpath /usr/share/fonts/misc -fontpath /usr/share/fonts/TTF -fontpath /usr/share/fonts/OTF -fontpath /usr/share/fonts/100dpi -fontpath /usr/share/fonts/75dpi …
Offline
(!!) dmx: The DMX server failed to set the following font paths on screen #0:
(!!) dmx: built-ins
(!!) dmx: These font paths will not be used because the "-ignorebadfontpaths" option is set.
(!!) dmx: After removing the font paths above, no valid font paths were available. Please check that the font paths set on the command line or in the configuration file via the "-fontpath" option are valid on all back-end servers. See the Xdmx man page for more information on font paths.Tried passing some valid paths to -fontpath?
… -fontpath /usr/share/fonts/misc -fontpath /usr/share/fonts/TTF -fontpath /usr/share/fonts/OTF -fontpath /usr/share/fonts/100dpi -fontpath /usr/share/fonts/75dpi …
I ran this command now, following your last post:
startx -- /usr/bin/Xdmx :1 +xinerama -display localhost:10.0 -display :0.0 -norender -noglxproxy -fontpath /usr/share/fonts/misc -fontpath /usr/share/fonts/TTF -fontpath /usr/share/fonts/OTF -fontpath /usr/share/fonts/100dpi -fontpath /usr/share/fonts/75dpi
Unfortunately, it couldn't find anything this time at all.
(II) dmx: Using 3286x1080 as global bounding box
(II) dmx: XSync batching with 100 ms interval
(!!) dmx: The DMX server failed to set the following font paths on screen #0:
(!!) dmx: /usr/share/fonts/misc
(!!) dmx: /usr/share/fonts/TTF
(!!) dmx: /usr/share/fonts/OTF
(!!) dmx: /usr/share/fonts/100dpi
(!!) dmx: /usr/share/fonts/75dpi
(!!) dmx: built-ins
(!!) dmx: Please remove these font paths from the command line or
(!!) dmx: configuration file, or set the "-ignorebadfontpaths" option to
(!!) dmx: ignore them. For more information on these options, see the
(!!) dmx: Xdmx man page.
(EE)
Fatal server error:
(EE) could not open default font 'fixed'(EE)
Offline
There're two backend servers, does xset report the same font paths for both?
xset -display :0.0 -q
xset -display localhost:10.0
Since both are on localhost, sanity check: why do you think you want to use xdmx?
Offline
I want to use Xdmx as a way to extend my desktop over to my laptop (xinerama effect), since laptops aren't really good at being monitors and I do want to put it to a good use.
:0.0
Font Path:
/usr/share/fonts/misc,/usr/share/fonts/TTF,/usr/share/fonts/OTF,/usr/share/fonts/100dpi,/usr/share/fonts/75dpi,built-ins
localhost:10.0
Font Path:
/usr/share/fonts/TTF,/usr/share/fonts/100dpi,/usr/share/fonts/75dpi,built-ins
Well, not the same but similar.
Offline
ls /usr/share/fonts/75dpi
extend my desktop over to my laptop
You're running all servers on the same system, though?
since laptops aren't really good at being monitors
???
Is the idea to use your laptop as a second monitor for your desktop?
And are you running a desktop environment like KDE or gnome?
Offline
Yes, the idea is to use laptop as a second monitor. I run on KDE.
I run X.Org on the system computer and on the client computer
Last edited by Wispy (2021-06-09 22:14:18)
Offline
Do you want me to send you the entire output of #18? It's not empty, if that's what you're asking
Offline
Did you see the note at the bottom of https://wiki.archlinux.org/title/Extreme_Multihead#Xdmx ?
Also running KDE remote over X11 (regardless of xdmx) is going to be super-painful (because it only uses XPutImage and GLX)
Look at VNC instead.
Offline
Did you see the note at the bottom of https://wiki.archlinux.org/title/Extreme_Multihead#Xdmx ?
Also running KDE remote over X11 (regardless of xdmx) is going to be super-painful (because it only uses XPutImage and GLX)Look at VNC instead.
Aww, that's sad. Can I use DVI-D output for a virtual monitor using VNC?
Offline
In theory you can use any unused output.
Offline
I've tried using the VNC method, a few problems though.
I couldn't get Barrier server set up, turns out I just had to run it as root. Sadly, I couldn't figure out how to connect to the server on a client computer, it just stuck at "Barrier is starting."
As stated in https://wiki.archlinux.org/title/Extrem … DMI_output, I need to force the output to be enabled, but /sys/kernel/debug/dri/0/DVI-D-0/force doesn't exist and I can't make directories in there.
Offline
sudo ls -R /sys/kernel/debug/dri/0/
I couldn't get Barrier server set up
Barrier is a different approach, you could strace the process to see where it stalls.
Offline