RoboLab VLAB server: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
When prompted as by <code>apt-get</code>'s post-install, configure XDM to start as default (instead of <code>lightdm</code>, or any other display managers) | When prompted as by <code>apt-get</code>'s post-install, configure XDM to start as default (instead of <code>lightdm</code>, or any other display managers) | ||
Edit <code>/etc/X11/xdm/Xservers</code>: | Edit <code>/etc/X11/xdm/Xservers</code>:<br>Comment out the line for display ":0..." | ||
Edit <code>/etc/X11/xdm/xdm-config</code:<br>Comment out: "DisplayManager.requestPort: 0" | |||
<code>/etc/X11/xdm/ | Edit <code>/etc/X11/xdm/Xaccess</code>:<br>Allow all hosts (Uncomment-out appropriate line) | ||
< | |||
== Install TigerVNC server == | == Install TigerVNC server == |
Revision as of 16:40, 26 Haziran 2023
Starting from a Desktop install of Ubuntu 20.04:
Setup XDM as the display manager (the program that displays the login screen)
apt-get install xdm
When prompted as by apt-get
's post-install, configure XDM to start as default (instead of lightdm
, or any other display managers)
Edit /etc/X11/xdm/Xservers
:
Comment out the line for display ":0..."
Edit /etc/X11/xdm/xdm-config</code:
Comment out: "DisplayManager.requestPort: 0"
Edit
/etc/X11/xdm/Xaccess
:
Allow all hosts (Uncomment-out appropriate line)
Install TigerVNC server
- Go to www.tigervnc.org navigate to the download pages
- Download
tigervnc-1.13.1.x86_64.tar.gz
- Untar into
/usr/local
- Create symlink to
tigervnc
Install xvncrunner
xvncrunner
is an eternal service, written in Tcl, which listens on the various 59XX TCP ports and launches TigerVNC server instances to suit incoming connections.
apt-get install tcl tcl-thread
Copy from New World:
/etc/systemd/system/xvncrunner.service
/usr/local/infrastructure/vlab/xvncrunner(|.sh)
systemctl daemon-reload
systemctl enable xvncrunner
systemctl start xvncrunner
Install xfce4
apt-get install xfce4
Set up a user .xsession
file to start xfce4-session
(chmod 755)
Notes
systemctl set-default graphical
systemctl set-default multi-user