Re: open port

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

 



> 
> On Sun, 16 Feb 2020 17:30:08 +0100 "Patrick Dupre" wrote:
> >>> I suspect that you have specified the 3022 port fo connect to euripide
> >>> in your ~/.ssh/config file.
> 
> >> We should focus on runing vncviewer from the client machine to
> >> euripide (running vncserver vith vncserver@:1.service)
> 
> > Of course, I opened port 1 on euripide and port 9 on the other one
> > (no name, it is why I use the ip address)
> 
> Ok.
> 
> >> No answer to that point :-(
> > yes, because I do not have a ssh/config file
> 
> I don't understand thus where this 3022 port came from.
/etc/services ?
csregagent      3022/tcp                # CSREGAGENT

> 
> >>> The port 9 is that that I use for remmina
> 
> >> Does this means that you change the way of starting vncserver and that
> >> you start it now with:
> 
> >>   systemctl start vncserver@:9.service
> 
> > No,
> 
> No on euridice, but vncserver@:9.service on the other one right?
> 
> > Here, I do not understand. This is what I get on both machines
> 
> > systemctl start vncserver@:1.service
> > ==== AUTHENTICATION COMPLETE ====
> 
> Weird message: AUTHENTICATION COMPLETE 
> 
> > systemctl status vncserver@:1.service
> > ● vncserver@:1.service - Remote desktop service (VNC)
> >    Loaded: loaded (/etc/systemd/system/vncserver@.service; disabled; vendor preset: disabl>
> >    Active: failed (Result: exit-code) since Sun 2020-02-16 17:18:39 CET; 3min 27s ago
> >   Process: 11175 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill :1 > /dev/null 2>&1 || :>
> >   Process: 11177 ExecStart=/usr/bin/vncserver_wrapper pdupre :1 (code=exited, status=2)
> >  Main PID: 11177 (code=exited, status=2)
> 
> > Feb 16 17:18:39 euripide systemd[1]: Starting Remote desktop service (VNC)...
> > Feb 16 17:18:39 euripide systemd[1]: Started Remote desktop service (VNC).
> > Feb 16 17:18:39 euripide vncserver_wrapper[11177]: A VNC server is already running as :1
> > Feb 16 17:18:39 euripide vncserver_wrapper[11177]: FATAL: 'runuser -l pdupre' failed!
> > Feb 16 17:18:39 euripide systemd[1]: vncserver@:1.service: Main process exited, code=exite>
> > Feb 16 17:18:39 euripide systemd[1]: vncserver@:1.service: Failed with result 'exit-code'.
> 
> On euridice, can you identify the process running on port 5901?
> 
>   lsof -i tcp:5901
lsof -i tcp:5901
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
Xvnc    10283 pdupre    6u  IPv4 203381      0t0  TCP *:5901 (LISTEN)
Xvnc    10283 pdupre    7u  IPv6 203382      0t0  TCP *:5901 (LISTEN)



> >>> the ~/.vnc/xstartup file is the same on both machine
> 
> >> What do you start in it?
> 
> > I check because on one of the machine, remmina gives me a blue
> > screen only, while the other one provides me the expected screen
> > (gnome).
> 
> I have seen failures to spawn two cinnamon sessions at the same time
> (for the same user): a native one and a VNC one. This is perhaps the
> same with gnome. To investigate after having fixed the failure of
> vncserver@:1.service on euridice.
This I have no idea
On euripide:
systemctl status vncserver@:1.service
● vncserver@:1.service - Remote desktop service (VNC)
   Loaded: loaded (/etc/systemd/system/vncserver@.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2020-02-16 17:24:17 CET; 1h 57min ago
  Process: 11248 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill :1 > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
  Process: 11250 ExecStart=/usr/bin/vncserver_wrapper pdupre :1 (code=exited, status=2)
 Main PID: 11250 (code=exited, status=2)

Feb 16 17:24:17 euripide systemd[1]: Starting Remote desktop service (VNC)...
Feb 16 17:24:17 euripide systemd[1]: Started Remote desktop service (VNC).
Feb 16 17:24:17 euripide vncserver_wrapper[11250]: A VNC server is already running as :1
Feb 16 17:24:17 euripide vncserver_wrapper[11250]: FATAL: 'runuser -l pdupre' failed!
Feb 16 17:24:17 euripide systemd[1]: vncserver@:1.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Feb 16 17:24:17 euripide systemd[1]: vncserver@:1.service: Failed with result 'exit-code'.


on the other one:
 systemctl status vncserver@:9.service
● vncserver@:9.service - Remote desktop service (VNC)
   Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; disabled; vendor preset: disabled)
   Active: inactive (dead)


> 
> In addition, what is your remmina setup? Not using SSH I guess.

I always run remmina in
VNC viewer mode, in ssh tunnel

> 
> -- 
> francis
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux