0

This is duplicate of this question but it needs an update for Ubuntu 22.04

So I needed to use x without ssh into a remote computer, but the answers in the question were for 12.xx. I'm running Kubuntu 22.04 sddm.

The answers given do

  • A:output this error Error: Can't open display: 192.168.1.49:0
  • B:use ssh and don't work
  • C:use a program that is not in the Ubuntu repo

Edit: so i did grep -r 'nolisten tcp' /ect/ edit the file nano /etc/X11/xinit/xserverrc to have -listen tcp in it and it still does not work note i am using sddm note i did this on the computer to have gui window displayed

lnee
  • 796
  • 4
  • 21
  • Most of the answers seems still valid. Have you tried them all? List your problem with each answer in you question. – user68186 Jun 01 '22 at 23:37
  • yes i wiil edit – lnee Jun 01 '22 at 23:39
  • *"So I needed to remove use x without ssh into a computer"* makes no sense. So you want to remove X? Or use it? Why don't you want to use ssh? – user68186 Jun 01 '22 at 23:42
  • Wops wired spelling fix it – lnee Jun 01 '22 at 23:45
  • And ssh I have to install and on local network ssh should not be required – lnee Jun 01 '22 at 23:46
  • You may find this recent Unix & Linux thread helpful: [Xt error: Can't open display despite xhost and Xauthority configured](https://unix.stackexchange.com/questions/704290/xt-error-cant-open-display-despite-xhost-and-xauthority-configured/704298#704298) – steeldriver Jun 02 '22 at 00:07
  • so i did `grep -r 'nolisten tcp' /ect/` edit the file `nano /etc/X11/xinit/xserverrc` to have `-listen tcp` in it and it still does not work note i am using sddm note i did this on the computer to have gui window displayed – lnee Jun 02 '22 at 01:13
  • @lnee Please update your question with the new information and then tag the person who asked for that information in the comments. like I have tagged you in this comment. The comments are mainly for us to ask for clarification and new information. As the person asking the question, you should always update the question. – user68186 Jun 02 '22 at 16:38

0 Answers0