Installed on a tablet that display don't work so using it's HDMI but blank desktop then.
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Here are some commands I did to try and get the display so it only shows on the HDMI.
root@TW801:~# gnome-tweak-tool
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
WARNING : Shell not installed or running
Unable to init server: Could not connect: Connection refused
No this is a tablet so it don't have buttons on it. It's a Winbook TW801 with Ubuntu desktop I install in it. It works good but it uses the LCD inside it and that don't work on mine so I can only use the HDMI out of it for the desktop.
I open it and the LCD flat cable is off because the top wight color clip is off to put the cable in it. I put a tape on it and a little hose on it to push it good. But still the built in LCD don't come on.
On the HDMI I can move the mouse and some times pick up a icon and drag it to were I can see it on the screen of the HDMI but can't drop it on there it just moves very fast off the HDMI screen going back to the left side were I can't see it.
I been looking for 2 days how to swap or change what display it uses from the terminal. Can't find any thing that will fix this.
Maybe I have to install the old Ubuntu I had on it. It was working then on just this one display. But it said it has a big update that would take 2 hours and after I rebooted from that I could not get the display so it has setting on it. It's just a clear background.
Last edited by Raymond Day; 03-30-2018 at 12:15 PM.
I thought Remote Desktop Connection would work but did not.
I did a apt install xrdp
Then on my Windows 10 in the search typed "Remote Disktop Connection" then Typed in the name tw801 and log in with my name and password and I got the same blank screen with no icons.
It says "sending login info to session manager, please wait... login failed for display 0"
Is there a way I guess to say display 1 with this?
assuming that your system works, and all you need to do is switch off the internal monitor:
have you tried formulating a suitable xrandr line that will do just that?
i always use a graphical frontend called arandr. once you get it working it can save a script that can then be easily called at login.
If I do the xrandr command I get this back all the time.
Code:
root@TW801:~# xrandr
Can't open display
root@TW801:~#
Had to do a apt install arandr then I did that command and got this back.
Code:
root@TW801:~# arandr
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.7/dist-packages/screenlayout/gui.py:111: Warning: invalid (NULL) pointer instance
self.window = window = gtk.Window()
/usr/lib/python2.7/dist-packages/screenlayout/gui.py:111: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
self.window = window = gtk.Window()
Traceback (most recent call last):
File "/usr/bin/arandr", line 42, in <module>
main()
File "/usr/lib/python2.7/dist-packages/screenlayout/gui.py", line 319, in main
force_version=options.force_version
File "/usr/lib/python2.7/dist-packages/screenlayout/gui.py", line 157, in __init__
self.widget = widget.ARandRWidget(display=randr_display, force_version=force_version)
File "/usr/lib/python2.7/dist-packages/screenlayout/widget.py", line 48, in __init__
self._xrandr = XRandR(display=display, force_version=force_version)
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 43, in __init__
version_output = self._output("--version")
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 64, in _output
raise Exception("XRandR returned error code %d: %s"%(status,err))
Exception: XRandR returned error code 1: Can't open display
root@TW801:~#
Maybe all that will say something.
I guess it my be some boot code I have to change to tell it only use the HDMI display.
Bay just dragging and drooping blind. I got 2 folders to go over to the HDMI display. File System and Home I don't know if I can do any setting with them for the screen.
I been looking on Google for help mostly see how to change the desktop not the screen it's on. This will be the 3RD day working on this still not fixed. I my just install the old Ubuntu. I forgot how I set it up to bad I did not back it up. Seems like it just worked on the HDMI screen but I remember in setting it would see the 1280 by 800 LCD built in it.
Looking on Google Did from some one that made a script to switch screens. I installed it but when I run it just gets a lot of errors and the screen don't do any thing. It looks like this:
Code:
root@TW801:~# ./switch_screens
: No such file or directory/bin/bash
./switch_screens: line 6: $'\r': command not found
./switch_screens: line 7: $'\r': command not found
./switch_screens: line 8: $'\r': command not found
': not a valid identifier declare: `screensOn
Can't open display
./switch_screens: line 23: syntax error near unexpected token `done'
'/switch_screens: line 23: `done <<< "$screens"
root@TW801:~#
root@TW801:/home/raymond/Desktop# python3 /home/raymond/Desktop/toggle_primary.py
Can't open display
Traceback (most recent call last):
File "/home/raymond/Desktop/toggle_primary.py", line 5, in <module>
scr_data = subprocess.check_output(["xrandr"]).decode("utf-8").splitlines()
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['xrandr']' returned non-zero exit status 1.
root@TW801:/home/raymond/Desktop#
Must be a boot edit that can get it to just use one screen the external or HDMI screen. If there is I have not found it yet.
Still trying here is some of the command line of me trying but nothing seems to work just can't save the setting of the screen.
Code:
raymond@TW801:/home$ xrandr
Screen 0: minimum 320 x 200, current 2720 x 1280, maximum 8192 x 8192
XWAYLAND0 connected (normal left inverted right x axis y axis)
800x1280 59.93 +
XWAYLAND1 connected (normal left inverted right x axis y axis)
1920x1080 59.96 +
raymond@TW801:/home$ xrandr --output XWAYLAND0 --off --output XWAYLAND1 --auto
xrandr: Configure crtc 1 failed
raymond@TW801:/home$
Is there some way to get into the built in screen settings? I could if I could see the other screen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.