May 17 09:45:47 OptiPlex-380 systemd: failed.Īny hints? I’ve checked the forums I could find, with no clue. May 17 09:45:47 OptiPlex-380 systemd: Unit entered failed state. May 17 09:45:47 OptiPlex-380 systemd: Failed to start Remote desktop service (VNC). May 17 09:45:47 OptiPlex-380 systemd: control process exited, code=exited status=2 May 17 09:45:47 OptiPlex-380 systemd: Starting Remote desktop service (VNC)… Process: 1232 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS) Process: 1238 ExecStart=/usr/sbin/runuser -l david -c /usr/bin/vncserver %i (code=exited, status=2) Loaded: loaded disabled vendor preset: disabled)Īctive: failed (Result: exit-code) since Tue 09:45:47 AEST 44s ago See “systemctl status and “journalctl -xe” for ~]# systemctl status – Remote desktop service (VNC) I did everything Exactly by the book, and ended ~]# systemctl ~]# systemctl start for failed because the control process exited with error code. ~]# systemctl ~]# systemctl start ~]# systemctl enable -s ~]# Step:6 Access Remote Desktop Session.įrom Ubuntu Machine vncviewer 192.168.1.15:3Įnter the VNC password that we have set in above step, after validating the authentication Remote Desktop session will start.Įnter the VNC Server IP Address and Port Number and then Click on OKĮnter the VNC Password & then click on OK.ĭesktop Session Will start after authentication. Start and Enable the VNC Service at boot.Įxecute below commands as root only. Switch to the user (linuxtechi) and run vncserver command to set the password as shown below : ~]# firewall-cmd -permanent -zone=public ~]# firewall-cmd ~]# Step:5 Set the VNC password for the User. Set the Firewall Rule if firewall is enabled on your linux box. In my case linuxtechi user will able to control and manage its desktop session using remote VNC clients. So while Connecting to the VNC server We can specify port number as or ~]# cp /lib/systemd/system/ Step:4 Update the User’s Information in the Config ~]# vi the “linuxtechi” user as per your requirement. In my case i am using port 3, it means VNC will listen on “5903”. ~]# yum install tigervnc-server xorg-x11-fonts-Type1 Step:3 Setup VNC Server Configuration File.Ĭopy the VNC config file “/lib/systemd/system/ ” to the Copying the VNC config file we can mention the port number on which we want VNC service to be listen. Enter your Secret Sauce Password, and hit ENTER, your GUI of choice *should* now come up.~]# yum groupinstall "GNOME Desktop" Step:2 Install Tigervnc and other dependency Package. Having done that Select your USER (in the event you have more than one). When you click on it Lo-and-Behold there should be a listing of ALL your installed Desktop Environments. One looks like a page (?) with some text (?) on it though the thing is so small it really is hard to tell exactly what it is. A quick exploration of each symbol showes what each does. You will have a white bar alone the top that looks very "GNOME-like" with some very small symbols. Click on the tiny gear It should give you two or three GUIs You will now for sure have both desktop environments installed.Īssuming you have GDM installed (The GNOME Display Manager) you may have one of two looks come up: Just BEFORE you log in there should be a tiny gear next to the square that says "Sign In". Let's start with the basics: What GUI did you choose to install - KDE, or GNOME? Run yum grouplist, and then, just for fun, run both yum groupinstall "KDE Plasma Workspaces" and then run yum groupinstall "GNOME Desktop". I've tried, as root, to run "yum groupinstall "X Window system" as well as "startx" from the console. I'm running a home-built desktop with 9 other Linux distros installed. After a recent a recent installation of CentOS 7-1804 I find that I'm not able to boot to GUI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |