Ubuntu 18.04 – Unable to unlock screen or use chrome remote desktop on boot

I’m trying to set up chrome remote on my linux machine running ubuntu server 18 and gnome/lightdm ontop. I can’t figure out how to get chrome remote to work on boot with a lock screen, but it works fine after unlocking and subsequent relocking the screen.

I figured I’d just ssh into my machine to unlock it the first time, but when I run loginctl unlock-sessions it doesn’t unlock, instead i get the password input box weirdly overlaying my login icon. However, if I unlock the screen and lock it, running loginctl unlock-session does unlock the screen. Is there some setting I’m missing?

Note: I set up chrome remote desktop following this article so that my primary session is the one I would remote into.

How to have two separate chrome dock items

I’m using super+1 to access the first item on the dock/launcher, which is google chrome.

I want to have super+2 binded to another instance of chrome, so that I could go between them with my keyboard.

I have tried creating a dedicated chrome profile (Profile 4) and adding a chrome-2.desktop entry with the following:

#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_US]=google-chrome Exec=google-chrome --profile-directory=Profile\ 4 Name[en_US]=Chrome-Profile\ 4 Name=Chrome-Profile\ 4 Icon=google-chrome 

now I have 2 chrome icons in Applications: enter image description here

and I can indeed drag&drop the newly created chrome to my launcher:

enter image description here

The problem is, when I click it, or do super+2 in keyboard, it opens a new window but binds it to the first dock item, so I get two chrome instances on the first item, and nothing on the second one:

enter image description here

what am I missing here? Is this even possible? I don’t mind downloading anything the would be nice to solve it in a “clean” way.

Thanks in advance for any help!

Google Chrome always shows Twitter mobile view

I have been looking at twitter.com in Google Chrome browser, Version 64.0.3282.186 (Official Build) (64-bit). I use a number of extensions, all enabled except as noted:

  • BehindTheOverlay 0.1.3
  • Bookmarks Reorderer 2.0.1
  • CanvasFingerprintBlock 1.5
  • Cisco WebEx Extension 1.0.12 (not enabled)
  • Cookies 1.8.3
  • Docs 0.10 (not enabled)
  • Don’t Fuck With Paste 1.1
  • EditThisCookie 1.4.3
  • Ghostery – Privacy Ad Blocker 8.0.8.1
  • Google Docs Offline 1.4 (not enabled)
  • Make America Kittens Again 1.2.2 (not enabled)
  • McAfee® WebAdvisor 5.1.0.633 (not enabled)
  • Mute Tabs By Url 3.0
  • MuteTab 3.0.9 (not enabled)
  • Official Media Bias Fact Check Icon 1.3.2
  • Privacy Badger 2018.2.5
  • Quick Javascript Switcher 1.4.1
  • RSS Feed Reader 7.3.6
  • RubberGlove 14.7.8.0 (not enabled)
  • Sheets 1.2 (not enabled)
  • Slides 0.10 (not enabled)
  • User-Agent Switcher for Google Chrome 1.9.0
  • WhatFont 2.1.0
  • Zotero Connector 5.0.35

I recently deleted all the cookies for twitter.com (using the EditThisCookie extension), and since then, whenever I open any page on twitter.com, the page opens and displays briefly, but a second or so later switches to mobile.twitter.com. All of these extensions were enabled before the twitter pages started switching to mobile.

I am not using a mobile device, although I do have an Android tablet connected via usb. (That connection also predates the current behavior.) I have tried turning off javascript on twitter.com, but has no effect. I have tried switching user agents, also without effect. I tried resetting the Chrome settings, also to no avail. I have tried logging on and off of twitter, but that makes no difference. Ditto blocking or deleting cookies.

I have searched the web for how to restore the standard view, but all the hits I’ve gotten relate to Google Chrome for mobile devices and most show menu items that do not appear in my browser. I have tried looking at the twitter page using the Chrome developer tools, but I haven’t had any success there, either. I haven’t found any sites besides twitter that exhibit the same behavior. I am able to see twitter.com, as opposed to mobile.twitter.com, in MS Edge.

Any suggestions would be appreciated.

Google Chrome does not sync passwords

