Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Teamviewer only connects when a monitor is attached

Hybrid View

  1. #1
    Join Date
    Sep 2013
    Beans
    79
    Distro
    Ubuntu 14.04 Trusty Tahr

    Teamviewer only connects when a monitor is attached

    I'm running Ubuntu 14.04 (all updates current) on computer A and anytime I try to remote into computer A using Teamviewer from any other computer it ONLY works if I have a monitor attached to computer A. Said another way, I cannot go headless on computer A and remote in with Teamviewer, it hangs at the "initializing display parameters" screen. This was previously working fine, but I am not aware of any related updates. Though I did recently resync a raid 1 array where the root OS is mounted. The sync went fine and everything else is working perfectly.

    To reiterate, remote sessions through Teamviewer work perfectly if a monitor is attached to computer A. I have attempted headless control from several of my computers and the same issue happens every time. The fact that it only happens when a monitor is not attached makes me think it is an Ubuntu issue and not Teamviewer.

    One more thing: In an attempt to fix the problem I uninstalled Teamviewer and the configuration files, then reinstalled and the problem persists. I am using the 32 bit version of Teamviewer and all computers are running the most current version 9.

    Thoughts anyone?
    Last edited by Tony_Lillie; June 3rd, 2014 at 06:33 PM.

  2. #2
    Join Date
    Sep 2013
    Beans
    79
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Teamviewer only connects when a monitor is attached

    So my research has led me to refine my question, because I now understand that the gui is designed NOT to launch if no monitor is detected. I've seen several posts that speak of workarounds, but none yet that answers the real issue. How can I start the gui desktop with no monitor attached?

    I don't want to use a different remote app like VNC, and I don't want to SSH in to the computer and start the gui manually. I want the simplicity that only Teamviewer seems to offer, but that requires a gui desktop environment to start even with no monitor.

    There must be a way to bypass the monitor check or force the gui to start even if no monitor is detected.
    Last edited by Tony_Lillie; June 6th, 2014 at 06:44 AM.

  3. #3
    Join Date
    Sep 2013
    Beans
    79
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Teamviewer only connects when a monitor is attached

    Well, I guess I shouldn't be surprised that there have been zero responses, because it's plain from all the evidence I could find that there is no other solution than to SSH into the machine and start a desktop session. So, here is my latest question that I REALLY NEED HELP with. What service do I start? Lightdm seems the obvious choice, but it's not working. Do I need to start an X session? I'm familiar with enabling X over SSH, but I want the native desktop on the remote machine to turn on so I can use teamviewer.

    What commands could I issue to get the native desktop session to run?

  4. #4
    Join Date
    Jun 2014
    Beans
    1

    Talking Re: Teamviewer only connects when a monitor is attached

    Quote Originally Posted by Tony_Lillie View Post
    Well, I guess I shouldn't be surprised that there have been zero responses, because it's plain from all the evidence I could find that there is no other solution than to SSH into the machine and start a desktop session. So, here is my latest question that I REALLY NEED HELP with. What service do I start? Lightdm seems the obvious choice, but it's not working. Do I need to start an X session? I'm familiar with enabling X over SSH, but I want the native desktop on the remote machine to turn on so I can use teamviewer.

    What commands could I issue to get the native desktop session to run?
    Hi Tony, I'm looking for a solution to this. I don't want to have a monitor attached if I don't need to. As long as the monitor are attached Teamviewer works. This is so stupid. I have my server on a very small space that I have to have the monitor on the floor in front of it. There must be away like you said to go around the problem. The question is how? I like Teamviewer much better then VNC (to slow in my opinion). Hoping someone can come up with a solution I can't because I'm a newbie on Linux.

  5. #5
    Join Date
    Sep 2013
    Beans
    79
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Teamviewer only connects when a monitor is attached

    I have spent several hours on this now and been unable to find a software solution. Meaning, there is no consistent way to get Ubuntu to start a desktop environment without a monitor attached.

    Fortunately I did find a really simple hardware solution at the following links: http://www.geeks3d.com/20091230/vga-...ga-dummy-plug/ & http://soerennielsen.dk/mod/VGAdummy/index_en.php#3
    As you can see, it's very simple to "simulate" the resistance of a monitor and trick your OS into launching a desktop environment. I have not built mine yet, but am ordering the parts ASAP and will report back my results sometime next week.

    I understand why Ubuntu is designed in this way, but it's really disappointing that there isn't a way to bypass the need for a monitor. In the year 2014 using SSH for remote access is practically Byzantine. Using a gui should not be considered a convenience or extravagance. It should be a non-negotiable. I can accept SSH for most servers, but servers are not the only computers that people run headless and need remote access to!

  6. #6
    Join Date
    Sep 2013
    Beans
    79
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Teamviewer only connects when a monitor is attached

    I am thrilled to report that the "vga dummy" hardware workaround presented at the links in my previous post really works! I purchased a couple packages of 100 ohm resistors from the local Radio Shack, shut down my computer, unplugged it, stuck the resistors in the appropriate holes (see previous post for link), rebooted (obviously with no monitor), and the gui loaded exactly as if a monitor had been attached. I was then perfectly able to remote into the machine with teamviewer.

    It's still disappointing that Ubuntu doesn't have a solution for this in the OS, but it is a very easy hardware "workaround" that definitely works!
    Last edited by Tony_Lillie; June 8th, 2014 at 07:38 AM.

  7. #7
    Join Date
    Sep 2013
    Beans
    5

    Re: Teamviewer only connects when a monitor is attached

    Thanks for your work here Tony, you've helped me solve the same problem.

    Thanks for documenting your solution!

  8. #8
    Join Date
    Sep 2013
    Beans
    79
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Teamviewer only connects when a monitor is attached

    I'm thrilled to discover I actually helped someone for a change. I'm usually the one getting the help.

    Glad to be a contributing member of the Ubuntu community!

  9. #9
    Join Date
    May 2015
    Beans
    1

    Re: Teamviewer only connects when a monitor is attached

    Hi,

    I ran into the same problem and the link here provides a software-only solution that worked for me:

    http://askubuntu.com/questions/45310...-is-plugged-in

  10. #10
    Join Date
    Sep 2015
    Beans
    1

    Wink Re: Teamviewer only connects when a monitor is attached

    I found the solution. The ubuntu screensaver turns off the displays and gives this dreaded problem. Instead, use i3lock and it will not turn off the displays and it turns out it is pretty cool, blurs out the screen to your specifications as a snapshot, and with a small tweak puts an image up as well in front of the blur on the center monitor. No more problems connecting anymore.

    http://plankenau.com/blog/post/gauss...screen-i3lock/

    https://github.com/meskarune/i3lock-fancy

    also, you can manually turn out the displays with their power buttons, but since the video card is still providing signal as though they are on, you can still connect and initialize display.
    Last edited by David_Eschmeyer; September 17th, 2015 at 12:57 AM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •