[issa-standardpci440fxpiix1996 issa]# systemctl start vncserver@:1
Job for vncserver@:1.service failed because the control process exited with error code.
See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.
just installing is not enough - they need to be configured.
You want to access Manjaro from Windows?
Only in your local network or via internet?
You probably will need to set some port forwardings in your router if the machine needs to be accessible from the internet.
XRDP :
You have to add/uncomment EnableAUR in /etc/pamac.conf then you will be able to do pamac install xrdp as it is an AUR package.
then : Xrdp - ArchWiki
Create a password using vncpasswd which will store the hashed password in ~/.vnc/passwd.
[issa@issa-standardpci440fxpiix1996 ~]$ vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
Edit /etc/tigervnc/vncserver.users to define user mappings. Each user defined in this file will have a corresponding port on which its session will run. The number in the file corresponds to a TCP port. By default, :1 is TCP port 5901 (5900+1). If another parallel server is needed, a second instance can then run on the next highest, free port, i.e 5902 (5900+2).
[issa@issa-standardpci440fxpiix1996 ~]$ nano /etc/tigervnc/vncserver.users
so i add this :
# TigerVNC User assignment
#
# This file assigns users to specific VNC display numbers.
# The syntax is <display>=<username>. E.g.:
#
# :2=andrew
# :3=lisa
:1=issa
Create ~/.vnc/config and at a minimum, define the type of session desired with a line like session=foo where foo corresponds to which ever DE is to run. One can see which DEs are available on the system by seeing their corresponding .desktop files within /usr/share/xsessions/.
[issa@issa-standardpci440fxpiix1996 ~]$ nano ~/.vnc/config
i add this :
Startvncserver@.service and optionally enable it to run at boot time/shutdown. Note that the display number needs to be specified following the literal @ sign. For :1 it would look like this:
What is the output of systemctl status vncserver@:1 now ?
Are you able to ping and/or access to 192.168.50.25 computer via ssh ?
Is there a firewall on the computer ?
[issa@issa-standardpci440fxpiix1996 ~]$ tail -f ~/.vnc/issa-standardpci440fxpiix1996\:1.log
(xfwm4:64271): xfwm4-WARNING **: 20:14:10.019: Unsupported GL renderer (llvmpipe (LLVM 11.1.0, 128 bits)).
(xfwm4:64271): xfwm4-WARNING **: 20:14:10.144: Failed to connect to session manager: Impossible de se connecter au gestionnaire de session : IO error occured opening connection
xinit: connection to X server lost
waiting for X server to shut down
Wed May 5 20:14:10 2021
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
mai 04 21:59:41 issa-standardpci440fxpiix1996 systemd[1]: vncserver@:1.service: Succeeded.
mai 04 22:01:17 issa-standardpci440fxpiix1996 systemd[1]: Starting Remote desktop service (VNC)...
mai 04 22:01:17 issa-standardpci440fxpiix1996 systemd[1]: Started Remote desktop service (VNC).
mai 04 22:01:19 issa-standardpci440fxpiix1996 systemd[1]: vncserver@:1.service: Succeeded.
mai 05 19:58:39 issa-standardpci440fxpiix1996 systemd[1]: Starting Remote desktop service (VNC)...
mai 05 19:58:39 issa-standardpci440fxpiix1996 systemd[1]: Started Remote desktop service (VNC).
mai 05 19:58:41 issa-standardpci440fxpiix1996 systemd[1]: vncserver@:1.service: Succeeded.
mai 05 20:14:08 issa-standardpci440fxpiix1996 systemd[1]: Starting Remote desktop service (VNC)...
mai 05 20:14:08 issa-standardpci440fxpiix1996 systemd[1]: Started Remote desktop service (VNC).
mai 05 20:14:11 issa-standardpci440fxpiix1996 systemd[1]: vncserver@:1.service: Succeeded.
on my manjaro ip :
[issa@issa-standardpci440fxpiix1996 ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether a6:76:82:10:a5:85 brd ff:ff:ff:ff:ff:ff
altname enp0s18
inet 192.168.50.25/24 brd 192.168.50.255 scope global dynamic noprefixroute ens18
valid_lft 42086sec preferred_lft 42086sec
inet6 2a01:e0a:52d:e740:8e3d:4a33:e5ec:4e93/64 scope global dynamic noprefixroute
valid_lft 86339sec preferred_lft 86339sec
inet6 fe80::e778:60ed:bf75:9b27/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Iâm trying to get rdp and vnc working somewhat differently than the way described above, rather than a fixed user via .vnc/password arrangement, Iâm trying to use xdmcp. I have lightdm installed and the slick greeter, mainly I use this combo because it works on every other platform I have, all the redhat derived and all the debian derived. Manjaro is the one platform Iâm having problems with. What happens when I connect, is I get the greeter, I give it the login and password, and then it immediately disconnects. I canât find any fatal errors in logs. I am using tigervnc for the vnc and launching it out of xinetd, with the same arguments I use on other systems where it is working. With vnc it immediately disconnects after providing a valid username and password that I can login with via ssh. With rdp, I get the login prompt but after providing it, it just goes to a solid blue and sits there.
[20211123-23:27:44] [INFO ] Starting X server on display 11: /usr/lib/Xorg :11 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20211123-23:27:54] [WARN ] Timed out waiting for X server on display 11 to startup
[20211123-23:27:54] [WARN ] Timed out waiting for X server on display 11 to startup
[20211123-23:27:54] [INFO ] Session started successfully for user nanook on display 11
[20211123-23:27:54] [INFO ] Starting the xrdp channel server for display 11
[20211123-23:27:54] [ERROR] There is no X server active on display 11
[20211123-23:27:54] [ERROR] A fatal error has occured attempting to start the window manager on display 11, aborting connection
So it appears xrdp is not successfully starting an X-session.