{"id":1162,"date":"2017-09-28T15:43:35","date_gmt":"2017-09-28T15:43:35","guid":{"rendered":"\/blog\/?p=1162"},"modified":"2017-09-28T15:43:35","modified_gmt":"2017-09-28T15:43:35","slug":"xauth-and-xrdp-no-cookie","status":"publish","type":"post","link":"\/blog\/index.php\/xauth-and-xrdp-no-cookie\/","title":{"rendered":"xauth and xrdp, no cookie"},"content":{"rendered":"<p>When logged in to a Xrdp session, you might not get an xauth cookie generated for your own xrdp sessioin, which may cause you problems to use the display if you ssh to another host&#8230;<\/p>\n<p>for that, check your current display, in this case it is :14.0<\/p>\n<p># echo $DISPLAY<br \/>\n:14.0<\/p>\n<p>Use xauth list to check if there is an existing cookie for unix:14, if there is not&#8230;. create one&#8230; with a random id&#8230; in this case&#8230; i improvised one: &#8220;2ab6a473b33253105e70c53350c80b3a&#8221;<\/p>\n<p># xauth add GTWTPLJSINFV01\/unix:14 MIT-MAGIC-COOKIE-1 2ab6a473b33253105e70c53350c80b3a<\/p>\n<p>After this, ssh -C -X -Y otherhost will work<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When logged in to a Xrdp session, you might not get an xauth cookie generated for your own xrdp sessioin, which may cause you problems to use the display if you ssh to another host&#8230; for that, check your current display, in this case it is :14.0 # echo $DISPLAY :14.0 Use xauth list to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1162","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1162"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1162\/revisions"}],"predecessor-version":[{"id":1163,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1162\/revisions\/1163"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1162"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}