so I have a problem with !!syncing!! passwords in google cloud. whenever I save a password on browser(chrome) it just saves it locally and if I have previously saved password on google password manager(cloud) it doesn’t show up! the problem is !!syncing!!. (not saving or suggest saving passwords ETC …)and yes I turned sync all data ON.

buy the way this problem showed up after I forgot my Linux(Ubuntu 18.04 LTS) password and tried to reset it so I deleted some files like: login.keyring user.keystore in .local/share/keyrings

thank you for reading

Google Chrome is translating an old language on my phone

A long time ago, I had Korean added to my languages, now that I have deleted it months ago, I still get pages in Korean. It’s annoying. For exemple, the pages I get more frequently are the ones that you have to login. When I logged into this website on my phone, the page was in Korean. When I go to language settings on Chrome, it only shows English, but the pages are in Korean. I deleted chrome and I reinstalled it. I lost my pics and music, but the pages are still in Korean.

I can’t put any pictures because I haven’t been on this website long enough.

Chrome is opening Local Host site with HTTPS

In a SharePoint Development Environment whose server name is “dev”, the site is deployed on the port 80.

I am accessing the site in Internet Explorer using dev:80 then internet explorer automatically creates URL : http://dev/pages/

when I try http://dev:80 in Chrome, it generates HTTPS i.e. https://dev/ and then it shows this site can’t be reached

However I can access the site in Chrome using http://localhost/ but there are some problems being generated if I use Localhost/ because it keeps generating HTTPS for the files linked in the Project

For Example I am currently facing the following problem: SharePoint DateTimeControl styling is getting out in google chrome

Please help me resolve this Thanks

SVG not rendering in PNG, only renders in Chrome after zooming in/out

I’m trying trying to create a relatively simple background for an SVG image. I’ve created an equivalent in GIMP, applying a radial gradient from the centre to the edge and then applying the “spread” filter.

Version created in GIMP.

I have the following code that accomplishes a similar result, at least in Inkscape.

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg id="wallpaper"   viewBox="0 0 1920 1080" height="1080" width="1920"   xmlns="http://www.w3.org/2000/svg"   version="1.1" >   <defs>     <radialGradient id="gradient">       <stop offset="2.5%" stop-color="#ffffff"/>       <stop offset="100%" stop-color="#000000"/>     </radialGradient>      <clipPath id="gradientClip" clipPathUnits="userSpaceOnUse">       <rect         id="gradientClip-rect" y="0" x="0" height="1080" width="1920"       />     </clipPath>   </defs>     <g id="background" clip-path="url(#gradientClip)">     <rect       id="background-fill" width="1920" height="1080" x="0" y="0"       style="fill:#000000;"     />      <filter id="gradientNoise">       <feTurbulence type="fractalNoise" baseFrequency="50" numOctaves="2" result="turbulence"/>       <feDisplacementMap         in2="turbulence" in="SourceGraphic" scale="540"         xChannelSelector="R" yChannelSelector="G"       />     </filter>      <circle       id="background-gradient" filter="url(#gradientNoise)" fill="url(#gradient)"       cx="960" cy="540" r="960"     />   </g> </svg> 

However, when I rasterize it to a PNG or open it in Chrome (at 100% zoom) all I get is the gradient with no noise.

enter image description here

However again, if I zoom in or out in Chrome the filter applies correctly.

Side-by-side comparison of Chrome rendering the image at 80% and 110%.

Is it possible that there is some kind of issue with this file that only appears when the image is viewed at the size defined in the viewbox? Is there something else that I’m not seeing?

I would have chalked my PNG issue up to the same problem this poster was having if it weren’t for the odd behaviour I’m only noticing when my browser is set to 100% zoom.

Thanks!

How to stop screen casting/mirroring using google chrome cast/cast?

I am working on an android application where I have to stop screen casting/ screen mirroring/ screen sharing using google chrome cast/google cast. I have used WindowManager.LayoutParams.FLAG_SECURE, but its not working. I just want to know that can we stop this screen casting or not and if yes then how? NOTE: I am casting my android device using built-in cast option( In some devices it is wireless display/cast),not via applicatoin.