Commands in this file are executed automatically whenever you start or restart the VNC server. You need VNC to start your desktop environment if it’s not already started. Add the following commands to the file: ~/.vnc/xstartup #!/bin/bash xrdb $HOME/.Xresources startxfce4 & Here is a ...
startxfce4 &: This line starts the XFCE desktop environment. You can substitute this line withstartkdeorstartgnomeif you are usingKDEorGNOMEdesktop environments, respectively. The&symbol at the end tells the command to run in the background #!/bin/bashxrdb$HOME/.Xresources startxfce4& Your f...
First step, install Xfce: yum install -y epel-release && yum groupinstall Xfce Then set the following in node.cfg: DefaultDesktopCommand "/usr/bin/startxfce4" 2.1. How to find which desktop environments are already installed To find the desktop environments installed on your system: ...
like terminal colors, cursor themes, and font rendering. The second command tells the server to launch Xfce. Whenever you start or restart the VNC server, these commands
/usr/bin/startxfce4 [-x /etc/vnc/xstartup]&&exec /etc/vnc/xstartup [-r $HOME/.Xresources]&&xrdb $HOME/.Xresources x-window-manager & Save the file (Ctrl + O, thenEnter) andExit(Ctrl + X). Lastly, we need to make this file executable. Run the command below: ...
startxfce4 & Save the configuration file and start the VNC Server: vncserver :1 -geometry 1366x768 -depth 24 The remote session will use the 1366x768 resolution, and the desktop ID is 1. The user needs a VNC Viewer to connect to Ubuntu from their local computer. Ubuntu users can use ...
Return to the developer shell interface by using theCtrl+Alt+Tkeyboard shortcut. Typeshellat thecroshprompt and pressEnter. Typesudo startxfce4,then pressEnter. Enter your encryption password and passphrase if prompted. The version of Ubuntu that you installed doesn't come with much pre-installe...
Make sure the ':1' number matches the screen number you used in step 4. Step #6:Configure your VNC startup file to load your desktop environment. Edit the file ~/.vnc/xstartup to look like this: #!/bin/bash startxfce4 & If you installed a different desktop environment than XFCE, re...
chroot, just log out (using the "log out" option) of the Xfce desktop (or the Unity desktop, if you’re using that)--don't use the "shut down" command, as that will actually power the Chromebook down. You’ll then need to run thesudo startxfce4command above to enter the chroot ...
Next step is to open the “xstartup” file using the nano text editor. $ nano ~/.vnc/xstartup In nano, the following lines are to be added: #!/bin/bash xrdb $HOME/.Xresources startxfce4 & Secure your changes by saving and closing the file. ...