Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse_vt_settings: Cannot open /dev/tty0 (Permission denied) #138

Open
tcz001 opened this issue May 16, 2018 · 0 comments
Open

parse_vt_settings: Cannot open /dev/tty0 (Permission denied) #138

tcz001 opened this issue May 16, 2018 · 0 comments

Comments

@tcz001
Copy link

tcz001 commented May 16, 2018

Hi, I'm testing the oz on a debian virtual machine running on parallels
the debian version as:
Linux debian-gnu-linux-vm 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
After installing all the packages needed for oz, I was able to run the oz-daemon, but when I start an application for example libreoffice here, the xpra-server shows an error about /dev/tty0

How can I get rid of this error?

2018/05/16
 16:06:12 [libreoffice] -------------------------------------------------------------------
2018/05/16 16:06:12 [libreoffice] Hostname set to (libreoffice.local)
2018/05/16 16:06:12 [libreoffice] dbus-uuid: 690e6d89eece41d062bf8e645afbe674
2018/05/16 16:06:12 [libreoffice] xpra work dir is /home/parallels/.Xoz/libreoffice
2018/05/16 16:06:12 [libreoffice] Starting xpra server
2018/05/16 16:06:12 [libreoffice] (xpra-server) I /usr/bin/xpra [/usr/bin/xpra --no-daemon --mmap --no-sharing --bell --system-tray --xsettings --cursors --encoding=rgb --clipboard --no-microphone --no-speaker --no-notifications --no-mdns --input-method=keep --bind=/home/parallels/.Xoz/libreoffice --socket-dir=/home/parallels/.Xoz/libreoffice start :0]
2018/05/16 16:06:12 [libreoffice] (xpra-server) Warning: invalid option: 'html'
2018/05/16 16:06:12 [libreoffice] (xpra-server) WARNING: low display number: 0
2018/05/16 16:06:12 [libreoffice] (xpra-server) You are attempting to run the xpra server against what seems to be a default X11 display ':0'.
2018/05/16 16:06:12 [libreoffice] (xpra-server) This is generally not what you want.
2018/05/16 16:06:12 [libreoffice] (xpra-server) You should probably use a higher display number just to avoid any confusion (and also this warning message).
2018/05/16 16:06:12 [libreoffice] (xpra-server) _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2018/05/16 16:06:12 [libreoffice] (xpra-server) X.Org X Server 1.19.2
2018/05/16 16:06:12 [libreoffice] (xpra-server) Release Date: 2017-03-02
2018/05/16 16:06:12 [libreoffice] (xpra-server) X Protocol Version 11, Revision 0
2018/05/16 16:06:12 [libreoffice] (xpra-server) Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
2018/05/16 16:06:12 [libreoffice] (xpra-server) Current Operating System: Linux libreoffice 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64
2018/05/16 16:06:12 [libreoffice] (xpra-server) Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-amd64 root=UUID=769728ac-2c37-435f-a688-152ebe3018b3 ro quiet
2018/05/16 16:06:12 [libreoffice] (xpra-server) Build Date: 07 July 2017  06:14:06AM
2018/05/16 16:06:12 [libreoffice] (xpra-server) xorg-server 2:1.19.2-1+deb9u1 (https://www.debian.org/support) 
2018/05/16 16:06:12 [libreoffice] (xpra-server) Current version of pixman: 0.34.0
2018/05/16 16:06:12 [libreoffice] (xpra-server) 	Before reporting problems, check http://wiki.x.org
2018/05/16 16:06:12 [libreoffice] (xpra-server) 	to make sure that you have the latest version.
2018/05/16 16:06:12 [libreoffice] (xpra-server) Markers: (--) probed, (**) from config file, (==) default setting,
2018/05/16 16:06:12 [libreoffice] (xpra-server) 	(++) from command line, (!!) notice, (II) informational,
2018/05/16 16:06:12 [libreoffice] (xpra-server) 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
2018/05/16 16:06:12 [libreoffice] (xpra-server) (++) Log file: "/home/parallels/.xpra/Xorg.:0.log", Time: Wed May 16 16:06:12 2018
2018/05/16 16:06:12 [libreoffice] (xpra-server) (++) Using config file: "/etc/xpra/xorg.conf"
2018/05/16 16:06:12 [libreoffice] (xpra-server) (==) Using system config directory "/usr/share/X11/xorg.conf.d"
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) 
2018/05/16 16:06:12 [libreoffice] (xpra-server) Fatal server error:
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) 
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) 
2018/05/16 16:06:12 [libreoffice] (xpra-server) Please consult the The X.Org Foundation support 
2018/05/16 16:06:12 [libreoffice] (xpra-server) 	 at http://wiki.x.org
2018/05/16 16:06:12 [libreoffice] (xpra-server)  for help. 
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) Please also check the log file at "/home/parallels/.xpra/Xorg.:0.log" for additional information.
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) 
2018/05/16 16:06:12 [libreoffice] (xpra-server) (EE) Server terminated with error (1). Closing log file.
2018/05/16 16:06:15 [libreoffice] (xpra-server) could not connect to X server on display ':0' after 3 seconds
2018/05/16 16:06:15 [libreoffice] Child process pid=10 exited from init with status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant