- Plex On Ubuntu Server
- Ubuntu Server 16.04
- Ubuntu Server Install Error
- Install Xmonad On Ubuntu Server Backup Entire System
How to mount USB pen drive in Ubuntu Terminal. How to unmount USB pen drive in Ubuntu Terminal. Tutorial on how to manually mount and unmount USB pendrive using Ubuntu Terminal in Ubuntu 14.10, Ubuntu 14.04 and Linux Mint systems.
How to Install Ubuntu Server. This wikiHow teaches you how to install Ubuntu Server on a Windows computer. Ubuntu Server is a free, Linux-based server operating system that you can use to host your web services. Open the Ubuntu Server. Install Xmonad On Ubuntu Server Requirements For 2015. Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing. Search the DistroWatch database for distributions using a particular package. Install XFCE desktop including all dependencies using the apt command below. Sudo apt install xfce4 xfce4-goodies. If the XFCE desktop installation is complete, install the ‘tightvncserver’ packages. Run the apt command below. Sudo apt install -y tightvncserver. The XFCE Desktop and tightvncserver have been installed on the Ubuntu 16.04 server. Jun 21, 2012 Most sites recommend installing the ubuntu-desktop. Unfortunately, that defeats the purpose of having installed Ubuntu Server 12.04 in the first place – you may as well have installed Ubuntu 12.04 Desktop to begin with. The Contenders. GUI options can be divided into three groups: light weight, medium weight, and heavy weight. First, you’ll need to create a bootable USB stick for your Ubuntu install. The tool I used, and one I strongly recommend, is Mac Linux USB Loader. It automatically creates a UEFI and Mac.
Mount USB Pen Drive in Ubuntu Terminal
Let us learn how to manually mount a USB Pen Drive in Ubuntu Terminal. When a USB Pen Drive is plugged into the Ubuntu system, it mount automatically in the /media/ directory. Om 3d video songs free download. If the volumes have labels the USB Pend Drive icons will be named accordingly, otherwise they will be named “disk” or “disk-1” and so on.
Check whether USB Pen Drive is mounted or not
Sometimes USB Pen Drive don’t automount, in such case you can manually mount it. To do this, you must know what device you are trying to manually mount and what filesystem it is formatted with. You can use fdisk command to check whether USB Pen Drive has been mounted or not.
sudo fdisk -l
The fdisk command displays other additional information about the storage devices. Find your device in the list, it is something like /dev/sdb1.
Create the Mount Point
Now create a mount point for the device, let’s say we want to call it “USB”. Name whatever you want, but don’t use spaces in the name. Use an underscore to separate words. Create the mount point using the command below:
sudo mkdir /media/USB
Mount USB pen drive
Now mount the drive. Let’s say the device is /dev/sdb1, the filesystem is FAT16 or FAT32 (like it is for most USB flash drives), and we want to mount it at /media/USB (already created the mount point):
The options following the “-o” allow your user to have ownership of the drive, and the masks allow for extra security for file system permissions. If you don’t use those extra options you may not be able to read and write the drive with your regular username.
sudo mount -t vfat /dev/sdb1 /media/USB -o uid=1000,gid=1000,utf8,dmask=027,fmask=137
The options following the “-o” allow your user to have ownership of the drive, and the masks allow for extra security for file system permissions. If you don’t use those extra options you may not be able to read and write the drive with your regular username.
Otherwise if the device is formatted with NTFS, run:
sudo mount -t ntfs-3g /dev/sdb1 /media/external
Un-Mount USB Pen Drive in Ubuntu Terminal
To unmount the USB Pen Drive, run the following command. I assume that the /dev/sdb1 is mounted at /media/USB, you can either unmount using the device or the already created mount point:
or:
Please note that you cannot unmount from the desktop, by right clicking the icon if the drive are manually mounted.
sudo umount /dev/sdb1
or:
sudo umount /media/USB
Please note that you cannot unmount from the desktop, by right clicking the icon if the drive are manually mounted.
Needs Updating This article needs updating to include the latest versions of Ubuntu. More info.. |
Contents
|
Synergy is a program that will let you use one keyboard and mouse on multiple computers across a network. The computers can be running Linux, Windows, or OS X. The computer with the keyboard and mouse is the server or host, and the computers with the displays to be controlled remotely are the clients. This HOWTO lets you know how to get Synergy set up and running on your Ubuntu system.
Warning! Synergy is not very secure at all! Consider - you are setting up something to allow an entirely different computer control the keyboard and mouse on your own computer! Don't try and use this anywhere unsecure! There is a way of making it more secure by running it over OpenSSH, but that is currently beyond the scope of this article. More documentation is available on the Synergy website.
NOTE: The more current release versions of Synergy include the server, client, and a GUI in one package. Additionally, the newer versions have added encryption. Most of this guide is dated if you are using the newer versions from the Synergy website mentioned above.
Quickstart Guide
There are three ways of using Synergy. The first two are provided by the synergy package, while the third is provided by a third-party application called QuickSynergy.
If you choose to use only the first-party methods, you can install synergy from the software center or their website.
On the Server
Follow one of these section steps on the computer with the keyboard and mouse. If you don't know the hostname of the server, run the hostname command from a Terminal window.
Using Synergy GUI
- Install Synergy and open it Traktor scratch pro torrent mac os x.
- Select the 'server' option
- On the main window, make sure 'Configure Interactively' is selected and click on 'Configure Server'
- In the 'Screens and links' tab drag screens to represent your setup. Press 'OK'
- Click 'Start'
Using QuickSynergy
- Install QuickSynergy and open it (under Applications > Accessories)
- Under the 'Share' tab enter the hostname or IP address of the Client machines in one of the directional boxes. The directional box you choose will determine which edge of the Host computer's screen the mouse will 'run off'.
- Click Execute
- Move the mouse to the edge of the Host screen -- it should now appear on the client screen.
On the Client(s)
Follow these steps on the computer you would like to control with a remote keyboard and mouse.
Using Synergy GUI
- Install Synergy and open it
- Select the 'client' option
- In the main window, type the IP address of the Host machine in the IP field, or use the hostname found above with .local added to the end
- Click 'Start'
Using QuickSynergy
- Install QuickSynergy and open it (under Applications > Accessories)
- Under the 'Use' tab, type the IP address of the Host machine in the IP field, or use the hostname found above with .local added to the end. Type in the hostname of the Client machine in the Screen field.
- Click Execute
Manual Configuration
The following steps assume you are setting up synergy on a host computer named myserver and a client computer named myclient.
On the Server
Synergy configuration can go in your home folder called .synergy.conf or in /etc/synergy.conf. It is up to you whether you would like the changes to be per-user or system-wide.
Here is a sample configuration that will be the needs of 95% of users:
myserver is the hostname of the computer running synergys (providing the keyboard and mouse) myclient is the hostname of the computer running synergyc (using the keyboard and mouse provided by myserver) section: screens is where you set the host names of the computers going to be used. section: links is what side the mouse will leave the screen of one computer to reach the desktop of the other. myserver is set to the left of myclient, so when I drag the mouse off the right hand side of myserver's screen it appears on the left hand side myclient's screen. Use up/down instead of left/right to establish and over/under sort of relationship.
Running Synergy
From the server, run the command:
From the client, run the command:
Replacing <SERVER HOSTNAME> with either the hostname (myserver) or IP address of myserver.
You should now be able to move your mouse pointer off the right edge of your server's screen and see it show up at the left side of your client's screen. See the steps in the next section to make synergy start automatically on the host and client computers.
If you have any problems at this point it is helpful to run synergys and synergyc in the foreground with the -f option. This allows you to see error/status information that synergy prints to the terminal.
Autostart Synergy after logging in (GNOME)
On the Server
Follow these steps to start synergys when you log into GNOME.
Go to System Menu > Preferences > Startup Applications. Click 'Add' and enter
synergys
If you want to use the configuration set up with QuickSynergy use this instead:
synergys -c ~/.quicksynergy/synergy.conf
Click OK and Close.
On the Client
Follow these steps to start synergyc when you log into GNOME.
Go to System Menu > Preferences > Startup Applications. Click 'Add' and enter
synergyc <SERVER HOSTNAME>
Replacing <SERVER HOSTNAME> with either the hostname or IP address of myserver.
Click OK and Close.
Autostart Synergy before logging in (GDM)
Note: Autostarting Synergy before logging in requires that your network connection be available at all times and not just after you log in. This is accomplished by enabling the network connection for all users. To do this, choose System->Preference->Network Connections. Choose the network name and select Edit. Select 'Available to all users', and then click 'Apply'. This connection will now be available at all times, including at the GDM login screen.
To make sure synergy is running at all times, the following has to happen: First, synergy is started when the GDM login screen starts. Then, synergy is killed and restarted when a user logs in. When the user logs out, synergy is killed and GDM starts it again. To edit system configuration files in the following sections open a text editor as the root user:
On the Server
At the end of the file /etc/gdm/Init/Default, just before the line that says exit 0 add the following:
Add the following to the end of /etc/gdm/PostLogin/Default (create this file file if it does not already exist):
If you created the file, make sure it is executable with this command:
Now, create a session file /etc/X11/Xsession.d/85synergys with the following contents
Lastly, we must make the file executable with this command:
On the Client
At the end of /etc/gdm/Init/Default, just before the line that says exit 0 add the following:
Be sure to replace <SERVER HOSTNAME> with the host name or IP address of the computer running synergys.
NOTE: If your system has been configured to login automatically, this step may cause ubuntu to hang right before going to the desktop. If this is the case, remove these lines from /etc/gdm/Init/Default and everything should work properly. If your system is hanging at this stage, you can hit CTRL-ALT-F1 to login through command line and edit this file.(Tested on 10.04LTS Lucid Lynx)
Add the following to the end of /etc/gdm/PostLogin/Default (create this file file if it does not already exist):
If you created the file, make sure it is executable with this command:
Now, create a session file /etc/X11/Xsession.d/85synergyc with the following contents
This will run synergyc when any user logs in. Be sure to replace <SERVER HOSTNAME> with the host name or IP address of the computer running synergys. Lastly, we must make the file executable with this command:
Autostart Synergy before logging in (KDM)
On the Client
Follow these steps to start the synergyc client when the KDM login screen launches.
Add the following to the end of /etc/kde3/kdm/Xsetup:
Be sure to replace <SERVER HOSTNAME> with the host name or IP address of the computer running synergys.
For the client file we must also edit the Xstartup script to kill our synergyc process running as root before the user Xsession scripts run. To do this add the following to the end of /etc/kde3/kdm/Xstartup and it should look like this:
Autostart Synergy before logging in (LightDM)
On the client
Add the following line at the end of /etc/lightdm/lightdm.conf:
Plex On Ubuntu Server
Where <SERVER HOSTNAME> is the name/IP of the server you are connecting to.
On the server
Add the following line at the end of /etc/lightdm/lightdm.conf:
Where <CONFIG FILE> is the path to your config file for synergy (see above for typical locations).
Ubuntu Server 16.04
On the Ubuntu 14.04 64bit the configuration file changed to /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf, and you need add this line at the end of the file:
On the Ubuntu 14.10 64bit add the line above to /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf.
See Also
Ubuntu Server Install Error
Synergy HomepageQuickSynergy Homepage
Install Xmonad On Ubuntu Server Backup Entire System
CategoryInstallation