You are not logged in.

#1 2016-03-28 17:30:53

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

[Solved] Starting X Server Over SSH

Hey Guys,

I'm trying to start an X server over SSH but it's giving me issues because I'm not logged in via a TTY (it's a VM). I have plex media server running on my NAS and I accidentally rebooted it before I went down to my parents house for the week (150 miles away). PMS itself is running successfully but for some reason my server isn't showing up, so I forwarded port 32400 in order to access the GUI remotely but it knows that I'm not inside my local network and won't give me the server settings page that I need to access. So I was going to install the X server on a VM that I was going to delete anyway since I don't really need a GUI on there (can't do X Forwarding since I'm on Windows and I'm not going to install an X server on Windows, if absolutely necessary I can install Linux in a VM and do X Forwarding that way) but it won't let me since it can't access /dev/tty0

/etc/X11/Xwrapper.config

allowed_users = anybody
needs_root_rights = auto
 [bran@usenet ~]$ startx


X.Org X Server 1.18.2
Release Date: 2016-03-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.5-1-ARCH x86_64
Current Operating System: Linux usenet.myhost.com 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=dc92fd75-a81a-4ca5-87e6-28e178ca73f7 rw quiet
Build Date: 25 March 2016  08:54:41AM

Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/bran/.local/share/xorg/Xorg.0.log", Time: Mon Mar 28 13:23:27 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/home/bran/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console

How can I get X to start so that I can VNC into the VM, run a web browser and get to the web gui so that it thinks I'm inside of my network?

Edit: I found a pretty awesome Windows program called MobaXterm which rolls SSH/MOSH/Telnet/VNC/RDP/Xserver all in to one app, and I ran Firefox remotely and plex still isn't showing me the server page. So I posted over there since this is clearly a Plex issue.

Last edited by brando56894 (2016-03-28 20:32:49)

Offline

Board footer

Powered by FluxBB