Re: CentOS 8 vncserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Nov 12, 2020 at 09:12:42AM -0500, Jerry Geis wrote:
>
> I am trying to get vncserver working on CentOS 8. Fully updated.
> 
> On the console - logged in as a normal user I run:
> export DISPLAY=:0.0
> xhost +
> /usr/bin/x0vncserver -display :0 -rfbport 5901 -passwordfile
> /home/silentm/.vnc/passwd
> 
> I get this error:
> Invalid MIT-MAGIC-COOKIE-1 key/usr/bin/x0vncserver: unable to open display
> ":0"
> 
> Based on the error I changed the DISPLAY=:0 and tried again - but same
> error.
> 
> Am I doing something wrong?   I dont really need this to start as a service
> was just trying to start by hand.

Is there an X11 server running, listening on display :0.0?  It sounds
like you said you logged in on the console, that sounds like you
aren't running X yet, but are at the text console.

If you want to run vncserver, I suggest using the xvnc@.service
included in the package:

https://git.centos.org/rpms/tigervnc/blob/c8/f/SOURCES/xvnc.service

There are instructions in the comments.

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux