.xsession file to open chromium-browser only

My machine is an Ubuntu 16.04 Server running on a thin client. These machines are meant to act as an rdp connection to servers where employees will do other work

What is the format of an .xsession file? I would like to create one and place inside directory /home/user

This file should launch chromium-browser after startx is executed.

How do I go about this?

1 Answer

The .xsession file is a simple shell-script.
.xinitrc:

#!/bin/sh
/usr/bin/chromium-browser

May be, you needs special arguments (fullscreen mode, url to open etc.)

See man chromium-browser.
There will be no window-decorations, because no window-manager is running.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like