RoboLab VLAB server: Difference between revisions

From techdocs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Starting from a Desktop install of Ubuntu 20.04:
Starting from a Desktop install of Ubuntu 20.04:


apt-get install xdm
== Setup XDM as the display manager (the program that displays the login screen) ==
configure XDM to start as default


www.tigervnc.org
apt-get install xdm
Download tigervnc-1.13.1.x86_64.tar.gz
Utar /usr/local
Create symlink to "tigervnc"


/etc/X11/xdm/Xservers
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)
Comment out line for display ":0..."


systemctl set-default graphical
Edit <code>/etc/X11/xdm/Xservers</code>:
systemctl set-default multi-user
Comment out the line for display ":0..."
 
== Install TigerVNC server ==
 
# Go to [https://www.tigervnc.org www.tigervnc.org] navigate to the download pages
# Download <code>tigervnc-1.13.1.x86_64.tar.gz</code>
# Untar into <code>/usr/local</code>
# Create symlink to <code>tigervnc</code>
 
== Install xvncrunner ==
 
<code>xvncrunner</code> 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
apt-get install tcl tcl-thread


Copy from New World:
Copy from New World:
/etc/systemd/system/xvncrunner.service
* <code>/etc/systemd/system/xvncrunner.service</code>
/usr/local/infrastructure/vlab/xvncrunner(|.sh)
* <code>/usr/local/infrastructure/vlab/xvncrunner(|.sh)</code>
 
systemctl daemon-reload
systemctl daemon-reload
systemctl enable xvncrunner
systemctl enable xvncrunner
systemctl start xvncrunner
systemctl start xvncrunner


/etc/X11/xdm/xdm-config:
<code>/etc/X11/xdm/xdm-config</code:
Comment out: "DisplayManager.requestPort: 0"
Comment out: "DisplayManager.requestPort: 0"


/etc/X11/xdm/Xaccess:
<code>/etc/X11/xdm/Xaccess</code>:
Allow all hosts (Uncomment-out appropriate line)
Allow all hosts (Uncomment-out appropriate line)


Install xfce4
== Install xfce4 ==
 
apt-get install xfce4
 
Set up a user <code>.xsession</code> file to start <code>xfce4-session</code> (chmod 755)
 
== Notes ==


Setup user .xsession file to start xfce4-session (chmod 755)
* <code>systemctl set-default graphical</code>
* <code>systemctl set-default multi-user</code>

Revision as of 16:38, 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..."

Install TigerVNC server

  1. Go to www.tigervnc.org navigate to the download pages
  2. Download tigervnc-1.13.1.x86_64.tar.gz
  3. Untar into /usr/local
  4. 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

/etc/X11/xdm/xdm-config</code: Comment out: "DisplayManager.requestPort: 0"

/etc/X11/xdm/Xaccess: Allow all hosts (Uncomment-out appropriate line)

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