Opened 11 years ago
Last modified 3 days ago
#10642 assigned bug
Can't start BApplications with user that has no graphical session
Reported by: | pulkomandy | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1.1 |
Component: | Servers/app_server | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
- Create an additional user for ssh access
- Ssh to your haiku computer, and try to run a BApplication
- The application silently stops.
Syslog has this message:
DAEMON 'app_server': Cannot initialize Desktop object: General system error KERN: Could not initialize graphics output. Exiting.
This happens with vim, unzip, and DumpRenderTree. It's either because of using ssh, or because the new user doesn't have the right permissions. At least a warning to standard output, instead of the syuslog, would be nice. A fix to make this working would be even better.
This is useful for BApplications that can run in command line without GUI.
Change History (8)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Component: | - General → Servers/app_server |
---|---|
Owner: | changed from | to
Summary: | Can't start BApplications through ssh / with other user → Can't start BApplications with other user |
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
comment:6 by , 4 days ago
I successfully managed to run applications from different users if separate display is specified such as remote desktop port. So I think that ticket can be closed.
Ability to switch screen between different user sessions is a separate issue deserving own ticket.
comment:7 by , 4 days ago
Description: | modified (diff) |
---|---|
Summary: | Can't start BApplications with other user → Can't start BApplications with user that has no graphical session |
The title is a bit confusing, but the problem here is (or was) running BApplication on a non-graphical session. BApplication may be used for applications without windows, but that doesn't work in this situation.
I will rename the ticket to make this clear.
comment:8 by , 3 days ago
but the problem here is (or was) running BApplication on a non-graphical session.
It is already possible if not connect to app_server in libbe.so, by using BServer class for example.
Confirmed the problem is being logged in as another user, so probably the permissions aren't right somewhere? Logging in with "user" through ssh gets this to work.