|« Petters super fix it||Norwegian date format for JIRA »|
X11 Forwarding and su/sudo
Ever been in the situation where you log on to a server as one user having X11 enabled, but then need to sudo to another one - and voila, your X11-sesison is long gone...
Solution provided here http://brandonhutchinson.com/wiki/X11_Forwarding_and_su/sudo
I did as root
and it all worked fine.
$ xauth list
to find the key for your current DISPLAY, and then do the su, followed by
$ xauth add "key"
Comments are closed for this post.