Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[systemd vino-server]Error Cannot Display
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 281

PostPosted: Wed Dec 25, 2019 9:12 am    Post subject: [systemd vino-server]Error Cannot Display Reply with quote

Hi everyone

i tried to create my service for vino-server but every time it starts i have this
Code:

● vino-server.service - description about the service
   Loaded: loaded (/etc/systemd/system/vino-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-12-25 10:05:49 CET; 8s ago
  Process: 2754 ExecStart=/usr/libexec/vino-server (code=exited, status=1/FAILURE)
 Main PID: 2754 (code=exited, status=1/FAILURE)

déc. 25 10:05:49 wolftop systemd[1]: Started description about the service.
déc. 25 10:05:49 wolftop vino-server[2754]: Cannot open display:
déc. 25 10:05:49 wolftop vino-server[2754]: Run 'vino-server --help' to see a full list of available command line options
déc. 25 10:05:49 wolftop systemd[1]: vino-server.service: Main process exited, code=exited, status=1/FAILURE
déc. 25 10:05:49 wolftop systemd[1]: vino-server.service: Failed with result 'exit-code'.


here is the description of my service vino-server
Code:

[Unit]
Description = description about the service
After = network.target
[Service]
ExecStart = /usr/libexec/vino-server
[Install]
WantedBy = multi-user.target graphical-session.target


thanks for you helps and ideas.
ade05fr
_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15283

PostPosted: Thu Dec 26, 2019 1:01 am    Post subject: Reply with quote

According to that output, it does not guess a display, and none was provided. Choose on what display you want to run it, then specify that display as part of the startup parameters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum